Unable to recover account

Hi, I have installed the plugin in my browsers, but it is still prompting me to install. When I checked Passbolt logs, I saw the following error:

2021-07-01 07:11:28 Error: [Cake\View\Exception\MissingTemplateException] Template file “/Setup/json/start.ctp” is missing. (/var/www/passbolt/vendor/cakephp/cakephp/src/View/View.php:1583)

This happened to all the browsers that I was trying to access passbolt.

Please help. Thanks!

Hello @cinto_qq,

I guess you are running a passbolt API 2.x, you can check the version.php on your server which is located either in /etc/passbolt/version.php or /var/www/passbolt/config/version.php depending on your environment. If you are running a 2.x version, this is an expected error, and the browser extension will fallback on the legacy method.

Can you provide us with your browser flavor and version?

And the output of the browser extension console? You can obtain it as following:

On Chrome:
New tab > go to chrome://extensions > look for passbolt card > details > inspect views section > click index.html > copy errors under console tab

On Firefox:
New tab > go to about:debugging#/runtime/this-firefox > look for passbolt card > Click inspect > copy errors under console tab

Hi Cedric,

Thanks for your reply.

The passbolt version that I am using is 2.13.1.

Browser wise, I have tried this on Chrome Version 91.0.4472.114, Firefox Developer 90.0b12 and MS Edge Version 91.0.864.59.

Here are the output of the browser extension console:
Chrome:

passboltserver.url/settings.json?api-version=v2:1 Failed to load resource: the server responded with a status of 403 ()
index.min.js:13129 PassboltBadResponseError: An internal error occurred. The server response could not be parsed. Please contact your administrator.
    at ApiClient.fetchAndHandleResponse (index.min.js:37584)
    at async ApiClient.findAll (index.min.js:37382)
    at async OrganizationSettingsService.find (index.min.js:38712)
    at async OrganizationSettingsModel.find (index.min.js:32614)
    at async OrganizationSettingsModel.getOrFind (index.min.js:32603)
    at async Port.<anonymous> (index.min.js:13126)
(anonymous) @ index.min.js:13129
passboltserver.url/settings.json?api-version=v2:1 Failed to load resource: the server responded with a status of 403 ()
index.min.js:13129 PassboltBadResponseError: An internal error occurred. The server response could not be parsed. Please contact your administrator.
    at ApiClient.fetchAndHandleResponse (index.min.js:37584)
    at async ApiClient.findAll (index.min.js:37382)
    at async OrganizationSettingsService.find (index.min.js:38712)
    at async OrganizationSettingsModel.find (index.min.js:32614)
    at async OrganizationSettingsModel.getOrFind (index.min.js:32603)
    at async Port.<anonymous> (index.min.js:13126)
(anonymous) @ index.min.js:13129
8Unchecked runtime.lastError: Cannot access contents of url "<URL>". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.
index.html:1 Unchecked runtime.lastError: Cannot access contents of url "chrome-error://chromewebdata/". Extension manifest must request permission to access this host.

Firefox:

Successfully compiled asm.js code (total compilation time 6ms) openpgp.js
Successfully compiled asm.js code (total compilation time 10ms) openpgp.js
Successfully compiled asm.js code (total compilation time 121ms) openpgp.js
Successfully compiled asm.js code (total compilation time 2ms) openpgp.js
Successfully compiled asm.js code (total compilation time 6ms) openpgp.js
Successfully compiled asm.js code (total compilation time 55ms) openpgp.js
downloadable font: download failed (font-family: "Open Sans" style:normal weight:400 stretch:100 src index:2): status=2152398850 source: moz-extension://085fd79b-d0a5-4635-af36-1e489c67f481/data/fonts/opensans-regular.woff
downloadable font: download failed (font-family: "Open Sans" style:normal weight:700 stretch:100 src index:2): status=2152398850 source: moz-extension://085fd79b-d0a5-4635-af36-1e489c67f481/data/fonts/opensans-bold.woff
Promise resolved after context unloaded
quickaccess.js:2
    getUser moz-extension://085fd79b-d0a5-4635-af36-1e489c67f481/data/js/dist/quickaccess.js:2

Hi,

Just want to follow up on this. Do we need to upgrade the version of Passbolt in order to resolve this issue?

Did you manage to find a solution?

Although this error is being displayed, the cause of the error is known and is a result of a newer version being implemented in the browser extension, while the back-end installation (which users have to upgrade themselves) is still an older version.

It is my understanding that an upgrade on the back-end would eliminate the error, and the error is is a general reference to a feature/function/process that the older version does not handle.