[snap] lost all passwords on 19.10 when chromium-browser deb was replaced by a snap

Bug #1848621 reported by TomaszChmielewski on 2019-10-18
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Undecided
Unassigned

Bug Description

After I've upgraded 19.04 to 19.10, chromium-browser deb was replaced by a snap package.

When chromium is now started from a snap package, I no longer have any passwords which I had saved in deb version of chromium-browser.

This is quite annoying; a workaround for now is to downgrade to chromium-browser deb from 19.04.

tags: added: snap
summary: - lost all passwords on 19.10 when chromium-browser deb was replaced by a
- snap
+ [snap] lost all passwords on 19.10 when chromium-browser deb was
+ replaced by a snap
Olivier Tilloy (osomon) wrote :

Can you please share the output of the following commands:

    apt policy chromium-browser

    snap connections chromium | grep password

And attach /var/log/apt/term.log and /var/log/apt/history.log ?

Thanks!

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Jesse Glick (jesse-glick) wrote :

I hit this too. I have not yet switched from 18.04, but I decided to try installing the snap as a preview, as https://ubuntu.com/blog/chromium-in-ubuntu-deb-to-snap-transition suggests. No passwords were available, making this basically useless, as I rely heavily on the Keyring integration in Chromium.

~$ apt policy chromium-browser
chromium-browser:
  Installed: 76.0.3809.100-0ubuntu0.19.04.1
  Candidate: 76.0.3809.100-0ubuntu0.19.04.1
  Version table:
 *** 76.0.3809.100-0ubuntu0.19.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu disco-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu disco-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     73.0.3683.103-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
~$ snap connections chromium | grep password
password-manager-service chromium:password-manager-service - -

I presume /var/log/apt/term.log and /var/log/apt/history.log are of no great interest in my case.

Olivier Tilloy (osomon) wrote :

Jesse, if you installed the snap manually then the password-manager-service isn't connected, and you need to connect it for keyring integration:

    snap connect chromium:password-manager-service

Alex N. (a-nox) wrote :

After i upgraded from 19.04 to 19.10, i faced the same problem, even with syncing turned on for my account in Chromium.

Here is the output when the problem still existed:
$ snap connections chromium | grep password
password-manager-service chromium:password-manager-service - -

As suggested i executed the following and passwords/autofill for logins were working again:
$ snap connect chromium:password-manager-service

Here is the output after the problem was fixed:
$ snap connections chromium | grep password
password-manager-service chromium:password-manager-service :password-manager-service manual

Does this password-manager-service connection persist or do we have to reconnect it everytime?

Olivier Tilloy (osomon) wrote :

The connection is persistent. Thanks for confirming that this now works for you. I still need to look into why the connection wasn't made automatically when updating the deb package.

Changed in chromium-browser (Ubuntu):
status: Incomplete → New
TomaszChmielewski (mangoo-wpkg) wrote :

For me, it was:

# apt policy chromium-browser
chromium-browser:
  Installed: 77.0.3865.120-0ubuntu1~snap1
  Candidate: 77.0.3865.120-0ubuntu1~snap1
  Version table:
 *** 77.0.3865.120-0ubuntu1~snap1 500
        500 http://jp.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
        100 /var/lib/dpkg/status

# snap connections chromium | grep password
password-manager-service chromium:password-manager-service -

Running this fixed it:

# snap connect chromium:password-manager-service
Connect chromium:password-manager-service to core:password-manager-service \

# snap connections chromium | grep password
password-manager-service chromium:password-manager-service :password-manager-service manual

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Walt Mankowski (waltman) wrote :

I also had this problem. After running the command suggested above:

snap connect chromium:password-manager-service

it's now working again for me.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers