搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox failed to restore my tabs upon reopening.

  • 5 回覆
  • 1 有這個問題
  • 20 次檢視
  • 最近回覆由 james.stark1

more options

Under options, I have Firefox set to restore my previous session when it reopens. Most of the time it does this just fine, but twice this summer it has lost all of my previous tabs. I read about, and found the recovery.jsonlz4 and recovery.baklz4 files, but they include only the tabs from the current session, not any of the former tabs. I often have dozens to hundreds of tabs open, and this is mightily annoying. Any ideas why this happens, how to prevent it in the future, and is there any hope of finding those lost tabs? I'm strongly considering ditching Firefox for another browser.

所有回覆 (5)

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

Thanks for your suggestions. I had already looked at my recovery.jsonlz4, etc., files, and put them through jscher's analyzer. They held records for only the few tabs I had opened after Firefox lost all of my previous ones. There didn't seem to be any recovery file for the lost tabs, at least not in the sessionstore-backups folder.

But I did solve my problem, mostly, partly by accident. In an idle moment, in Windows Explorer, I looked at the properties of the sessionstore-backups folder, and discovered that Windows had archived a previous version just a few days ago. I then used the method you outlined to restore from that file, and recovered the majority of my tabs.

Thanks again!

more options

You can check in Windows Explorer if there is a previous version of the sessionstore.jsonlz4 file (or files in the sessionstore-backups folder) available.

  • right-click: Properties -> Previous Versions
more options

Glad to help. Safe Surfing.

I suggest you create a new folder in your bookmarks and place those links there so they don't get lost.

more options

The same thing happened again today. I had closed Firefox the night before, and when I opened it today, all of my tabs were gone. I again was able to restore from a previous version Windows had archived last week of the recovery.jsonlz4 file in the sessionstore-backups folder. This restored 88 of about 110 tabs, but I lost all of the more recent ones. Does anyone know why this keeps happening, and how to prevent it? I guess if I were to continue to use Firefox, I'd need to bookmark all of my tabs each time I closed the browser. I'm going to have to switch to a more reliable browser. I'm running Firefox 68.0.2 in Windows 7.