firefox snap update for impish from hirsute forgot to move the datas

Bug #1945681 reported by MV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Updated ubuntu to 21.10 yesteday. The firefox snap was installed and the deb remove. The Firefox's data default profile (under .mozilla/firefox) was note copied in the new location (snap/firefox/common/.mozilla/firefox)

So I had to create a new profile (about:profiles) and manually copy the directory to the new profile

Revision history for this message
Olivier Tilloy (osomon) wrote :

There is code in the firefox snap's launcher to handle importing an existing profile. It will run only if the snap is being run for the very first time. Could it be that you already had a ~/snap/firefox/common/.mozilla folder, from a previous installation of the firefox snap?

Can you share the output of `snap connections firefox`?

Lastly, if you're willing to try the import again, please run the following commands in a terminal (after closing firefox) and share the output here:

    rm -rf ~/snap/firefox/common/.mozilla
    snap run firefox

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
MV (mvidal) wrote :

I don't think I previously installed snap firefox but I think I was running firefox during the installation process.

here the successful result of "snap run firefox" with firefox close

Importing existing firefox profiles from /home/mv/.mozilla/firefox
Found default profile: sgv0bfgu.default-1532091861478
Import done in 51,000 s

Revision history for this message
MV (mvidal) wrote :

By the way, I am in a strange configuration right now, where firefox is version 92 (snap) but deb package firefox-locale-en and firefox-locale-fr are in version 93.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Yes, that's because 93.0 is in release candidate phase, which is acceptable for a development series of Ubuntu (21.10 hasn't been released yet), but not for a snap that is being consumed on a wide range of stable linux distributions. The candidate channel of the snap has version 93.0-1.

From the output in comment #2, I understand that the profile import worked?

Changed in firefox (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
MV (mvidal) wrote :

Yes it worked. I don't understand then why I need the locale deb packages.

Revision history for this message
Olivier Tilloy (osomon) wrote :

If the firefox deb was removed on upgrade (as is expected), then the firefox-locale-* packages aren't needed anymore. They should go away if you run `sudo apt autoremove`.

Revision history for this message
MV (mvidal) wrote :

They don't and they are still installed.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Then running the following command should be safe: `sudo apt remove firefox-locale-*`

Revision history for this message
MV (mvidal) wrote :

Done

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

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.