"Restore previous session" suddenly gone on my Mac desktop?
I've had about 15 or so tabs that open every day on launch. That didn't happen yesterday, and "restore previous session" is no longer in the menu. I was keeping these tabs open for reference and I want to get them back. I'm not aware of having experienced a crash, although the previous session has always restored after a crash. Don't know if this coincided with an update, either, as I have FF set to update automatically. FF prefs are still set to "show windows and tabs from last time." I NEVER use “clear browser history.”
Any ideas about whether it's possible to bring back that last session after one or two days?? Tried to look back through Time Machine on my Mac but I have no idea of what file I'd even be looking for, where it would be, or whether that would actually restore the last session before this happened.
Mac 21.5" desktop, OS 10.113.4, FF 60.0.1
Help?! Thank you!!!
この投稿は Mickey により
選ばれた解決策
You need to place the sessionstore.jsonlz4 from the Time Machine backup in the Firefox profile folder to replace the current sessionstore.jsonlz4 file. This file is only there when Firefox is closed completely (Firefox -> Quit Firefox)
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:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox
You can first inspect that sessionstore.jsonlz4 file to see if it has the content you are looking for.
この回答をすべて読む 👍 1すべての返信 (9)
In case you use "Clear history when Firefox closes" or otherwise clear history.
- do not clear the Browsing History
- Options/Preferences -> Privacy & Security
Firefox will: "Use custom settings for history":: [X] "Clear history when Firefox closes" -> Settings - https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox
- clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data
- clearing "Cookies" will remove all selected cookies including cookies with an "Allow" exception you may want to keep
Thank you, cor-el, but I never use “clear history,” and FF is still set to “show windows and tabs from last time” as always.
cor-el said
In case you use "Clear history when Firefox closes" or otherwise clear history...
Did you check that you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History)?
- Options/Preferences -> Privacy & Security
Firefox will: "Use custom settings for history" - remove checkmark: [ ] "Always use Private Browsing mode"
Thanks again, cor-el. No, I do not use private browsing mode, and I never changed any settings before this problem happened.
Do you have any idea of how I can solve my problem and somehow restore that last session and bring back all of those tabs?
You would need to look for sessionstore.jsonlz4 in the profile folder.
- ~/Library/Application Support/Firefox/Profiles/<profile>/
- https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
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:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox
Do you know how I can use Time Machine to restore this file so that it opens a FF session with those lost tabs? I've located this file from a few days ago, but don't know what to do with it so that I can restore that previous session.
この投稿は Mickey により
選ばれた解決策
You need to place the sessionstore.jsonlz4 from the Time Machine backup in the Firefox profile folder to replace the current sessionstore.jsonlz4 file. This file is only there when Firefox is closed completely (Firefox -> Quit Firefox)
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:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox
You can first inspect that sessionstore.jsonlz4 file to see if it has the content you are looking for.
Did you already check the "Recently closed windows" list? Sometimes users close windows individually instead of using Quit, and in that case, Firefox should show the three most recently closed windows on that menu after the session is restored.
HUGE THANKS to you, cor-el!! You're my hero—thank you for being so patient and walking me through this.
Your last set of instructions, especially the tidbit about Firefox having to be closed while restoring the sessionstore file, simply did the trick. I stopped overthinking it—I closed FF, restored the file through Time Machine, and did nothing else. I left the restored file alone instead of moving it to where I thought it belonged. Then I reopened FF and—BAM!—all of those tabs were back!!!
- -))