I did a clean install of a new version of passbolt with data transfer from the old one. Installed according to the instructions
After installation, the server did not start. For a fraction of a second, a server error 500 appeared, and then just a white screen.
After running the passbolt test with the command sudo -H -u www-data /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck"
The following problems were found (screenshot below).
OS - Ubuntu 20.04
PHP - 7.4.3 (cli)
Web server - Nginx 1.14.0
Passbolt - latest
To get the correct fingerprint, you can extract your gpg server keys from the backup archive and execute this command to get the fingerprint:
gpg --show-keys serverkey.asc
It will display something like:
pub rsa2048 2022-01-20 [SC]
43F978AFF88B53F5ABBD12C87D5E40A4C43926ED
uid Passbolt default user <passbolt@yourdomain.com>
sub rsa2048 2022-01-20 [E]
Where 43F978AFF88B53F5ABBD12C87D5E40A4C43926ED is the fingerprint in the above output. You can then put your fingerprint in /etc/passbolt/passbolt.php file, in the fingerprint parameter.
After install new one version of passbolt and transfer all data from old one, passbolt is running. But after entering email I recieve endlessly loading. In console of Google Chrome I recieve an error POST https://url_of_my_server/users/recover.json?api-version=v2 500 (Internal Server Error) api-triage.js?v=3.5.0:2
2022-05-11 15:48:38 Error: [Cake\Database\Exception\DatabaseException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'passbolt.avatars' doesn't exist in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Schema/Collection.php on line 142
Caused by: [PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'passbolt.avatars' doesn't exist in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php on line 39
Request URL: /users/recover.json?api-version=v2
Referer URL: https://url_of_my_server/users/recover?locale=en-UK
Client IP: my_IP
And I have some another error
2022-05-11 13:46:56 Error: [Cake\Routing\Exception\MissingRouteException] A route matching "/" could not be found. in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php on line 199
Request URL: /
Client IP: IP
One more question. Where is the right place to move avatar files? I’m moving to a server with a version of Passbolt above 3.0 from version 2.8.3. In this version, the avatars are in files in the program folder, not in the database.