Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome/Firefox 3.0.0 Can't access passwords or users #116

Closed
nourcy opened this issue Jan 27, 2021 · 14 comments
Closed

Chrome/Firefox 3.0.0 Can't access passwords or users #116

nourcy opened this issue Jan 27, 2021 · 14 comments
Labels

Comments

@nourcy
Copy link
Member

nourcy commented Jan 27, 2021

##IMPORTANT: PLEASE READ

For users that are facing issue to access password or user workspace since the update of the browser extension to version 3.0.0 please have a look at the community forum of Passbolt:
https://community.passbolt.com/t/browser-extension-v3-0-0-data-issues-identified-for-users-using-passbolt-since-v1/3471

Thanks for the understanding, I leave this one open for the time being.

@stripthis stripthis added the bug label Jan 27, 2021
@rcrdo520
Copy link

I'm sorry to say that, but this fix isn't working for the users tab. :(
Is there a simple tweak to get this fixed as well?

image

@garrettboone
Copy link

garrettboone commented Jan 27, 2021

extension is now v3.0.2 @rcrdo520 please confirm this is with update thanks

@rcrdo520
Copy link

image

I have 3.0.2 installed/updated Chrome. Still not working. :(

@garrettboone
Copy link

@rcrdo520 Can you look for errors in the extension debug? We can try to identify what it is related to.

@rcrdo520
Copy link

@garrettboone Could you give me a hint to find the extension debug log? :S

@garrettboone
Copy link

@rcrdo520 Enter chrome://extensions/ in address bar, and set the Developer Mode option to enabled. Click on the Passbolt Extension Details and then look for index.html under "Inspect Views".

@rcrdo520
Copy link

@garrettboone Got it, thanks. :)

image

@nourcy
Copy link
Member Author

nourcy commented Jan 27, 2021

@rcrdo520 someone on the forum fix it on the database
https://community.passbolt.com/t/browser-extension-v3-0-0-data-issues-identified-for-users-using-passbolt-since-v1/3471
basically you need to look at the gpgkeys table to see if there is NULL in the columns bits and type and replace it (based on your server config). Like
UPDATE gpgkeys SET bits = 2048 WHERE bits is NULL;
UPDATE gpgkeys SET type ='RSA' WHERE type is NULL;

@rcrdo520
Copy link

worked! thanks. :)

@sblandford
Copy link

I had NULL bits and type fields in the gpgkeys table. But that wasn't enough to fix it for me. There was also a NULL as a group_id in the group_users table. Just pasted a valid group id into the field and the plugin is now showing users again. No idea how it got that way. I can't see anyone else experiencing the same issue outside of gpgkeys.

I am running Passbolt 2.13.5 on the server.

@nourcy
Copy link
Member Author

nourcy commented Jan 28, 2021

Hi @sblandford,

Did you try to exec the cleanup on your instance?
sudo -H -u www-data bash -c "./bin/cake passbolt cleanup"

Best,
Max

@sblandford
Copy link

sblandford commented Jan 28, 2021 via email

@cedricalfonsi
Copy link
Member

Fixed with v3.0.4

@ghoebilly
Copy link

The cleanup command on the API fixed it for me. Thanks Max.

Docker non rootless here
sudo docker exec -it passbolt ./bin/cake passbolt cleanup

3.1 Firefox extension was working with latest v2 API.
Extension was failing to list passwords after upgrading the API to 3.0 then 3.1.
Clean up on backend fixed everything.

Probably resources related :

34 issues fixed in table Permissions (soft deleted resources)
34 issues fixed in table Secrets (soft deleted resources)
368 issues fixed in table Resources (missing resourcetype id)
436 issues fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants