搜尋 Mozilla 技術支援網站

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

了解更多

Lost work in browser

  • 3 回覆
  • 0 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

Firefox update required me to restart Firefox. I was unable to save a bunch of work I had done in a particular tab because Firefox seems to have refused to connect to the site I was working at until I update. THAT SUCKS!

Firefox update required me to restart Firefox. I was unable to save a bunch of work I had done in a particular tab because Firefox seems to have refused to connect to the site I was working at until I update. THAT SUCKS!

被選擇的解決方法

Firefox normally creates an upgrade file in the sessionstore-backups folder when it updates, so you can check that.

Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

You will normally find these files in the sessionstore-backups folder:

  • previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file with Firefox closed.

  • make sure to backup the current sessionstore.jsonlz4

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

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

所有回覆 (3)

more options

選擇的解決方法

Firefox normally creates an upgrade file in the sessionstore-backups folder when it updates, so you can check that.

Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

You will normally find these files in the sessionstore-backups folder:

  • previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file with Firefox closed.

  • make sure to backup the current sessionstore.jsonlz4

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

more options

Thanks to both Dropa and cor-el for timely responses.

I find Dropa's answer unsatisfactory because Firefox should not require immediate restart without the opportunity to save work.

I presume that cor-el's answer would solve the problem, but didn't try it. I did see the files he referred to, and one specifically for the update done yesterday, but I didn't ensure that his/her solution would work. I'd still rather be allowed to save my work before performing any necessary restart.

more options

I forgot to add this tool that allow to inspect a compressed .jsonlz4 sessionstore file, so you can still give it a try to check this out.

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