Default profile resets due to files being deleted
The question has been edited after doing further testing on the issue. During the last week or so I have encountered the issue that one or more of my Firefox profiles kee… (read more)
The question has been edited after doing further testing on the issue.
During the last week or so I have encountered the issue that one or more of my Firefox profiles keep resetting after every update.
I noticed there's couple of threads with similar issues already but the generic profile restore instructions are not helping at all since it seems that Firefox is actually wiping some files. I'm not currently sure what causes the files to be wiped, but it's either related to rebooting the PC or starting / closing Firefox. The file deletion also doesn't always hit the same profile either.
I'm running Firefox 150.0.1 for Arch on CachyOS.
I did a clean reinstall of Firefox. After the install I created 2 new accounts in addition to the one that's pre-created on install. All of the profiles work as expected at this point.
The profiles seem to have files in three places
- $HOME/.cache/mozilla/firefox
- $HOME/.config/mozilla/firefox
- /run/user/1000/psd/
The issue seems to be that after a reboot the files under /run/user/1000/psd/ are missing. Both of the other locations seemingly are unchanged but under $HOME/.config/mozilla/firefox the linked files claim no target in /run/user/1000/psd/ is found.
When looking at the missing files, it seems that in total 6 folders have been wiped at the time of testing. All of the wiped directories were ending as ".Profile 1" or ".default-release". Directories ending with ".Profile 2" or ".default" were still there. At this point I'm not sure what is causing this but it seems to explain why the profile is inaccessible.
Manually restoring the files under /psd/ seems to fix the missing profiles completely.