i´m trying to setup passbolt on my virtualized debian 10 envioronment. I used the installation script from github from the Debian 10 Installation Tutorial.
When i´m finished and try to run the installation wizard it stucks on step 7 with “Installing database” for hours.
su -c “/var/www/passbolt/bin/cake passbolt healthcheck” -s /bin/bash www-data
and it says:
Healthcheck shell…Exception: SQLSTATE[HY000]  Access denied for user ‘’@‘localhost’ (using password: NO) in [/var/www/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php, line 92]
so can anyone help me pls and tell me whats wrong? i use a password with only letters and numbers, no special characters
[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
It seems that you have an issue when connecting to the database. Maybe there is an ‘-’ in the database name or user, if password is fine. I’d say try again from scratch, it will be easier, than trying to fix it from there.
Hey remy, i retried today on a Hetzner V Server and it worked instant on the first try. So it seems theres something wrong with my machine. I’ll check the setup of my vserver and i’ll come back on you soon.
Hey remy, now i’m back with new information. I installed it again on my self hosted v server and it took 13 Minutes to do the Script. On Cloud V-Server it only took 1,5 minutes to be ready. The webinstallation ist now stuck on check status.
When i’m connecting on a new tab it says:
Nice one! The plugin is installed and configured. You are good to go!
Could not verify server key. There is no user associated with this key. User not found.
But i wasnt at the page to create a new user. so i cant recover the plugin/account.
Open source password manager for teams
[PASS] PHP version 7.3.14-1~deb10u1.
[PASS] PCRE compiled with unicode support.
[FAIL] The temporary directory and its content are not writable.
[HELP] Ensure the temporary directory and its content are writable by the webserver user.
[HELP] you can try:
[HELP] sudo chown -R www-data:www-data /var/www/passbolt/tmp/
[HELP] sudo chmod 775 $(find /var/www/passbolt/tmp/ -type d)
[HELP] sudo chmod 664 $(find /var/www/passbolt/tmp/ -type f)
[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.
[PASS] The application config file is present
[PASS] The passbolt config file is present
[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://pwm.japasp.de
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
[HELP] fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
fopen(): Failed to enable crypto
fopen(https://pwm.japasp.de/healthcheck/status.json): failed to open stream: operation failed
[PASS] The application is able to connect to the database
[PASS] 23 tables found
[PASS] Some default content is present
[PASS] The database schema up to date.
[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /home/www-data/.gnupg.
[PASS] The directory /home/www-data/.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.
[PASS] The private key can be used to sign a message.
[PASS] The public and private keys can be used to encrypt and sign a message.
[PASS] The private key can be used to decrypt a message.
[PASS] The private key can be used to decrypt and verify a message.
[PASS] The public key can be used to verify a signature.
[PASS] Using latest passbolt version (2.12.1).
[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] All email notifications will be sent.
3 error(s) found. Hang in there!
i’m back on you with a few more information. I changed the way i set up my vm’s and i got a slight increase in installation time, but its far away from hetzners v servers…
I tested around 9 installations this night, one time, the installation was successfull, but i cant figure out why. The time the installation was successfull, i used firefox and installed the plugin right before the installation.
i also tested this with chrome again - stuck on checking status. i tried it again with firefox (reinstalled plugin) - stuck at checking status. i cant figure out a pattern of what went wrong every time…