Profile/session doesn't ever save/load
I run normal firefox on linux. Fully up-to-date. Every time I quit the app, it reverts to a version of my profile from a month ago, and loads all the tabs I had open then, and then receives all the tabs that I sent to the device in the interim (~1 month). As I speak, it just caught the 60 or 70 tabs in this window.
I tried changing the name of my profile folder to randomstring.defaultOLD and changed one of the backups to randomstring.default. This didn't change the behavior. I'm still stuck in the loop. I saved my tabs with onetab, because firefox isn't remembering my session anymore. I thought it was something to do with updates, like it only loses its mind upon updates, but that's not true. It thinks it's updating firefox EVERY TIME, because the one time it's loading to 1 month ago it was updating, but I'm 100% sure there are no updates to firefox in my linux. It's just hallucinating.
The articles on restoring from backup are outdated. They say to use an html file. There is no html file. It's just folders for profiles, not html files. HELP!
Toate răspunsurile (5)
It sounds like your profile folder isn't writable — can you share more about your operating system, how you installed Firefox or if it came preinstalled, if it's managed by the system, via some packager or store, or you installed it yourself and update it on your own? (Ideally take a screen shot of the "About" window, that will hint at some of these things.)
@jbr
Profile folder definitely is writeable. It's writing a new backup-crashrecovery folder every time I close the browser, and writing to the randomstring.default folder every time as well. It just doesn't "count" for some reason, when I load the profile. Like it's always choosing to load a specific backup-crashrecovery from about a month ago instead of ANY of the more recent ones, or the randomstring.default itself, or if it IS loading randomstring.default, it's not getting the session data.
Ubuntu
It's totally normal firefox, from the normal ubuntu repos, through the terminal. Not a flatpak, not a precompiled binary.
About Firefox
Firefox updates
Updates improve Firefox’s speed, stability, and security.
Firefox is up to date
Version 152.0.4 (64-bit) What’s new
Mozilla Firefox Official Build mozilla-official - 1.0
Where is session data stored within the profile folder? How do I reload a SESSION (without regard to any other components of a profile)? I'll check if the session data is being written.
Well I was under the impression that since 22.04 the system default was snap — but either way the profile paths are different so I don't expect one instance would be trying to write into the others' locations.
The "mozilla-official" bit is interesting as that usually doesn't signal "from the normal ubuntu repos" — more like the *.mozilla.org hosted repo custom added? But no matter the sources and keys, the profiles are in ~/.mozilla/firefox and if brought in with a package manager the paths would be owned correctly under normal circumstances.
So if you e.g. switch a theme, or change a trivial setting, that sticks — but not sessionrestore? History, passwords, that kind of data persists, just not the tabs?
Generally after messing with profiles, I'd recommend adding a fresh new profile to test, trying that one out to verify the data sticks between restarts, and then look into moving over the things to that.
If neither the trivial changes or new profile data are kept between restarts, the issue is elsewhere yet.
Snaps are terrible. Every time there's an update to firefox, the whole system is at risk of freezing. So I went normal style, don't think I had to add Mozilla repo, but maybe.
Since changing my randomstring.default to randomstring.defaultOLD and back again (was testing a crashbackup default folder), it remembers session now. So I've logged in to all my accounts again, huge pain, but hopefully it's cured. So flukey.
Been unable to session restore for over a month.
FWIW I wouldn't expect ID.default to be the "right" profile unless super–godfathered legacy (see support.mozilla.org/questions/1264072) as that's kind of an empty fallback, normally your daily driver for release channel would be ID.default-release 🤷
(Hence why I'm suggesting creating a new one, that hasn't been shoved around, and watching that one for data stability.)