During installation the passbolt installation i get this message:
PHP Gnupg library is not installed
Please run ./app/Console/cake passbolt healthcheck for more information and help.
Installation failed.
Thank you, i managed to get rid of that error by having the directive in both files.
Now when i run the installation command again i get this error
No public key found at the given path /var/www/passbolt/app/Config/gpg//var/www/passbolt/app/Config/gpg/server_public_key.key
Please run ./app/Console/cake passbolt healthcheck for more information and help.
When i run the command this is what i get:
Environment
[PASS] PHP version 5.4.45-1~dotdeb+7.1
[PASS] PCRE compiled with unicode support
[PASS] The temporary directory and its content are writable
[PASS] The public image directory and its content are writable
Config files
[PASS] The core config file is present
[PASS] The database config file is present
[PASS] The email config file is present
[PASS] The application config file is present
Core config
[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Unique value set for security.cipherSeed
[PASS] Full base url is set to https://passbolt.codesconsult.com
[PASS] App.fullBaseUrl validation OK.
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
[HELP] Check that the domain name is correct in app/Config/core.php
[HELP] Check the network settings
SSL Certificate
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
Database
[PASS] Configured to use a supported database backend
[PASS] The application is able to connect to the database
[PASS] Not using a prefix for database tables
[FAIL] No table found
[HELP] Run the install script to install the database tables
[HELP] sudo su -s /bin/bash -c "/var/www/passbolt/app/Console/cake install" www-data
[FAIL] No default content found
[HELP] Run the install script to set the default content such as roles and permission types
[HELP] sudo su -s /bin/bash -c "/var/www/passbolt/app/Console/cake install" www-data
[FAIL] The database schema is not up to date.
[HELP] Run the migration scripts:
[HELP] sudo su -s /bin/bash -c "/var/www/passbolt/app/Console/cake Migrations.migration run all" www-data
[HELP] See. https://www.passbolt.com/help/tech/update
GPG Configuration
[PASS] PHP GPG Module is installed and loaded
[PASS] The server gpg key is not the default one
[PASS] The environment variable GNUPGHOME is set to /var/www/.gnupg
[PASS] The directory /var/www/.gnupg containing the keyring is writable by the user the webserver is running as.
[FAIL] The public key file is not defined in app/config.php or not readable.
[HELP] Ensure the public key file is defined by the variable GPG.serverKey.public in app/Config/app.php.
[HELP] Ensure the public key defined in app/Config/app.php exists and is accessible by the user the webserver is running as.
[HELP] See. https://www.passbolt.com/help/tech/install#toc_gpg
[FAIL] The public key file is not defined in app/config.php or not readable.
[HELP] Ensure the private key file is defined by the variable GPG.serverKey.private in app/Config/app.php.
[HELP] Ensure the private key defined in app/Config/app.php exists and is accessible by the user the webserver is running as.
[HELP] See. https://www.passbolt.com/help/tech/install#toc_gpg
[FAIL] The server key fingerprint doesn't match the one defined in app/config.php.
[HELP] Double check the key fingerprint, example:
[HELP] sudo su -s /bin/bash -c "gpg --list-keys --fingerprint --home /var/www/.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
[WARN] The server key defined in the app/Config.php is not in the keyring
[HELP] Import the private server key in the keyring of the user the webserver is running as.
[HELP] you can try:
[HELP] sudo su -s /bin/bash -c "gpg --home /var/www/.gnupg --import /var/www/passbolt/app/Config/gpg//var/www/passbolt/app/Config/gpg/server_private_key.key" www-data
[FAIL] The server key does not have a valid email id.
[HELP] Edit or generate another key with a valid email id.
Application configuration
[PASS] Using latest passbolt version (1.6.5)
[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.
Development Tools (optional)
[PASS] Phpunit is installed
[PASS] Phpunit version is 3.7.38
10 error(s) found. Hang in there!
There are mutiple errors as well as clear instructions on how to solve them, I suggest you try to do the help suggestion first and then open another ticket if you are stuck again.