본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox not saving tabs/losing previous sessions

  • 8 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: rareliving

more options

This has happened across two of my computers. Over the past week, seemingly randomly about 5 times so far, Firefox will not restore the tabs from my previous session (neither will it have a clickable option to anywhere) when I close and reopen it. I've had to resort to bookmarking all my tabs before I close Firefox if I remember to just to be safe. I've tried clearing my history entirely and starting fresh, which seemed to fix it before but didn't this time, and I've double-ensured the option to restore the previous session is indeed checked.

Is there a reason this could be happening or a way to fix it? It seems as if the option to restore the previous session upon reopening is not reliably working as intended.

This has happened across two of my computers. Over the past week, seemingly randomly about 5 times so far, Firefox will not restore the tabs from my previous session (neither will it have a clickable option to anywhere) when I close and reopen it. I've had to resort to bookmarking all my tabs before I close Firefox if I remember to just to be safe. I've tried clearing my history entirely and starting fresh, which seemed to fix it before but didn't this time, and I've double-ensured the option to restore the previous session is indeed checked. Is there a reason this could be happening or a way to fix it? It seems as if the option to restore the previous session upon reopening is not reliably working as intended.

모든 댓글 (8)

more options

Oh, I'd also like to mention, that sometimes this won't happen for months; even for a year until this time; but then will happen again and continue to happen for a while. It's very strange.

more options

A possible cause is that Firefox isn't closing properly.

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit

If it happens again then check the sessionstore-backups folder in the profile folder and

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 (make sure to backup the current sessionstore.jsonlz4).

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

See also this tool that you can use to inspect a compressed sessionstore file.

more options

cor-el said

A possible cause is that Firefox isn't closing properly. Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.
  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit

If it happens again then check the sessionstore-backups folder in the profile folder and

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 (make sure to backup the current sessionstore.jsonlz4).

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

See also this tool that you can use to inspect a compressed sessionstore file.

I will try closing via file > exit and the power button and report back if it happens again, and also see if renaming a backed up session restores it if it does. Anything else I should know?

Thanks.

more options

Make sure you give Firefox enough time (e.g. up to one minute) to close properly before you power down the computer, especially if you use "Clear history when Firefox closes".

more options

cor-el said

Make sure you give Firefox enough time (e.g. up to one minute) to close properly before you power down the computer, especially if you use "Clear history when Firefox closes".

I do clear my history daily, though not with that setting. I will factor this in as well, thanks.

more options

Okay. I've been closing with file>exit and the 3-bar menu button. The issue still happens sometimes.

more options

rareliving said

cor-el said
Make sure you give Firefox enough time (e.g. up to one minute) to close properly before you power down the computer, especially if you use "Clear history when Firefox closes".

I do clear my history daily, though not with that setting. I will factor this in as well, thanks.

How are you clearing history?

more options

the-edmeister said

rareliving said
cor-el said
Make sure you give Firefox enough time (e.g. up to one minute) to close properly before you power down the computer, especially if you use "Clear history when Firefox closes".

I do clear my history daily, though not with that setting. I will factor this in as well, thanks.

How are you clearing history?

History > clear history > today. I don't clear all my history as I like to save some logins and I've had this happen on days I didn't clear it as well. I used to think it was some kind of messed up history as entirely wiping my history and relogging in to everything seemed to delay this problem once for many months. It didn't these past times, however.

글쓴이 rareliving 수정일시