Cant run Passbolt

Checklist
[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[ ] I provide relevant information about my server (component names and versions, etc.)
[ ] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue

Healthcheck shell…Exception: data signing failed in [/var/www/html/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 304]

Hi @mykie_nesh

Could you follow the guidelines to provide more info published in this post which looks like similar to your problem.

Hi Diego,

Im running apache2

Hi again,

It is not a problem that you are using apache2. The amount of information requested in the post I mentioned comes from the passbolt logs, healthcheck cli command, etc.
With the information you provided is hard to help you in any way.

Hi Diego,

Im not able to login even after installing the plugin

my installation is as follows
OS: Ubuntu 18.04 desktop
Webserver: apache2
Database: maria db
Php: php 7.2
composer installed
ssl configured - self signed not commercial

Im not able to login even after installing the plugin on mozilla firefox

www-data@########:~/passbolt$ ls -al
total 412
drwxr-xr-x 13 www-data www-data 4096 Ful 11 16:03 .
drwxr-xr-x 8 www-data www-data 4096 Ful 11 15:57 …
drwxr-xr-x 2 www-data www-data 4096 Ful 11 11:50 bin
-rw-r–r-- 1 www-data www-data 31869 Ful 11 11:50 CHANGELOG.md
-rw-r–r-- 1 www-data www-data 3194 Ful 11 11:50 composer.json
-rw-r–r-- 1 www-data www-data 193800 Ful 11 11:50 composer.lock
drwxr-xr-x 6 www-data www-data 4096 Ful 11 18:32 config
-rw-r–r-- 1 www-data www-data 1305 Ful 11 11:50 CONTRIBUTING.md
-rw-r–r-- 1 www-data www-data 421 Ful 11 11:50 .editorconfig
drwxr-xr-x 8 www-data www-data 4096 Ful 11 11:50 .git
-rw-r–r-- 1 www-data www-data 851 Ful 11 11:50 .gitattributes
drwxr-xr-x 2 www-data www-data 4096 Ful 11 11:50 .github
-rw-r–r-- 1 www-data www-data 1550 Ful 11 11:50 .gitignore
-rw-r–r-- 1 www-data www-data 4578 Ful 11 11:50 Gruntfile.js
-rw-r–r-- 1 www-data www-data 303 Ful 11 11:50 .htaccess
-rw-r–r-- 1 www-data www-data 648 Ful 11 11:50 index.php
-rw-r–r-- 1 www-data www-data 34520 Ful 11 11:50 LICENSE.txt
drwxrwxr-x 2 www-data www-data 4096 Ful 11 18:56 logs
-rw-r–r-- 1 www-data www-data 608 Ful 11 11:50 package.json
-rw-r–r-- 1 www-data www-data 37257 Ful 11 11:50 package-lock.json
-rw-r–r-- 1 www-data www-data 1291 Ful 11 11:50 phpunit.xml.dist
drwxr-xr-x 2 www-data www-data 4096 Ful 11 11:50 plugins
-rw-r–r-- 1 www-data www-data 4852 Ful 11 11:50 README.md
drwxr-xr-x 13 www-data www-data 4096 Ful 11 11:50 src
drwxr-xr-x 5 www-data www-data 4096 Ful 11 11:50 tests
drwxr-xr-x 6 www-data www-data 4096 Ful 11 16:03 tmp
-rw-r–r-- 1 www-data www-data 4506 Ful 11 11:50 .travis.yml
drwxrwxr-x 50 www-data www-data 4096 Ful 11 16:03 vendor
drwxr-xr-x 6 www-data www-data 4096 Ful 11 11:50 webroot

www-data@#########~/passbolt$ ./bin/cake passbolt healthcheck

 ____                  __          ____
/ __ \____  _____ ____/ /_  ____  / / /_

/ // / __ `/ / / __ / __ / / _/
/ / // ( |
) /
/ / /
/ / / /
/
/ _
,
/
//.__/__//_/

Open source password manager for teams

Healthcheck shell…Exception: data signing failed in [/var/www/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 304]

Please check that your gnupg keyring is owned by the www user and the gnupg keys are correctly imported as described here.

Also since you are using ubuntu maybe this post could be of your interest.

I have tried the above but same problem persists, it shows the login menu for a second then goes back to oops something went wrong

Hi @mykie_nesh, your server key cannot be used to sign. If you want help you need to provide more information about your setup and what you tried. How did you install php-gnupg? are you using the ubuntu package or did you try getting it from pecl? See. GPG verify fails (Other actions)

I installed php-gnupg from pecl

Hi @mykie_nesh

You have maybe encrypted your gpg server key with a passphrase.
If this is the issue, this post could help you to solve it :

I am now receiving this error

The server public key defined in the config/passbolt.php is not in the keyring

Hi Diego,

I’m now getting this error

Healthcheck shell…Exception: get_key failed in [/var/www/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 301]

Please retry the whole sequence:

  • Delete the www-data keyring
  • Generate a key without passphrase
  • Note down the fingerprint and edit passbolt.php with the same
  • Export the public and private key in the config folder
  • Import the private key and public key in the www-data keyring
  • List the keys to make sure they are both in the keyring
  • Run the install script
  • Run the healthcheck

All the commands need to do that are in the tutorial https://help.passbolt.com/hosting/install/ce/debian-9-stretch.html

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