Enable Debug and location


trying to setup passbolt, enabled debug mode also but could not find any new files under logs folder. ony error.log and cli-error.log are there but does not seem to contain any debug info. where does one find the debug logs.?.

Attached healthcheck output

[PASS] PHP version 7.2.23-1+ubuntu16.04.1+deb.sury.org+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.

[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

[PASS] The passbolt config file is present

Core config

[FAIL] Debug mode is on.

[HELP] Set debug = false; in config/passbolt.php

[PASS] Cache is working.

[PASS] Unique value set for security.salt

[PASS] Full base url is set to http://passbolt.ixed.com:7080

[PASS] App.fullBaseUrl validation OK.

[PASS] /healthcheck/status is reachable.

SSL Certificate

[PASS] SSL peer certificate validates

[PASS] Hostname is matching in SSL certificate.

[PASS] Not using a self-signed certificate


[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/www/.gnupg.

[PASS] The directory /var/www/.gnupg containing the keyring is writable by the webserver user.

[PASS] The server gpg 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.

[PASS] The server key fingerprint matches the one defined in config/passbolt.php.

[PASS] The server public key defined in the config/passbolt.php (or environment variables) is in the keyring.

[PASS] There is a valid email id defined for the server key.

[PASS] The public key can be used to encrypt a message.

[FAIL] The private key cannot be used to sign a message

[HELP] Make sure that the server private key is valid and that there is no passphrase.

[HELP] Make sure you imported 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/www/.gnupg --import /var/www/passbolt/passbolt/config/gpg/serverkey_private.asc” www-data

[FAIL] The public and private keys cannot be used to encrypt and sign a message

[FAIL] The private key cannot be used to decrypt a message

[FAIL] The private key cannot be used to decrypt and verify a message

[FAIL] The public key cannot be used to verify a signature.

Application configuration

[PASS] Using latest passbolt version (2.11.0).

[PASS] Passbolt is configured to force SSL use.

[FAIL] App.fullBaseUrl is not set to HTTPS.

[HELP] Check App.fullBaseUrl url scheme in config/passbolt.php.

[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.

7 error(s) found. Hang in there!

Create cli-debug.log with web server rights and see if that helps.

Thank you. there is a file already in $PASSBOLT_HOME/logs/cli-error.log and is owned by www-data but dont see much debug info in the file.

Hi ksriramk,

You have already noted there are only two files. The suggestion is to create the missing cli-debug.log file. If you don’t know how to do that, you could use “touch cli-debug.log” while you are in the logs folder.

thanks a ton. I touched an empty file and changed ownership and then restarted Aapache too. i could not see the file being used.

dir as under $PASSBOLT_HOME/logs

drwxr-xr-x 14 www-data www-data 4096 Oct 9 12:10
-rw-rw-r-- 1 www-data www-data 19680 Oct 11 11:55 cli-error.log
-rw-rw-r-- 1 www-data www-data 0 Oct 14 16:07 cli-debug.log
drwxr-xrwx 2 www-data www-data 4096 Oct 14 16:11 .
-rw-r–r-- 1 www-data www-data 10205 Oct 14 17:02 error.log

any insights would be helpful

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.