X
Tap here to go to the mobile version of the site.

منتدى الدعم

Can no longer find sessionstore.js in profile. Have refreshed Firefox. Where is it? Screenshots attached

Posted

When Firefox crashes, there are times when, on restart, there is no "restore session" option. It is greyed out in all places, and all of the previous tabs are lost. I save tabs across many months.

Previously, I have saved a recent sessionstore.js file from the profile. Then, when this occurs, I go to the profile, delete and replace the sessionstore.js file with the saved one, and have a reasonably recent recovery of the tabs.

In this version of Firefox, 36.0.1, there is no sessionstore.js file in the profile (see screenshot 1). So, where is it?

There is a new folder called session-store backups (see screenshot 2). Reasonably, I looked in there.

There is no sessionstore.js file in that folder. There are files called recovery.js and recovery.bak in that folder. Each is dated today--3/6/2015

Is the new idea that if Firefox crashes and the tabs are not recoverable, that you rename the the recovery.js file as sessionstore.js and put it in the profile?

Or is the sessionstore.js file now in a new location?

I would always like to have a recent backup of sessionstore.js, having learned from past crashes that this is a good idea!

As an extra bonus, I have also added a screenshot of the profile folder and location (screenshot 4).

Many thanks.

Dr. Alan J. Lipman Washington, DC

When Firefox crashes, there are times when, on restart, there is no "restore session" option. It is greyed out in all places, and all of the previous tabs are lost. I save tabs across many months. Previously, I have saved a recent sessionstore.js file from the profile. Then, when this occurs, I go to the profile, delete and replace the sessionstore.js file with the saved one, and have a reasonably recent recovery of the tabs. In this version of Firefox, 36.0.1, there <b>is</b> no sessionstore.js file in the profile (see screenshot 1). So, where is it? There is a new folder called session-store backups (see screenshot 2). Reasonably, I looked in there. There is no sessionstore.js file in that folder. There are files called recovery.js and recovery.bak in that folder. Each is dated today--3/6/2015 Is the new idea that if Firefox crashes and the tabs are not recoverable, that you rename the the recovery.js file as sessionstore.js and put it in the profile? Or is the sessionstore.js file now in a new location? I would always like to have a recent backup of sessionstore.js, having learned from past crashes that this is a good idea! As an extra bonus, I have also added a screenshot of the profile folder and location (screenshot 4). Many thanks. Dr. Alan J. Lipman Washington, DC
Attached screenshots

Chosen solution

Thank you very much for this, Jscher.

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.0
  • Creative Cloud Desktop Plugin.v_2_0_0_0
  • Google Update
  • Shockwave Flash 16.0 r0

Application

  • Firefox 36.0.1
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
  • Support URL: https://support.mozilla.org/1/firefox/36.0.1/WINNT/en-US/

