After upgrade to 2.12 no new entries can be added

Hi,

community edition, upgrade from 2.11 to 2.12. Login we can not add new entires. It hangs at the encryption state.

“Take a deep breath and enjoy being in the present moment…”
Tested with Firefox and Chrome. Same behavior.

Console logs nothing in Browser. Just before clicking ‘encrypt’ some stuff like:

15:15:40.192

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/tpl/progress.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

15:15:40.207

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/tpl/resource.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

15:15:40.213

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/js/quickaccess/quickaccess.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

15:15:40.226

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/tpl/secret.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

15:15:40.239

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/tpl/import.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

15:15:40.312

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/js/lib/port.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

15:15:40.331

Unchecked lastError value: Error: Script 'moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/data/js/file/file.js' result is non-structured-clonable data [index.min.js:13060](moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js)

createScriptCallback moz-extension://a680b1f7-9905-403d-9fac-9ccdce72f724/index.min.js:13060

Are there known issues in latest version? Anything wrong with the browser plugins?

Hello,

The errors listed are not an issue, more like false positive errors.

Can you check on the server if there are any errors in your passbolt directory under logs/errors.log.
Can you also run the healthcheck server side:

sudo su -s /bin/bash -c "/var/www/passbolt/bin/cake passbolt healthcheck" www-data

And check for orphans in the database:

sudo su -s /bin/bash -c "./bin/cake passbolt cleanup --dry-run" www-data

Hello remy,

thank you for your time! :slight_smile:

Environment

[PASS] PHP version 7.0.33-0+deb9u6.
[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

[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://pb.mydomain.de:80
[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 config/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] fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number
fopen(): Failed to enable crypto
fopen(https://pb.mydomain.de:80/healthcheck/status.json): failed to open stream: operation failed

Database

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

GPG Configuration

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

Application configuration

[PASS] Using latest passbolt version (2.12.0).
[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.

3 error(s) found. Hang in there!

sudo su -s /bin/bash -c “./bin/cake passbolt cleanup --dry-run” www-data
Cleanup shell (dry-run)

No issue found, data looks squeaky clean!

Ok server looks fine, do you get this error when adding a new resource or when sharing a given resource with somebody, or both?

On Sharing i get:

Could not synchronize the keyring. The server responded with an error.(500)

on adding a new:

it just loads and loads.

error log does not show anything recently:

2020-01-27 15:55:35 Error: [Error] Call to undefined method App\Model\Entity\Gpgkey::getVisible()
Request URL: /gpgkeys.json?api-version=v1
(one hour ago)

Hello @plzk.de,

While updating to the latest version, did you update the project dependencies (Step 3. Update the libraries) and clear the application cache.

composer install --no-dev
./bin/cake cache clear_all

Hope it will help you.

1 Like

Hi cedric,

no i did not touch composer as https://help.passbolt.com/hosting/update mentions composer only for major-updates.

BUT JESUS, you are genious - it works after updating composer :slight_smile: Thanks a lot! :slight_smile:

1 Like

Hello @plzk.de,

Migration scripts and composer update are required for the “minor” updates (eg. 2.x releases). Only “patch” updates (2.x.y) require only pulling the code. Most of the releases these days are minor updates. Major updates require their own process that is describe in a separate page.

Best regards,

1 Like

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