Hello, the chrome extension has stopped working. The extension has been updated automatically and now I can’t copy the passwords and use the extension.
the extension error
The extension was working fine but today with the new update, it no longer works.
In order to have better insight of what happens, is it possible for you to give the browser extension logs to see what’s happening please?
If you’re ok with that, here’s the procedure to follow.
You can go to your extensions pannel:
→ Right click on the Passbolt Icon and then “Manage Extension”
In the panel you can see the “developer mode” toggle on the top-right corner of the panel. You need it to be activated to see the logs.
Once activated you should see in the Passbolt extension card a “index.html” link. Clicking on it will open a new window with tabs. There is a “console” tab. You can click on it and copy-paste what’s in the window.
This is the log
IP_ADDRESS:1443/auth/is-authenticated.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.html:1 Unchecked runtime.lastError: The extensions gallery cannot be scripted.
vendors.min.js:2 Uncaught (in promise) Error: The extensions gallery cannot be scripted.
at vendors.min.js:2:491789
index.html:1 Unchecked runtime.lastError: The extensions gallery cannot be scripted.
IP_ADDRESS:1443/auth/is-authenticated.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.min.js:2 NotFoundError: NotFoundError
at kt.isAuthenticated (index.min.js:2:70678)
at async Kt.checkAuthStatus (index.min.js:2:74175)
at async Bn.main (index.min.js:2:230783)
main @ index.min.js:2
index.min.js:2 GET https://IP_ADDRESS:1443/auth/is-authenticated.json 404 (Not Found)
kt.isAuthenticated @ index.min.js:2
checkAuthStatus @ index.min.js:2
isAuthenticated @ index.min.js:2
assertUserAuthenticated @ index.min.js:2
canBeAttachedTo @ index.min.js:2
(anonymous) @ index.min.js:2
getPagemodThatCanBeAttachedTo @ index.min.js:2
exec @ index.min.js:2
exec @ index.min.js:2
await in exec (async)
exec @ index.min.js:2
I have changed the IP address of the server for “IP_ADDRESS”, passbolt is installed in a server with docker. Other people can use it now without any problem with an older version of the extension and I was using it this morning.
Install a previous version of the browser extension so that you are not pressured by time to perform the upgrade and make a mistake. Cedric will post an how-to in this thread.
Make a backup of your SQL data using mysqldump (or alternatively an export of your data using Keepass export feature). This is to prevent loss of data in case you didn’t mount your SQL data on a separate partition / never rebooted the container.
Locally try to run the ugprade with your exported data, and try to run the upgrade. Passbolt Help | Migrate an existing Passbolt CE to a new Docker Report back some errors here (we have not tested an upgrade with a v2.7.1 for a long time but it should work, but better be safe and try it first).
Perform the upgrade in your production environment
If you need an immediate access of your passwords and you have a copy of your private key, you can still install an old extension as my colleague mention it.
As explained earlier in this thread, if you are running a version older than v2.11.0 then the backward compatibility was broken with the v4.0.0 of the browser extension. In that case you need to upgrade your API to a version > v3. Checkout this comment
If you need to access your passwords quickly, a workaround consists in installing an older version of the API in parallel of the one you already have , checkout this comment
If you don’t have a copy of your private key, and you still have installed the browser extension that was automatically updated to its version 4.
You can open the debug console of the browser extension and try to access your key as following:
Go to the extensions management interface: chrome://extensions/
Enable the developer mode in the top right of your screen
On the passbolt extension v4 tail click on index.html
Go to the console tab of the developer tool
Execute the following command in the console chrome.storage.local.get('_passbolt_data', data => console.log(JSON.parse(data._passbolt_data['passbolt-private-gpgkeys'])['MY_KEY_ID']['armored_key']));
I had the same problem and I have already solved it updating the version but now I have another problem. Users who use Firefox can’t login and get the ErrorNotFound message. The extension in Firefox has not been updated and is still version 3.12. When will the new version be available?
Ohhhh! Users using Firefox have restarted the browser and it is now working correctly. They should have tried this before writing here. @cedric sorry and thanks!
I succesfully change the browser extension on Firefox to pass to v4.0, but it seems more sensitive on Chrome and I have one user who (I know…) doesn’t keep his private key. I would like to move him to firefox but without this private key it seems impossible.
If you’re experiencing issues with the command, there could be a few reasons why it’s not working:
Please verify that you’re running the command on the correct profile. Double-check to ensure you’re using the intended profile for the command execution.
It’s possible that the user may have uninstalled the browser extension. In that case, it will be complicate to retrieve the private key.
Could you please attempt to execute the following command:
can you try to run :
chrome.storage.local.get('_passbolt_data', data => console.log(data._passbolt_data['config']['user.username']));
If the username is empty, it indicates that the browser extension setup has not been completed.