All preferences lost after power loss
Categories
(Core :: Preferences: Backend, defect)
Tracking
()
People
(Reporter: BenB, Unassigned)
References
Details
(Keywords: dataloss)
(This first paragraph might be irrelevant.) I've built 2019-05-24 trunk and started by "default" production profile. There was a serious bug in that build that prevented me from using it, so I re-compiled trunk from 2019-04-01 and tried to start that build with my "default" production profile. I was not able to, because a dialog told me that downgrades are disallowed. I accepted that a new profile be created, which was automatically called "default-default" (sic), and had none of my preferences or bookmarks. I changed some privacy settings.
I tried my 2019-05-24 trunk build with the "default" production profile again. Then, my cleaning robot dragged the power cable out of the wall socket, resulting in a power loss of the computer. I started it again, and started my 2019-05-24 trunk build with the "default" production profile again.
Now, all my preferences were lost. Everything was back to the defaults. For me, that's catastrophic, because I made a number of critically important security-relevant changes in the profile that absolutely need to be honored, and were not honored, and all the tabs were restored without the prefs. That's a catastrophe from a security standpoint.
I checked the profile folder, and there was a prefs-1.js file which did contain my old preferences. The file was not corrupted. I could simply kill firefox, copy prefs-1.js back to prefs.js, start Firefox again, and everything is fine.
Obviously, that's
a) not something a normal user can do - for him, the loss of preferences is final. For a normal users, this is a data loss bug.
b) too late for me, because all my tabs were loaded without my prefs being honored.
Importance:
Data loss -> Critical
Note: This is not file corruption due to the power outage. The prefs.js file was just fine. This is home-made data loss.
| Reporter | ||
Comment 1•7 years ago
|
||
I'm Mozilla dev since 20 years and I can't remember encountering such a problem before, at least not in the last 5 years, so this is either a rare coincidence, or it's a recent code change. The prefs-1.js name suggests this being deliberate, so whatever code does that, that's the cause. That should be checked first: Any code that tries to move prefs.js to a new name with a unique filename.
Comment 2•7 years ago
|
||
not unheard of in support circles, so not necessarily new.
Comment 3•7 years ago
|
||
Sounds a little like bug 1530660?
Comment 4•7 years ago
•
|
||
Seeing a lot of reports of this on reddit:
https://www.reddit.com/r/firefox/comments/brwxxm/lost_all_my_firefox_settings/
https://www.reddit.com/r/firefox/comments/bz1mjd/when_my_laptop_has_a_very_low_battery_it_will/
https://www.reddit.com/r/firefox/comments/btjwgj/firefox_just_restored_all_my_addons_and_custom/
https://www.reddit.com/r/firefox/comments/by9zg6/about_every_week_my_firefox_settings_reset_whats/eqikmgi/
https://www.reddit.com/r/firefox/comments/bvimmh/woke_up_to_firefox_having_reset_all_my_settings/
https://www.reddit.com/r/firefox/comments/bwv68f/how_to_stop_firefox_from_automatically_resetting/
https://www.reddit.com/r/firefox/comments/bx7x7c/uhwhat_just_happened/
https://www.reddit.com/r/firefox/comments/bzdmvi/firefox_6702_release_notes/eqsnuws/
Updated•7 years ago
|
Updated•7 years ago
|
Comment 5•7 years ago
|
||
I don't see a good reason to treat these as 2 different issues, so I'm making this a dupe.
Comment 6•7 years ago
|
||
moving tracking flags to 1530660
Description
•