26

There's no ~/.mozilla/firefox, only ~/snap/firefox/ but that does not seem to have the profiles:

~/snap/firefox$ find places.sqlite
find: ‘places.sqlite’: No such file or directory

Not sure what this translates to:

$ snap connections firefox
Interface                 Plug                            Slot                             Notes
...

personal-files firefox:dot-mozilla-firefox :personal-files -


Edit:

find doesn't work as simple, instead use:

~/snap/firefox$ find . -name places.sqlite 
./common/.mozilla/firefox/<ID>.default/places.sqlite
handle
  • 413
  • 1
    for whatever incredible reason, ~/.mozilla/firefox still exists for me, and it is this directory that firefox will use, if I run /snap/firefox/current/usr/lib/firefox/firefox. – sezanzeb Nov 06 '23 at 17:04
  • Apparently snap firefox erases your user profile if you uninstall it It can be recovered from /var/lib/snapd/snapshots/, for 31 days, if you don't "purge" uninstall. See https://askubuntu.com/q/1439307/56280 for more details. Yes, snap is the worst ... – ntc2 Apr 03 '25 at 22:51

2 Answers2

29

I upgraded to 22.04 yesterday and Firefox has imported my profiles from the original directory inside ~/.mozilla/firefox/ into the new directory of ~/snap/firefox/common/.mozilla/firefox/ this is where they are stored now.

If you navigate to about:profiles it will show your current profile and its full path.

The personal-files socket grants access to $HOME, see more info here

Baa
  • 3,770
  • 1
  • 31
  • 46
  • I additionally had to overwrite the compatibility.ini with the one from the newly created profile to force a downgrade. – MaestroGlanz Aug 29 '24 at 17:25
12

It is stored in

~/snap/firefox/common/.mozilla/firefox
Pilot6
  • 92,169
  • 3
    Thanks, also just found out looking at about:profiles (regular settings don't show any paths). – handle Jun 19 '22 at 13:41