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
~/.mozilla/firefoxstill 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