Extensions

  • Adblock Plus 2.6.7 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Adobe Acrobat - Create PDF 2.0 (web2pdfextension@web2pdf.adobedotcom) (Inactive)
  • avast! Online Security 9.0.2021.112 (wrc@avast.com) (Inactive)
  • Logitech SetPoint 6.5 ({F003DA68-8256-4b37-A6C4-350FA04494DF}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: ATI Radeon HD 4800 Series
  • adapterDescription2:
  • adapterDeviceID: 0x9440
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 1024
  • adapterRAM2:
  • adapterSubsysID: 05021002
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16492
  • driverDate: 4-29-2013
  • driverDate2:
  • driverVersion: 8.970.100.1100
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (ATI Radeon HD 4800 Series Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
philipp
  • Top 25 Contributor
  • Moderator
5304 solutions 23418 answers

hi ApersoninDC, the working of session restore has changed/improved in firefox 33. you can read up more about this at https://dutherenverseauborddelatable.wordpress.com/2014/06/26/firefox-the-browser-that-has-your-backup/

hi ApersoninDC, the working of session restore has changed/improved in firefox 33. you can read up more about this at https://dutherenverseauborddelatable.wordpress.com/2014/06/26/firefox-the-browser-that-has-your-backup/

Question owner

Does this mean that, should sessionstore.js not be available, that one takes previous.js or recovery.js and renames it as sessionstore.js, putting it in the profile folder?

If not, how does one make use of the previous.js or recovery.js files in the sessionstore-backups folder, if the browser crashes, the tabs are gone, and there is no sessionstore.js file?

Would be grateful for a clear step-by-step recovery process here, as it is not described in the linked blog. Thanks!

Does this mean that, should sessionstore.js not be available, that one takes previous.js or recovery.js and renames it as sessionstore.js, putting it in the profile folder? If not, how does one make use of the previous.js or recovery.js files in the sessionstore-backups folder, if the browser crashes, the tabs are gone, and there is no sessionstore.js file? Would be grateful for a clear step-by-step recovery process here, as it is not described in the linked blog. Thanks!
philipp
  • Top 25 Contributor
  • Moderator
5304 solutions 23418 answers

hi again, the sessionstore.js file in your profile is not available while firefox is running - it will be written once firefox exits cleanly. in case you want to restore from one of the backups, please first try to put the recovery.js file into the main profile folder and rename it to sessionstore.js, as this will contain the most recent backup available. if this didn't work then try the same with recovery.bak and previous.js...

hi again, the sessionstore.js file in your profile is not available while firefox is running - it will be written once firefox exits cleanly. in case you want to restore from one of the backups, please first try to put the recovery.js file into the main profile folder and rename it to sessionstore.js, as this will contain the most recent backup available. if this didn't work then try the same with recovery.bak and previous.js...
cor-el
  • Top 10 Contributor
  • Moderator
17466 solutions 157836 answers

Note that the upgrade.js file(s) with a build date appended in the third screenshot are created automatically when Firefox updates like happened with updating from Firefox 36.0 to 36.0.1

There is a previous.js file and recovery.js and recovery.bak files. See the comments in this file:

  • resource:///modules/sessionstore/SessionFile.jsm
Note that the upgrade.js file(s) with a build date appended in the third screenshot are created automatically when Firefox updates like happened with updating from Firefox 36.0 to 36.0.1 There is a previous.js file and recovery.js and recovery.bak files. See the comments in this file: *resource:///modules/sessionstore/SessionFile.jsm

Helpful Reply

It's difficult to get a straight answer to this question:

Under the new system, what do I have to do to restore the tabs if they don't reappear after a crash, and there is no sessionstore.js file in the profile?

What are the steps at that point?

What do I *do* with the previous.js or recovery.js file at the point?

Rename one of them as sessionstore.js?

Or what?

It's difficult to get a straight answer to this question: Under the new system, what do I have to do to restore the tabs if they don't reappear after a crash, and there is no sessionstore.js file in the profile? What are the steps at that point? What do I *do* with the previous.js or recovery.js file at the point? Rename one of them as sessionstore.js? Or what?
jscher2000
  • Top 10 Contributor
8684 solutions 70998 answers

Helpful Reply

See edits in next post

Hi ApersoninDC,

recovery.js is your currently live session. If Firefox crashes without using recovery.js to create sessionstore.js then you can manually copy recovery.js to the main level of the profile folder and rename it to sessionstore.js so Firefox finds it at startup.

previous.js as the name implies is the immediately previous session to recovery.js.

''See edits in next post'' Hi ApersoninDC, recovery.js is your currently live session. If Firefox crashes without using recovery.js to create sessionstore.js then you can manually copy recovery.js to the main level of the profile folder and rename it to sessionstore.js so Firefox finds it at startup. previous.js as the name implies is the immediately ''previous'' session to recovery.js.

Modified by jscher2000

jscher2000
  • Top 10 Contributor
8684 solutions 70998 answers

Hi ApersoninDC, let me expand on that:

recovery.js is your currently live session. If Firefox crashes without using recovery.js to create sessionstore.js and you have not yet restarted Firefox then you can manually copy recovery.js to the main level of the profile folder and rename it to sessionstore.js so Firefox finds it at startup.

previous.js as the name implies is the immediately previous session to recovery.js. If you have already restarted Firefox since the crash, make sure to preserve this file and try using this one for tab recovery.

Hi ApersoninDC, let me expand on that: recovery.js is your currently live session. If Firefox crashes without using recovery.js to create sessionstore.js '''and you have not yet restarted Firefox''' then you can manually copy recovery.js to the main level of the profile folder and rename it to sessionstore.js so Firefox finds it at startup. previous.js as the name implies is the immediately ''previous'' session to recovery.js. '''If you have already restarted Firefox since the crash, make sure to preserve this file and try using this one for tab recovery.'''

Chosen Solution

Thank you very much for this, Jscher.

Thank you very much for this, Jscher.
wysocki 0 solutions 5 answers

I manually copy recovery.js to the main level of the profile folder and rename it to sessionstore.js , but when I start FF it just gives me one tab with my home page on it. It never creates sessionstore.js on its own. The only way I've found to get my tabs and tabgroups back is to go to HISTORY |RECENTLY CLOSED WINDOWS and I click to reopen the window that had all the tabs in it. FF fails every time I restart it. Ready to go to Chrome! Is there a way I could save all my bookmarks/history/tabs/etc and do a complete deinstall/reinstall of FF?

I manually copy recovery.js to the main level of the profile folder and rename it to sessionstore.js , but when I start FF it just gives me one tab with my home page on it. It never creates sessionstore.js on its own. The only way I've found to get my tabs and tabgroups back is to go to HISTORY |RECENTLY CLOSED WINDOWS and I click to reopen the window that had all the tabs in it. FF fails every time I restart it. Ready to go to Chrome! Is there a way I could save all my bookmarks/history/tabs/etc and do a complete deinstall/reinstall of FF?

Modified by wysocki

jscher2000
  • Top 10 Contributor
8684 solutions 70998 answers

Hi wysocki, Firefox should create sessionstore.js when it shuts down. It's not there when all Firefox windows are closed? I wonder whether Firefox is crashing/hanging during shutdown. Have you seen any errors along those lines?

Also, how are you exiting out of Firefox? If you have been using the "red X" button try using the menu instead, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit
Hi wysocki, Firefox should create sessionstore.js when it shuts down. It's not there when all Firefox windows are closed? I wonder whether Firefox is crashing/hanging during shutdown. Have you seen any errors along those lines? Also, how are you exiting out of Firefox? If you have been using the "red X" button try using the menu instead, either: * "3-bar" menu button > "power" button * (menu bar) File > Exit
wysocki 0 solutions 5 answers

Was exiting with red X, tried your tip and it worked! FF now creates a sessionstore.js. I'll be watching and reporting future developments in this issue. Thanks!

Was exiting with red X, tried your tip and it worked! FF now creates a sessionstore.js. I'll be watching and reporting future developments in this issue. Thanks!
FredMcD
  • Top 10 Contributor
4245 solutions 59390 answers

Try this, open the user profile folder, and delete ALL of the sessionstore files.

Try this, open the user profile folder, and delete ALL of the sessionstore files.
Wayne Mery
  • Top 25 Contributor
  • Moderator
581 solutions 5448 answers

If anyone still sees this issue, please file a bug report at https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox

If anyone still sees this issue, please file a bug report at https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox