Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Used "sessionstore" backup, and everything returned, but now it won't update.

  • 4 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 edkerscher

more options

So after wiping my system for a fresh windows install, I pulled out the backup.json4 and recovery.json4 from my backup drive and plopped it in place of sessionstore.json4

And all of my tabs and windows came back! So far so good!

But then after closing some tabs and moving things around, when I close the session out again, it doesn't update the sessionstore file, or any of the stuff in the backup folder to reflect those changes.

When I open firefox again it starts as a session with all my windows/tabs after the file-replace.

I use firefox for managing tutorial videos, which involves separating them into different windows/tab arrangements, so any tips on how to resolve this issue and get firefox to start updating the sessionstore would be appreciated.

Thank you!

So after wiping my system for a fresh windows install, I pulled out the backup.json4 and recovery.json4 from my backup drive and plopped it in place of sessionstore.json4 And all of my tabs and windows came back! So far so good! But then after closing some tabs and moving things around, when I close the session out again, it doesn't update the sessionstore file, or any of the stuff in the backup folder to reflect those changes. When I open firefox again it starts as a session with all my windows/tabs after the file-replace. I use firefox for managing tutorial videos, which involves separating them into different windows/tab arrangements, so any tips on how to resolve this issue and get firefox to start updating the sessionstore would be appreciated. Thank you!

被采纳的解决方案

At startup, Firefox should read sessionstore.jsonlz4 and use that to restore your session, and then Firefox should remove that file.

During your session, Firefox constantly updates recovery.jsonlz/recovery.baklz4 in the sessionstore-backups folder.

Then at shutdown, Firefox will create a new sessionstore.jsonlz4 file at the main level of the profile folder and toss out recovery.jsonlz4/recovery.baklz4.

Q: Is Firefox removing your manually inserted sessionstore.jsonlz4 file after restoring your session? If not, you could delete it yourself and see whether that has been blocking Firefox from writing a new file at shutdown.

定位到答案原位置 👍 0

所有回复 (4)

more options

You may have corrupt sessionstore [v56] sessionstore.jsonlz4 file(s). Delete all sessionstore* files and the sessionstore-backups folder.

Type about:support<enter> in the address bar.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder

Linux: Under the page logo on the left side, you will see Application Basics. Under this find Profile Directory. To its right press the button Open Directory.

Locate the above file. Then rename or delete it. Restart Firefox.


Don't delete the files if you need to rescue any data from them, just move them out of the profile folder to some location where Firefox doesn't look for them. You can try to read out their contents using this tool: https://www.jeffersonscher.com/res/scrounger.html

more options

选择的解决方案

At startup, Firefox should read sessionstore.jsonlz4 and use that to restore your session, and then Firefox should remove that file.

During your session, Firefox constantly updates recovery.jsonlz/recovery.baklz4 in the sessionstore-backups folder.

Then at shutdown, Firefox will create a new sessionstore.jsonlz4 file at the main level of the profile folder and toss out recovery.jsonlz4/recovery.baklz4.

Q: Is Firefox removing your manually inserted sessionstore.jsonlz4 file after restoring your session? If not, you could delete it yourself and see whether that has been blocking Firefox from writing a new file at shutdown.

more options

Does it help if you set Firefox to restore the session on the next start?

  • Settings -> General -> Startup: "When Firefox starts" -> "Show my windows and tabs from last time"
more options

Thanks for the tips everyone. Based on the details in jscher2000's reply I determined that at some point after copying the files over, Firefox severed whatever association it had between sessionstore.json4 and recovery.json4, and was only willing to load from the sessionstore or not at all. I suspect the first time around I deleted the recovery file when I copied the over sessionstore thinking it would consider a 'blank slate' as what it wants to recover.

There may be a simpler solution, but based on that I simply uninstalled firefox, reinstalled it, then copied over the new sessionstore.json4 file that firefox created with my old one, and hit 'restore previous session'. Then everything came back, and when I exited firefox using the 'close' function, it updated my tab changes.

I appreciate the speedy replies!

由edkerscher于修改