Checklist
[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[ x] I provide relevant information about my server (component names and versions, etc.)
[ x] I provide a copy of my logs and healthcheck
[x ] I describe the steps I have taken to trouble shoot the problem
[x ] I describe the steps on how to reproduce the issue
Hello,
I’ve installed and run passbolt on docker - it was working as expected. After restarting the docker stack I get the error: “Could not verify the server key. The authentication failed.”
The installation was finished by creating intial user ‘passboltadm’.
After passbolt was up and running I registered another user ‘usr1’ that was added to the admin group too. Unfortunately I removed user ‘passboltadm’.
Passbolt was running after removal and I was able to store account data till docker restart.
After docker restart of the passbolt stack I get the error menitoned above.
I logged into the passbolt container.
pg --home $GNUPGHOME --list-keys
shows public keys of ‘passboltadm’ and ‘usr1’
gpg --home $GNUPGHOME --list-secret-keys
shows only private key of user ‘passboltadm’
Exporting PASSBOLT_GPG_SERVER_KEY_FINGERPRINT for ‘passboltd’ and running
./bin/cake passbolt healthcheck
works (successful, only mentioning that SSL use is not forced)
Exporting PASSBOLT_GPG_SERVER_KEY_FINGERPRIN for ‘usr1’ and running healthcheck fails with:
./bin/cake passbolt healthcheck
Could not use key A1A... for signing. get_key failed in /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php on line 240
Caused by: [Exception] get_key failed in /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php on line 236
Healthcheck
./bin/cake passbolt healthcheck
send a test email
./bin/cake passbolt send_test_email \
--recipient=youremail@domain.com
the datacheck
./bin/cake passbolt datacheck --hide-success-details
and database migrations status
./bin/cake migrations status
are fine (pass).
So I guess it was a bad idea to remove the user form the installation process …
How to recover without loosing stored account infos?
I’d like to mention that I did not specify the DATASOURCES_DEFAULT_ env variables in the docker-compose.yml. Instead I used passbolt’s install wizard.
After docker reboot and without the env-variables I got the error that passbolt wasn’t installed and than the internal error 500 after starting the installation wizard.
After adding the DATASOURCES_DEFAULT_ varaibles to docker-compose.yml I end up with the “Could not verify the server key” error … not sure if this info is relevant.
thank you in advance,
Oliver