In an attempt to move a Passbolt installation to a different server I performed these steps:
- Perform backup of database on old server using
cake passbolt mysql_export --file backup.sql
- Install passbolt on new server
- Import database using
mysql -u root -p passbolt < backup.sql(tried
cake passbolt mysql_importbut that didn’t seem to do anything)
- copy over
/usr/share/httpd/.gnupgdirectory from old to new server
- changed uid email of server-key on the new server to match the servername of the new server by adding a new uid to the key with correct email, trusting it ultimately and revoking the original uid.
- exported both public and private key to
healthcheck shows everything is ok
Now navigating to the new server, shows me that the firefox extension is using a different passbolt host and allows me to start the recovery procedure to assign the extension to the new server.
My userid is recognized which proves that it is found in the restored database and I can start the recovery procedure.
But when I try to import my private key, I get the error “This key doesn’t match any account”…
gpg --list-keys contains my public key and
gpg --armor --export of my public key on both the old and the new server are identical.
I also tried configuring the extension (using an unconfigured Chrome extension) on the original server and there my private key is accepted without problem, so there is nothing wrong with my private key either
What am I missing ? Why is my private key not accepted ?