X
Pritisnite ovdje da biste otišli na mobilnu verziju stranice.

Forum podrške

FF won't restore old session anymore (blank tab)

Objavljeno

Usually the very first tab that loads in Firefox is the "Oops, something went wrong, do you want to restore your last session?" one. Since today the tab doesn't show up anymore all of a sudden.

Firefox is still using 1-2gb of RAM (like the old, huge session is loaded), even though the only tab that's open is the one I'm using to write this.

The "profiles/xxxxx.default/sessionstore.jsonlz4" file is almost 70mb. I already deleted it and used the other 70mb one that was created yesterday ("sessionstore-backups/recovery.jsonlz4") instead but the first tab still loads up empty and FF is pretty slow/kind of laggy. "History > Restore Previous Session" is greyed out and there's nothing in "History > Recently Closed Windows".

I just updated to 68.0.1 but that didn't help either.

Any ideas how I can make FF load the old session or at least make it give me the option to restore it?

Usually the very first tab that loads in Firefox is the "Oops, something went wrong, do you want to restore your last session?" one. Since today the tab doesn't show up anymore all of a sudden. Firefox is still using 1-2gb of RAM (like the old, huge session is loaded), even though the only tab that's open is the one I'm using to write this. The "profiles/xxxxx.default/sessionstore.jsonlz4" file is almost 70mb. I already deleted it and used the other 70mb one that was created yesterday ("sessionstore-backups/recovery.jsonlz4") instead but the first tab still loads up empty and FF is pretty slow/kind of laggy. "History > Restore Previous Session" is greyed out and there's nothing in "History > Recently Closed Windows". I just updated to 68.0.1 but that didn't help either. Any ideas how I can make FF load the old session or at least make it give me the option to restore it?
Citiraj

Dodatni detalji o sistemu

Instalirani priključci

  • Shockwave Flash 32.0 r0

Aplikacija

  • Korisnički agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Više informacija

jscher2000
  • Top 10 Contributor
8568 rješenja 70054 odgovora
Objavljeno

Neph said

Usually the very first tab that loads in Firefox is the "Oops, something went wrong, do you want to restore your last session?" one. Since today the tab doesn't show up anymore all of a sudden.

Hi, actually that page should only appear if (1) Firefox crashed instead of shutting down correctly, and (2) Firefox's standard automatic crash recovery failed.

I think your Reddit thread might be more up-to-date than this one?

https://www.reddit.com/r/firefox/comments/cexlis/ff_wont_restore_old_session_anymore/

If you get a chance to try the suggestions there, let us know how it goes.

