6

I upgraded 21.04 to 21.10 and have a couple of issues which I'll separate out. The first is Firefox will not launch. Or rather it does, but only to give the error

Your Firefox profile cannot be loaded. It may be missing or inaccessible.

There doesn't seem to be any way around the error message. I had Firefox running successfully under 21.04 before the upgrade.

mook765
  • 18,644
Paul
  • 71

3 Answers3

8

I had the same issue. Here is what I did to quickly fix this issue.

  1. Uninstall firefox snap with:

    sudo snap remove firefox
    
  2. Install firefox snap with:

    sudo snap install firefox
    
  3. Run snap with:

    snap run firefox
    

With the last command you should see the following lines in the terminal:

Importing existing firefox profiles from /home/xxxxxxx/.mozilla/firefox
Found default profile: xxxxxxxx.default
Import done in 1.826 s

After that all bookmarks and login/password should be back.

Error404
  • 8,278
  • 3
  • 35
  • 60
Mathieu
  • 181
5

The Firefox snap app is the default web browser in Ubuntu 21.10. You can uninstall the snap version and install the .deb version with the command:

sudo apt install firefox && sudo snap remove firefox

The .deb version of Firefox should be able to see your profile.

karel
  • 122,292
  • 133
  • 301
  • 332
1

The simplest solution that works for me was as follows:

  1. close firefox
  2. rm -rf ~/snap/firefox
  3. snap run firefox

Upgrade from 20.04.5 > 22.04.1. Per https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1969910 and thanks to @pabouk for the solution above.