Lost everything.
Issue: https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047
Sorry about your containers.
Duplicate of #864
Sure it's the same question? There the problem seems to be about tabs that were closed when deactivating the extension. Not about containers reset after disabling forced by a failure of Mozilla itself.
The underlying problem is the same - the tabs are closed because the containers are removed upon deactivating the last Add-on with container permissions (contextualIdentities).
Is that my problem has no relation to the tabs, but okay, I think I understood that the mechanism that closes the tabs is the same that resets the containers, when the extension is disabled.
It's a problem that should get more attention from developers. From scratch, lose all containers and logins saved, no way to recover... It is a very unpleasant thing.
Where is the cookie data stored? I have a backup of my profile from a month ago and would like to restore the containers but I can't find where the container cookies are stored.
So this problem has affected virtually every user of firefox containers today. With no warning of any kind.
I understand this is open source and is provided as is but is there really no solution whatsoever to this? Have I really lost all my containers and all saves sessions of all websites ?
@LeLobster They are in storage/default/<scheme>+++<website-url>^userContextId=<container-id>
@ramast If you don't have a backup of your profile then the container data is unfortunately gone. IMHO it'd be great if containers would behave like Add-ons and only delete data if the Add-on is actually removed, not just disabled.
@stoically Would I need to copy over something else besides
containers.json
/browser-extension-data/@testpilot-containers
and storage/default/.... for the previously containered domains?
I've restored all those files from backup but I still get a login prompt, though all containers and their settings are successfully restored.
Sounds about right, though I've never tried manually restoring container data that way. Do you see your containers in Firefox? And opening an "old" container gives you a login page though the cookie should be there?
Exactly, all the containers with their correct icon and name are there. Even whitelisted websites open in their previously selected container. It's just not "reading" the cookies because I'm not logged in anywhere.
Maybe the storage needs to be referenced in some internal db somewhere then. I'm afraid I'm unable to help here. Only alternative that comes to mind is restoring the whole old profile and porting "missing" data from the new profile to the old one.
This whole certificate debacle turns out to be a little more inconvenient than I at first thought, but thank you for the quick replies either way. I'll see what I can salvage.
Container data is completely separate from Mozilla's cookies.sqlite right?
Oh. It's quite possible that cookies, also from containers, are actually in that .sqlite and not in storage/default. Sorry for the confusion.
Yeah looks like it is. If I use the cookies.sqlite from my old backup I am logged in on the containered websites but as soon as I copy over the .sqlite file from my recent profile it logs me out everywhere.
So it seems like when you disable and enable the multi-account-containers extension whatever relevant entries there are in cookies.sqlite are removed.
Most helpful comment
Is that my problem has no relation to the tabs, but okay, I think I understood that the mechanism that closes the tabs is the same that resets the containers, when the extension is disabled.
It's a problem that should get more attention from developers. From scratch, lose all containers and logins saved, no way to recover... It is a very unpleasant thing.