Stuck after moving to a new laptop

Hey Guys.
I had my own custom installation of Passbolt.
It was working file from my browser and my phone exactly till the moment when I had to switch to the laptop. The browser extension no longer works.
When I open up the web interface it’s asking for entering the email - But nothing happens, I guess I put wrong SMTP settings when configured, but somehow it let me carry on. Now it does not.
So there is no admin panel.

What would be the steps to get control back: Do I need to go SQL DB and change smtp or there is some other way to recover?
Appreciate any help, thank you in advance!

Hey @ship_the_code welcome to the forum!

Easiest way to get around this will be to run the following command

  • sudo su -s /bin/bash -c “/usr/share/php/passbolt/bin/cake passbolt recover_user -c -u” www-data

This will output the recovery URL that you’d normally get via email

1 Like

I got this:
Error: Unknown short option c.

Could you post a screenshot of the command and error?

Also which distribution did you install on?

I am on ubuntu 22.04

Did you install the ubuntu package or a source code installation?

I followed this one

Alright, then could you try the healthcheck?
sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck" www-data

I did ‘apt upgrade’ which took passbolt version up to 4.2.
Then I could get recovery url by the instruction you sent earlier and it did work!
Thank you very much!!!