Passbolt does not show newly created passwords

Hi,

Yesterday I discovered, that my self hosted CE Docker passbolt does not show new passwords any more anywhere. Not on web, not on browser plugin. When I create password, passbolt says new password created successfully and it shows up in passbolt web page but when I refresh page, it is lost. Same with updating. When I update some old password user name it says update is successful, it shows new username field and modification date and after refresh it still shows old username and modified date is in far past. At the same time data in the database is changed correctly in both update and also in case of adding new passwords. The passbolt is behind proxy. I have restarted passbolt, cleared proxy cache, restarted proxy. I am missing something obvious. Seems to be interesting case?

Hello @raido ,
Welcome to our community :smile:

Have you made any changes before this behaviour? (updating the browser, updating passbolt …) typically I want to know what happened between the time it was working and when you noticed this issue.

Could you share the output of the status-report with us? If you are running docker as root it will be:

su -s /bin/bash -c "/usr/share/php/passbolt/bin/status-report" 

Also, which browser are you using?

Thank you for prompt feedback. I have changed firefox from snap version to “normal, no-snap” version and back and have messed with it to get back ma history, plugins and also Passbolt plugin, so certainly this may be the source of my trouble. Passbolt server side has not been changed.

Is it ok to run provided command as www-data user? Docker runs as root, but nginx user is www-data. Here is the result:
www-data@d7922ac5f9ae:/usr/share/php/passbolt$ /usr/share/php/passbolt/bin/status-report

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

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

Open source password manager for teams

Passbolt CE 4.1.1
Cakephp 4.4.14
Linux d7922ac5f9ae 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
PHP 8.2.7 (cli) (built: Jun 9 2023 19:37:27) (NTS)
ERROR: /usr/share/php/passbolt/bin/utils.sh: line 64: mysql: command not found
gpg (GnuPG) 2.2.40
libgcrypt 1.10.1
ERROR: /usr/share/php/passbolt/bin/utils.sh: line 64: composer: command not found

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

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

Open source password manager for teams

Healthcheck shell

Environment

[PASS] PHP version 8.2.7.
[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.local
[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 /etc/passbolt/passbolt.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
[HELP] Check Passbolt Help | Troubleshoot SSL
[HELP] cURL Error (6) Could not resolve host: passbolt.local

Database

[PASS] The application is able to connect to the database
[PASS] 36 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 /etc/passbolt/passbolt.php and readable.
[PASS] The private key file is defined in /etc/passbolt/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in /etc/passbolt/passbolt.php.
[PASS] The server public key defined in the /etc/passbolt/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] The server public key format is Gopengpg compatible.
[PASS] The server private key format is Gopengpg compatible.

Application configuration

[PASS] Using latest passbolt version (4.1.1).
[FAIL] Passbolt is not configured to force SSL use.
[HELP] Set passbolt.ssl.force to true in /etc/passbolt/passbolt.php.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[INFO] The Self Registration plugin is enabled.
[INFO] Registration is closed, only administrators can add users.
[PASS] The deprecated self registration public setting was not found in /etc/passbolt/passbolt.php.
[WARN] Host availability checking is disabled.
[HELP] Make sure this instance is not publicly available on the internet.
[HELP] Or set the PASSBOLT_EMAIL_VALIDATE_MX environment variable to true.
[HELP] Or set passbolt.email.validate.mx to true in /etc/passbolt/passbolt.php.
[PASS] Serving the compiled version of the javascript app.
[WARN] Some email notifications are disabled by the administrator.

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

SMTP Settings

[PASS] The SMTP Settings plugin is enabled.
[PASS] SMTP Settings coherent. You may send a test email to validate them.
[WARN] The SMTP Settings source is: env variables.
[HELP] It is recommended to set the SMTP Settings in the database through the administration section.
[WARN] The SMTP Settings plugin endpoints are enabled.
[HELP] It is recommended to disable the plugin endpoints.
[HELP] Set the PASSBOLT_SECURITY_SMTP_SETTINGS_ENDPOINTS_DISABLED environment variable to true.
[HELP] Or set passbolt.security.smtpSettings.endpointsDisabled to true in /etc/passbolt/passbolt.php.

[FAIL] 4 error(s) found. Hang in there!

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

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

Open source password manager for teams

Cleanup shell (dry-run)

1 issues found in table Passbolt/Folders.FoldersRelations (missing resources folders relations)
1 issues detected, please re-run without --dry-run to fix.

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

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

Open source password manager for teams

Data check shell
[PASS] Data integrity for AuthenticationTokens.
[PASS] Can validate: 764/764
[PASS] Data integrity for Comments.
[PASS] Can validate: 1/1
[PASS] Data integrity for Favorites.
[PASS] Can validate: 0/0
[PASS] Data integrity for Gpgkeys.
[PASS] Can encrypt: 2/2
[PASS] Pass validation service checks: 2/2
[PASS] Entity data and armored key data matches: 2/2
[PASS] Is not expired: 2/2
[PASS] Is armored key format valid: 2/2
[PASS] Data integrity for Groups.
[PASS] Can validate: 2/2
[PASS] Data integrity for Profiles.
[PASS] Can validate: 4/4
[PASS] Data integrity for Resources.
[PASS] Can validate: 116/116
[PASS] Data integrity for Secrets.
[PASS] Can validate: 150/150
[PASS] Data integrity for Users.
[PASS] Can validate: 4/4

I guess web certificate errors are ok, as I run passbolt behind proxy which offloads also ssl.

I am using Firefox 114.0.2. Snap for Ubuntu

PS quite strange, that I can use old passwords without problems, just can not see new ones stored in database.

Tahnk you for everyone. I got my passbolt working again. The problem was indeed in Firefox. I cleared Firefox cookies, site data and cache and suddenly all my passwords and modifications appeared.

Raido