Previous session not restored, all opened Tabs are lost
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Previous session not restored, all opened Tabs are lost
More and more often I'm experiencing that FF doesn't restore the Tabs opened in the previous session, but starts with a blank page. It used to happen to me a lot with Win8.1 and now with Win10.
Before closing FF I delete all the history, while before shutting down the pc a script makes a 1 to 1 backup of the FF profile with the command "robocopy C:\Firefox c:\FFProfileBackup /MIR".
If, after the problem occurs, I look for sessionstore.jsonlz4 and *.jsonlz4 files inside the \sessionstore-backups folder of the backup profile, I see that these files are not present, so I can't procede with a manual recovery of the lost tabs like suggested here.
Any suggestions on what seems to be an unsolved bug already reported over time by other users ?
Before closing FF I delete all the history, while before shutting down the pc a script makes a 1 to 1 backup of the FF profile with the command "robocopy C:\Firefox c:\FFProfileBackup /MIR".
If, after the problem occurs, I look for sessionstore.jsonlz4 and *.jsonlz4 files inside the \sessionstore-backups folder of the backup profile, I see that these files are not present, so I can't procede with a manual recovery of the lost tabs like suggested here.
Any suggestions on what seems to be an unsolved bug already reported over time by other users ?
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Re: Previous session not restored, all opened Tabs are lost
Anyone ?
Having done some searches, I understand that the problem I encountered has been reported by many other users and that the absence of *.jsonlz4 files can almost certainly be considered a FF bug.
What should I do in this case: fill the report of possible bug or join a request already opened if any ?
Having done some searches, I understand that the problem I encountered has been reported by many other users and that the absence of *.jsonlz4 files can almost certainly be considered a FF bug.
What should I do in this case: fill the report of possible bug or join a request already opened if any ?
-
- Posts: 5472
- Joined: May 13th, 2012, 10:43 am
Re: Previous session not restored, all opened Tabs are lost
Have your go the latest version , 96.0.3 ? Very early on, 96a1 had an issue with lost sessions. I am pretty sure the issue was found and fixed before release. Perhaps you still using an early beta > ?
- jscher2000
- Posts: 11763
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Previous session not restored, all opened Tabs are lost
What method do you use the delete all the history? If you use the "Clear Recent History" dialog, that also removes your session history files.glfire wrote:Before closing FF I delete all the history
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Re: Previous session not restored, all opened Tabs are lost
Yes, I have the latest version installed, 96.0.3, since Firefox automatically updates itself via the Firefox service, while I never use beta versions.TheVisitor wrote:Have your go the latest version , 96.0.3 ? Very early on, 96a1 had an issue with lost sessions. I am pretty sure the issue was found and fixed before release. Perhaps you still using an early beta > ?
The problem reported has been occurring sporadically for years, and is therefore not limited to the latest FF versions.
That's right, I always clear the history manually before closing FF, using the "Clear recent history..." feature accessible by clicking on the clock icon on the FF toolbar and then selecting the option to delete everything, leaving unchecked only "Web site settings".jscher2000 wrote:What method do you use the delete all the history? If you use the "Clear Recent History" dialog, that also removes your session history files.
But I want to reiterate that the problem occurs only sporadically and not always: it can happen a few times in a row, or even just once every two or three months.
- jscher2000
- Posts: 11763
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Previous session not restored, all opened Tabs are lost
Firefox can start writing new session history files after deletion if there is a relevant change, such as closing a tab or changing the page in a tab. These updates are written to disk as often as every 15 seconds. However, if no new file is written, it seems likely that if Firefox doesn't shut down perfectly normally, there are no session history files to fall back on.glfire wrote:That's right, I always clear the history manually before closing FF, using the "Clear recent history..." feature accessible by clicking on the clock icon on the FF toolbar and then selecting the option to delete everything, leaving unchecked only "Web site settings".jscher2000 wrote:What method do you use the delete all the history? If you use the "Clear Recent History" dialog, that also removes your session history files.
But I want to reiterate that the problem occurs only sporadically and not always: it can happen a few times in a row, or even just once every two or three months.
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Re: Previous session not restored, all opened Tabs are lost
Just out of curiosity, what altenative method can be used to delete browser history that doesn't removes my session history files ?jscher2000 wrote:What method do you use the delete all the history? If you use the "Clear Recent History" dialog, that also removes your session history files.
- jscher2000
- Posts: 11763
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Previous session not restored, all opened Tabs are lost
If you open the Library window (Ctrl+Shift+H) you could literally Select All (Ctrl+A) > Delete (Del key) to remove browsed URLs. Downloads are on a separate list.
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Re: Previous session not restored, all opened Tabs are lost
This only clears the list of visited urls, without deleting temporary browsing files, cookies and everything else.jscher2000 wrote:If you open the Library window (Ctrl+Shift+H) you could literally Select All (Ctrl+A) > Delete (Del key) to remove browsed URLs. Downloads are on a separate list.
- dickvl
- Posts: 54163
- Joined: July 18th, 2005, 3:25 am
Re: Previous session not restored, all opened Tabs are lost
Using the "Clear Recent History..." dialog to clear the browsing history manually shouldn't affect session restore.
Only if the use "Clear history when Firefox closes" to clear the history then this includes not creating a sessionstore.jsonlz4 file.
Are there recovery.jsonlz4 and recovery.baklz4 files created and updated in the sessionstore-backups folder in the Firefox profile folder?
Only if the use "Clear history when Firefox closes" to clear the history then this includes not creating a sessionstore.jsonlz4 file.
Are there recovery.jsonlz4 and recovery.baklz4 files created and updated in the sessionstore-backups folder in the Firefox profile folder?
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Re: Previous session not restored, all opened Tabs are lost
I totally agreedickvl wrote:Using the "Clear Recent History..." dialog to clear the browsing history manually shouldn't affect session restore.
recovery.jsonlz4 and recovery.baklz4 are created inside the \sessionstore-backups\ folder contained in the FF profile directory and updated accordingly to the browser.sessionstore.interval variable (every 15 seconds by default)dickvl wrote:Are there recovery.jsonlz4 and recovery.baklz4 files created and updated in the sessionstore-backups folder in the Firefox profile folder?
- dickvl
- Posts: 54163
- Joined: July 18th, 2005, 3:25 am
Re: Previous session not restored, all opened Tabs are lost
You can check sessionCheckpoints.json in the profile folder after you closed Firefox to see if there are problems reported.
- jscher2000
- Posts: 11763
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Previous session not restored, all opened Tabs are lost
Those are not in the Browsing History category, so you would clear them however you want to clear cache, etc.glfire wrote:This only clears the list of visited urls, without deleting temporary browsing files, cookies and everything else.jscher2000 wrote:If you open the Library window (Ctrl+Shift+H) you could literally Select All (Ctrl+A) > Delete (Del key) to remove browsed URLs. Downloads are on a separate list.
-
- Posts: 36
- Joined: June 4th, 2017, 9:59 am
Re: Previous session not restored, all opened Tabs are lost
The "Clear Recent History..." feature considers them all as part of the browsing history. See image below.jscher2000 wrote:Those are not in the Browsing History category ...
- jscher2000
- Posts: 11763
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Previous session not restored, all opened Tabs are lost
History is a meta label that includes numerous categories (listed in the screenshot). Browsing History is the URL list (first category). If you uncheck that first box, you can clear all the other data without clearing URLs.glfire wrote:The "Clear Recent History..." feature considers them all as part of the browsing history. See image below.jscher2000 wrote:Those are not in the Browsing History category ...