X
點擊此處開啟此網站的行動版。

技術支援討論區

I have been shut down my computer and at the opening again I will not be able to restore the previous session, what is the solution?

已張貼

I have shut down my computer and in the opening again I will not be able to restore the previous session, what is the solution?

I have shut down my computer and in the opening again I will not be able to restore the previous session, what is the solution?
Vendell 3 個解決方法 28 個答案

Hello minahany, after restarting your computer, you sadly cant restore your previous session again...

Hello minahany, after restarting your computer, you sadly cant restore your previous session again...
FredMcD
  • Top 10 Contributor
4266 個解決方法 59816 個答案

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.

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

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. ''' 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
jscher2000
  • Top 10 Contributor
8783 個解決方法 71835 個答案

minahany said

I have shut down my computer and in the opening again I will not be able to restore the previous session, what is the solution?

Why do you say that??

Firefox's crash recovery feature for non-private session should kick in as long as the session history files were not erased.

After starting Firefox, check whether either of these are available (not grayed out):

  • "3-bar" menu button > Restore Previous Session
  • (menu bar) History > Restore Previous Session

If they are grayed, check either:

  • "Library" toolbar button > History > Recently Closed Windows (and within each restored window, Recently Closed Tabs)
  • (menu bar) History > Recently Closed Windows (and within each restored window, Recently Closed Tabs)

If that doesn't help...

Firefox creates numerous session history files, but because session history is only for the immediately previous session, it is unfortunately too easy to lose it. Could you start by making a backup of your existing session history files? Here's how:

Do not exit Firefox, or if you closed it, don't re-open it.

(1) To open your profile folder...

If Firefox is still running:

You can open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" (or "Show in Finder") button.

If Firefox is closed:

Type or paste the following into the Windows Run dialog or the system search box and press Enter to launch Windows Explorer:

%APPDATA%\Mozilla\Firefox\Profiles

In that folder, do you see a semi-randomly-named folder? If so, click into it. If you find multiple such folders, find the one that was most recently updated.

(2) Copy out session history files

In your profile folder, double-click into the sessionstore-backups folder. Save all files here to a safe location such as your Documents folder.

(3) What files did you find?

The kinds of files you may find among your sessionstore files are:

  • recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session)
  • recovery.baklz4: a backup copy of recovery.jsonlz4
  • previous.jsonlz4: the windows and tabs in your last Firefox session
  • upgrade.jsonlz4-build_id: the windows and tabs in the Firefox session that was live at the time of your last update
  • various .js files from Firefox 55 or earlier

Could you take a look at what you have and the date/time of the various files to see whether you think any of them would have the missing tabs?

To preview the contents of a file, you can drag and drop it onto this page, then click Scrounge URLs: https://www.jeffersonscher.com/res/scrounger.html

That tool is on my site, so please let me know if it doesn't work for you.

''minahany [[#question-1205699|said]]'' <blockquote> I have shut down my computer and in the opening again I will not be able to restore the previous session, what is the solution? </blockquote> Why do you say that?? Firefox's crash recovery feature for non-private session should kick in as long as the session history files were not erased. After starting Firefox, check whether either of these are available (not grayed out): * "3-bar" menu button > Restore Previous Session * (menu bar) History > Restore Previous Session If they are grayed, check either: * "Library" toolbar button > History > Recently Closed Windows (and within each restored window, Recently Closed Tabs) * (menu bar) History > Recently Closed Windows (and within each restored window, Recently Closed Tabs) ---- If that doesn't help... Firefox creates numerous session history files, but because session history is only for the immediately previous session, it is unfortunately too easy to lose it. Could you start by making a backup of your existing session history files? Here's how: ''Do not exit Firefox, or if you closed it, don't re-open it.'' '''(1) To open your profile folder...''' ''If Firefox is still running:'' You can open your current Firefox settings (AKA Firefox profile) folder using either * "3-bar" menu button > "?" button > Troubleshooting Information * (menu bar) Help > Troubleshooting Information * type or paste about:support in the address bar and press Enter In the first table on the page, click the "Open Folder" (or "Show in Finder") button. ''If Firefox is closed:'' Type or paste the following into the Windows Run dialog or the system search box and press Enter to launch Windows Explorer: %APPDATA%\Mozilla\Firefox\Profiles In that folder, do you see a semi-randomly-named folder? If so, click into it. If you find multiple such folders, find the one that was most recently updated. '''(2) Copy out session history files''' In your profile folder, double-click into the '''sessionstore-backups''' folder. Save all files here to a safe location such as your Documents folder. '''(3) What files did you find?''' The kinds of files you may find among your sessionstore files are: * recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session) * recovery.baklz4: a backup copy of recovery.jsonlz4 * previous.jsonlz4: the windows and tabs in your last Firefox session * upgrade.jsonlz4-''build_id'': the windows and tabs in the Firefox session that was live at the time of your last update * various .js files from Firefox 55 or earlier Could you take a look at what you have and the date/time of the various files to see whether you think any of them would have the missing tabs? To preview the contents of a file, you can drag and drop it onto this page, then click Scrounge URLs: https://www.jeffersonscher.com/res/scrounger.html That tool is on my site, so please let me know if it doesn't work for you.