www-data@2bab2c06e566:/usr/share/php/passbolt$ ./bin/cake migrations migrate
using migration paths
- /etc/passbolt/Migrations
using seed paths
using environment default
using adapter mysql
using database passbolt
ordering by creation time
All Done. Took 0.0092s
Dumps the current schema of the database to be used while baking a diff
using migration paths
- /etc/passbolt/Migrations
using seed paths
Writing dump file `/etc/passbolt/Migrations/schema-dump-default.lock`...
Warning Error: file_put_contents(/etc/passbolt/Migrations/schema-dump-default.lock): failed to open stream: Permission denied
In [/usr/share/php/passbolt/vendor/cakephp/migrations/src/Command/Phinx/Dump.php, line 109]
2022-11-11 15:25:04 warning: Warning (2): file_put_contents(/etc/passbolt/Migrations/schema-dump-default.lock): failed to open stream: Permission denied in [/usr/share/php/passbolt/vendor/cakephp/migrations/src/Command/Phinx/Dump.php, line 109]
An error occurred while writing dump file `/etc/passbolt/Migrations/schema-dump-default.lock`
Healthcheck output:
Healthcheck shell
-------------------------------------------------------------------------------
Environment
[PASS] PHP version 7.4.30.
[PASS] PCRE compiled with unicode support.
[PASS] The temporary directory and its content are writable and not executable.
[PASS] The logs directory and its content are writable.
[PASS] GD or Imagick extension is installed.
[PASS] Intl extension is installed.
[PASS] Mbstring extension is installed.
Config files
[PASS] The application config file is present
[WARN] The passbolt config file is missing in /etc/passbolt/
[HELP] Copy /etc/passbolt/passbolt.default.php to /etc/passbolt/passbolt.php
[HELP] The passbolt config file is not required if passbolt is configured with environment variables
Core config
[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://passbolt.huberfeichter.it
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.
SSL Certificate
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
[HELP] Check https://help.passbolt.com/faq/hosting/troubleshoot-ssl
[HELP] fopen(): Peer certificate CN=`www.passbolt.local' did not match expected CN=`passbolt.huberfeichter.it'
fopen(): Failed to enable crypto
fopen(https://passbolt.huberfeichter.it/healthcheck/status.json): failed to open stream: operation failed
Database
[PASS] The application is able to connect to the database
[PASS] 26 tables found
[PASS] Some default content is present
[PASS] The database schema up to date.
GPG Configuration
[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /var/lib/passbolt/.gnupg.
[PASS] The directory /var/lib/passbolt/.gnupg containing the keyring is writable by the webserver user.
[PASS] The server OpenPGP key is not the default one
[PASS] The public key file is defined in config/passbolt.php and readable.
[PASS] The private key file is defined in config/passbolt.php and readable.
[FAIL] The server key fingerprint doesn't match the one defined in config/passbolt.php.
[HELP] Double check the key fingerprint, example:
[HELP] sudo su -s /bin/bash -c "gpg --list-keys --fingerprint --home /var/lib/passbolt/.gnupg" www-data | grep -i -B 2 'SERVER_KEY_EMAIL'
[HELP] SERVER_KEY_EMAIL: The email you used when you generated the server key.
[HELP] See. https://www.passbolt.com/help/tech/install#toc_gpg
[FAIL] The server public key defined in the config/passbolt.php (or environment variables) is not in the keyring
[HELP] Import the private server key in the keyring of the webserver user.
[HELP] you can try:
[HELP] sudo su -s /bin/bash -c "gpg --home /var/lib/passbolt/.gnupg --import /etc/passbolt/gpg/serverkey_private.asc" www-data
[PASS] There is a valid email id defined for the server key.
Application configuration
[PASS] Using latest passbolt version (3.7.3).
[PASS] Passbolt is configured to force SSL use.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[PASS] Registration is closed, only administrators can add users.
[PASS] Serving the compiled version of the javascript app
[PASS] All email notifications will be sent.
JWT Authentication
[PASS] The JWT Authentication plugin is enabled
[PASS] The /etc/passbolt/jwt/ directory is not writable.
[PASS] A valid JWT key pair was found
[FAIL] 4 error(s) found. Hang in there!