Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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