Debian – chrome does not save the passwords

chromedebianpassword

When I had to login in a site, Chrome used to offer me a number of possible user names and later the password associated with the user I choose (provided that I saved the user-password association previously).

Now Chrome still offers the correct possible users but then offers no password, I have to enter the password (if I remember it, that is, otherwise it's password resetting) and, after a successful login, Chrome ask for permission to save the password. I give permission, of course, but next time I login it's again no password remembered.

If I open the Settings->Passwords screen I see (the equivalent of)

Offer to save passwords [YES]
Auto Sign-in            [YES]

and below

Saved Passwords
    Saved passwords will appear here

that is, no password is really saved.

Final consideration, the same page permits to View and manage saved passwords in your Google Account and if I go there I can see all my sites, my users and my passwords except, important exception! that some of these passwords are stale.

I'm on Debian Sid, Chrome is Version 76.0.3809.132 (Official Build) (64-bit)
from Google's official .deb

What can I do to fix this annoying problem?

UPDATE

This is what I get when I launch Chrome from the shell

$ google-chrome
[18891:18891:0906/221132.855189:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[18856:18990:0906/221136.514201:ERROR:object_proxy.cc(619)] Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[18891:18891:0906/221143.906640:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[18856:18996:0906/221151.512723:ERROR:password_syncable_service.cc(191)] Passwords datatype error was encountered: Failed to get passwords from store.

In particular, Passwords datatype error was encountered: Failed to get passwords from store. seems relevant wrt my issues.

Best Answer

Sometimes a couple of login files get corrupt, and stop google-chrome from saving the passwords.

To fix it, close google-chrome. Terminal to the following directory and remove the two files, Login Data and Login Data-journal.

cd ~/.config/google-chrome/Default
rm 'Login Data'
rm 'Login Data-journal'

Now open Chrome and URL to 'Chrome://settings/passwords' and see if the passwords have returned under 'Saved Passwords...'. Try saving a password and check the above password URL to see if it is now being saved.

Related Question