''Neph [[#question-1265004|said]]'' <blockquote> Usually the very first tab that loads in Firefox is the "Oops, something went wrong, do you want to restore your last session?" one. Since today the tab doesn't show up anymore all of a sudden.</blockquote> Hi, actually that page should only appear if (1) Firefox crashed instead of shutting down correctly, and (2) Firefox's standard automatic crash recovery failed. I think your Reddit thread might be more up-to-date than this one? https://www.reddit.com/r/firefox/comments/cexlis/ff_wont_restore_old_session_anymore/ If you get a chance to try the suggestions there, let us know how it goes.
Je li vam ovo pomoglo?
Citiraj
SHAIN 0 rješenja 12 odgovora
Objavljeno

Mozilla changed the format of session backup files and that means that the previous way of restoring sessions needed updating.

   -Close the Firefox browser. Make sure no instance of the browser is running.
   -Open the profile folder and rename the current session file sessionstore.jsonlz4 to sessionstore-backup.jsonlz4.
   -Open the sessionstore-backups folder of the profile.
   -Rename recovery.jsonlz4 to recovery-backup.jsonlz4.
   -Rename recovery.backlz4 to recovery-backup.backlz4.
   -Copy the session restore backup that you want to restore, e.g. previous.jsonlz4.
   Go back to the root directory of the Firefox profile.
  - Paste the copied file to the root folder.
  - Rename it to sessionstore.jsonlz4.
  - Restart the Firefox browser.
 -  Firefox might pick up the session automatically. If it does not, press the Alt-key on your keyboard and select History > Restore Previous Session.
Mozilla changed the format of session backup files and that means that the previous way of restoring sessions needed updating. -Close the Firefox browser. Make sure no instance of the browser is running. -Open the profile folder and rename the current session file sessionstore.jsonlz4 to sessionstore-backup.jsonlz4. -Open the sessionstore-backups folder of the profile. -Rename recovery.jsonlz4 to recovery-backup.jsonlz4. -Rename recovery.backlz4 to recovery-backup.backlz4. -Copy the session restore backup that you want to restore, e.g. previous.jsonlz4. Go back to the root directory of the Firefox profile. - Paste the copied file to the root folder. - Rename it to sessionstore.jsonlz4. - Restart the Firefox browser. - Firefox might pick up the session automatically. If it does not, press the Alt-key on your keyboard and select History > Restore Previous Session.
Je li vam ovo pomoglo?
Citiraj

Vlasnik pitanja

jscher2000 said

Hi, actually that page should only appear if (1) Firefox crashed instead of shutting down correctly, and (2) Firefox's standard automatic crash recovery failed. I think your Reddit thread might be more up-to-date than this one? https://www.reddit.com/r/firefox/comments/cexlis/ff_wont_restore_old_session_anymore/ If you get a chance to try the suggestions there, let us know how it goes.

I'm aware, I always shut down FF through the Task Manager to make sure that this popup always shows up because going through the "x" and the "are you sure you want to close all tabs" dialog made me lose my session before ("restore previous session" was greyed out too).

I was hoping that someone here might have come across this before.

SHAIN said

Mozilla changed the format of session backup files and that means that the previous way of restoring sessions needed updating.

I only updated FF after restoring my old session didn't work. What you posted is also suggested here and that's what I already tried to do but it didn't work. Alt-clicking on "History" doesn't open the dropdown menu.

''jscher2000 [[#answer-1238625|said]]'' <blockquote> Hi, actually that page should only appear if (1) Firefox crashed instead of shutting down correctly, and (2) Firefox's standard automatic crash recovery failed. I think your Reddit thread might be more up-to-date than this one? https://www.reddit.com/r/firefox/comments/cexlis/ff_wont_restore_old_session_anymore/ If you get a chance to try the suggestions there, let us know how it goes. </blockquote> I'm aware, I always shut down FF through the Task Manager to make sure that this popup always shows up because going through the "x" and the "are you sure you want to close all tabs" dialog made me lose my session before ("restore previous session" was greyed out too). I was hoping that someone here might have come across this before. ''SHAIN [[#answer-1238658|said]]'' <blockquote> Mozilla changed the format of session backup files and that means that the previous way of restoring sessions needed updating. </blockquote> I only updated FF after restoring my old session didn't work. What you posted is also suggested [https://www.ghacks.net/2013/06/03/how-to-restore-firefox-sessions-if-session-restore-is-not-working-correctly/ here] and that's what I already tried to do but it didn't work. Alt-clicking on "History" doesn't open the dropdown menu.
Je li vam ovo pomoglo?
Citiraj
jscher2000
  • Top 10 Contributor
8568 rješenja 70054 odgovora
Objavljeno

Hmm, while crashing Firefox is a pretty reliable way to get an automatic session recovery, it also could corrupt the session history files. A safer way is:

(1) Set Firefox to Restore Previous Session automatically on the Options page:

(2) Shut down using "Exit" from the menu, either:

  • "3-bar" menu button > Exit
  • (menu bar) File > Exit
Hmm, while crashing Firefox is a pretty reliable way to get an automatic session recovery, it also could corrupt the session history files. A safer way is: (1) Set Firefox to Restore Previous Session automatically on the Options page: <center><img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2019-07-19-16-33-20-a04b40.png"></center> (2) Shut down using "Exit" from the menu, either: * "3-bar" menu button > Exit * (menu bar) File > Exit
Je li vam ovo pomoglo?
Citiraj
cor-el
  • Top 10 Contributor
  • Moderator
17334 rješenja 156717 odgovora
Objavljeno

Firefox keeps a lot of data in memory that is only written to the profile folder when you close Firefox properly. This includes disk cache management files. Using the Windows Task Manager to close Firefox can cause your profile folder to get corrupted and you shouldn't do this.

Firefox checks the sessionCheckpoints.json file in the profile folder at startup to check whether Firefox did close properly and that everything was saved to the profile folder.


You can look at this tool to inspect a compressed sessionstore file.

Firefox keeps a lot of data in memory that is only written to the profile folder when you close Firefox properly. This includes disk cache management files. Using the Windows Task Manager to close Firefox can cause your profile folder to get corrupted and you shouldn't do this. Firefox checks the sessionCheckpoints.json file in the profile folder at startup to check whether Firefox did close properly and that everything was saved to the profile folder. ---- You can look at this tool to inspect a compressed sessionstore file. *https://www.jeffersonscher.com/res/scrounger.html
Je li vam ovo pomoglo?
Citiraj

Vlasnik pitanja

jscher2000 said

(1) Set Firefox to Restore Previous Session automatically on the Options page:

I don't want it to restore everything automatically, as in open all the tabs again. I often use session restore to keep a list of pages that have stuff I have to look at, so I just keep them in session restore until I have the time to look at them.

cor-el said

You can look at this tool to inspect a compressed sessionstore file.

I did, the author posted a link in the reddit thread (only the older version worked), but it's a really, really long list with at least 100 windows and over 1000 tabs. There are even a lot of closed tabs from May and June and websites that I'm sure shouldn't even be in there. It's simply way too big of a list to find the important tabs again.

Is there no way to make Firefox read the file properly again?

''jscher2000 [[#answer-1238890|said]]'' <blockquote> (1) Set Firefox to Restore Previous Session automatically on the Options page: </blockquote> I don't want it to restore everything automatically, as in open all the tabs again. I often use session restore to keep a list of pages that have stuff I have to look at, so I just keep them in session restore until I have the time to look at them. ''cor-el [[#answer-1238930|said]]'' <blockquote> You can look at this tool to inspect a compressed sessionstore file. *https://www.jeffersonscher.com/res/scrounger.html </blockquote> I did, the author posted a link in the reddit thread (only the older version worked), but it's a really, really long list with at least 100 windows and over 1000 tabs. There are even a lot of closed tabs from May and June and websites that I'm sure shouldn't even be in there. It's simply way too big of a list to find the important tabs again. Is there no way to make Firefox read the file properly again?
Je li vam ovo pomoglo?
Citiraj
jscher2000
  • Top 10 Contributor
8568 rješenja 70054 odgovora
Objavljeno

I updated the code that generates the HTML list with the ability to dig out an embedded session: https://www.jeffersonscher.com/ffu/scrounger.html

That's useful for reference/clicking, but I it still don't have a feature to extract the embedded session to its own file.

I updated the code that generates the HTML list with the ability to dig out an embedded session: https://www.jeffersonscher.com/ffu/scrounger.html That's useful for reference/clicking, but I it still don't have a feature to extract the embedded session to its own file.
Je li vam ovo pomoglo?
Citiraj
jscher2000
  • Top 10 Contributor
8568 rješenja 70054 odgovora
Objavljeno

I added a button to find and save the first embedded session. That would provide the option to rename the file to sessionstore.js (at the main level of the profile folder) or recovery.js (in the sessionstore-backups folder) to try to get Firefox to use it. Note that you probably need to hide all the newer .jsonlz4 files in order for that to happen.

https://www.jeffersonscher.com/ffu/scrounger.html

If you do not see the updated options, reload the page bypassing the cache (Ctrl+Shift+r).

There is a four-second delay before the page checks for an embedded session and enables the embedded session button. Hopefully that's enough time for your large file (I'm testing with a 1MB file).

I added a button to find and save the first embedded session. That would provide the option to rename the file to sessionstore.js (at the main level of the profile folder) or recovery.js (in the sessionstore-backups folder) to try to get Firefox to use it. Note that you probably need to hide all the newer .jsonlz4 files in order for that to happen. https://www.jeffersonscher.com/ffu/scrounger.html If you do not see the updated options, reload the page bypassing the cache (Ctrl+Shift+r). There is a four-second delay before the page checks for an embedded session and enables the embedded session button. Hopefully that's enough time for your large file (I'm testing with a 1MB file).
Je li vam ovo pomoglo?
Citiraj
Postavite pitanje

Morate se prijaviti na račun da biste odgovarali na poruke. Molimo postavite novo pitanje, ako još uvijek nemate račun.