Recover admin user after URL change (http to https)

I followed your guide here to install and it went fairly well.

However, now that I switched to https instead of http my plugin isn’t registered anymore.

I use a not so big email provider, and it seems when I configure smtp with my account name so that it can send on my behalf I get a SMTP Timeout according to the email that is sent to root as the result of the failed crontab.

So a few questions here:
How do I fix my smtp mail?
How to I recover (or delete and recreate my admin account)
Where do I go to see the email that it tries to send (I read something about a .preview but I couldn’t find anything like that).

Thanks in advance!

Hi @maul0r,

You will need to do a few things:

  • Change the fullbaseurl in the config so that it is set to https.
  • Got to https://yourdomain/recover to reset your plugin to use the new url

I do not understand your issue with SMTP and how it relates to the first problem.
If you have v2.0.0-RC2 you can recover an account that have never been registered, following the same procedure. If you use version 1 and never logged in you can just, delete the database, create a new one and reinstall passbolt. Or you can create new admin user using the command line.

Hi Thanks for the reply.

I am confused, I believe I run a version < 2.X, and the recovery requires email to be setup so that you can get a recorder link and repoint the plugin to the new URL. If I cant send emails, then I can’t perform a recovery.

I wanted to avoid a re installation but I guess that’s what I will have to do.

If I cant send emails, then I can’t perform a recovery.

Yes that’s correct, even in version 2. you need emails to work to use passbolt.

How do I fix my smtp mail?

In version 2 @kevin developed a command line tool to help debug emails. Most often it’s because the credentials are not valid or the given port / protocol chosen is not supported.

I wanted to avoid a re installation but I guess that’s what I will have to do.

If you go for a reinstall, I advise you to go with Passbolt v2.0.0-rc2 as it is quite stable. This will make your life easier and you won’t have to perform a major upgrade in the next few weeks. See. Passbolt Help | Release notes for more info.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.