Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Convert sessionstore.js to sessionstore.jsonlz4

  • 5 回覆
  • 56 有這個問題
  • 1 次檢視
  • 最近回覆由 dma_k

more options

After install Firefox 56 beta I've lost my previous session tabs. I always save it and it's important for me to recover it.

I tried to restore an old sessionstore-backups/previous.js to the main profile folder but it seems to be ignored. I've seen a new sessionstore.jsonlz4 file so I imagine the file format have changed.

How can I recover my previous session from a .js file?

Thx

After install Firefox 56 beta I've lost my previous session tabs. I always save it and it's important for me to recover it. I tried to restore an old sessionstore-backups/previous.js to the main profile folder but it seems to be ignored. I've seen a new sessionstore.jsonlz4 file so I imagine the file format have changed. How can I recover my previous session from a .js file? Thx

由 Dimas 於 修改

被選擇的解決方法

cor-el said

Did you remove the sessionstore.jsonlz4 file and copied the previous.js file to sessionstore.js?

Yes, but Firefox ignores it and at the next restart it recovers nothing. But you pointed me to the solution: delete not just sessionstore.jsonlz4 but all .jsonlz4 in sessionstore-backups too. Solved! Now it don't ignores the sessionstore.js :D Thx

從原來的回覆中察看解決方案 👍 3

所有回覆 (5)

more options

Did you remove the sessionstore.jsonlz4 file and copied the previous.js file to sessionstore.js?

more options

選擇的解決方法

cor-el said

Did you remove the sessionstore.jsonlz4 file and copied the previous.js file to sessionstore.js?

Yes, but Firefox ignores it and at the next restart it recovers nothing. But you pointed me to the solution: delete not just sessionstore.jsonlz4 but all .jsonlz4 in sessionstore-backups too. Solved! Now it don't ignores the sessionstore.js :D Thx

more options

It worked for me when I renamed the compressed sessionstore.jsonlz4 file. The devs had decided to keep the uncompressed files and made it possible to use these in case of issues as a fallback.

Note that you need to close Firefox before making changes to these files.

The sessionstore-backups folder shows both jsonlz4 versions and older .js versions of the files.

more options

I spent some time to figure out that sessionstore.js is not converted correctly by Firefox automatically. This happened to me when I tried to upgrade from 45.8.0 to 53.0.3.

When upgrading do the following:

  • Backup sessionstore-backups folder.
  • Install FF.
  • Remove all *.jsonlz4 files from sessionstore-backups folder as well as sessionstore.jsonlz4 from profile folder.
  • Copy recovery.js from backup to sessionstore.js in profile folder.
  • Start FF. Now I got session correctly restored.

由 dma_k 於 修改

more options

I still suffer from a problem: after Mozilla crashes, it removes sessionstore.jsonlz4 and once started, the old session is not restored. I periodically get into situation that session is not restored.