Tab-Session-Manager icon indicating copy to clipboard operation
Tab-Session-Manager copied to clipboard

TSM shows 0 sessions and will not save, but there is no IndexedDB error

Open zankai2 opened this issue 7 years ago • 7 comments

Shows 0 sessions even though I have many (debug message seems because it returns null).

If I click save, it says session saved in green.

There is no IndexedDB Error message, (but I had that months ago and had to fix).

Latest auto-save would have been 2 windows having 994 tabs, which might be too many?

zankai2 avatar Jan 22 '19 18:01 zankai2

It is definitely not a "too many tabs" issue. I've run 800-1100 tabs with no problems. FYI.

irvinm avatar Jan 23 '19 20:01 irvinm

Sometimes my firefox crashes and maybe this did it somehow?

My firefox just crashed now and wiped all my sessions (except my manually saved sessions) from another session manager plugin but it's still working unlike TSM?

zankai2 avatar Jan 25 '19 18:01 zankai2

I've found that you can save hundreds of tabs per session with TSM just fine, but once you start getting around 1000 sessions saved, TSM becomes very slow to load and may actually fail to load at all. Try closing firefox, backing up your .mozilla (or whatever it is on Losedoze, I forgot) folder, and then restarting firefox and deleting all saved sessions in TSM settings. It looks like it won't be easy to reimport the sessions you want back, though.

What I did was:

  1. Close Firefox
  2. Back up my FF profile into ~/.mozilla/firefox/_________.Default User.bak-201902161036 (not actually underscores in that filename, just the UUID-ish characters of every auto-generated FF profile)
  3. Restart Firefox
  4. Open TSM settings, sessions section, and delete all sessions.
  5. Click OK in the confirmation box.
  6. Open FreeFileSync and compare the backup profile folder to the live profile folder
  7. Filter out all else but the files that only exist in the backup, and found 104 missing binary files, in what looks like the path TSM stores its sessions in, which was nearly cleared out after I deleted every session through the TSM settings. This was(mostly) it: ~/.mozilla/firefox/_________.Default User.bak-201902161036/storage/default/moz-extension+++f740c587-ab80-4b5f-ac52-595d09998e40/idb/ The session files seem to be in a folder named with 10 digits then "ssensosi.files", like so: __________ssensosi.files Idk what ur digits will be, could be different with every FF profile. But copy that folder somewhere and you should have them saved. If you copy the whole profile folder it'll def work, but that might be a lot of space. My profile is over 1GB, but I use btrfs reflinks to copy big folders like this.

Really though, idk what I'm doing. I fsking hate these monolithic browsers with their shitty APIs that try to recreate operating systems, poorly.

llewlem888 avatar Feb 16 '19 18:02 llewlem888

I also have this problem!!! My FF crashed but when I got it up again, it showed no session at all in TSM sessions list!!! I had many sessions saved!!! If I go to the TSM save backup location, they are all there!! How do I restore them to appear again on the TSM list?!? This must be some TSM bug...

onesolo avatar Feb 28 '19 18:02 onesolo

So, no news for this bug? I guess I have to move to another similar addon... :(

onesolo avatar Mar 06 '19 15:03 onesolo

Just happened to me. I can see that the most recent saved session is 5 days old in the TSM Backup folder. 5 days is a long time ago, I've been busy researching several projects. But 5 days ago would be better than nothing. How do I restore the sessions from the TSM Backup folder?

1RonRock avatar Mar 10 '19 17:03 1RonRock

Sorry for the inconvenience. Please see below for how to fix DB error: https://github.com/sienori/Tab-Session-Manager/wiki/IndexedDB-Error

I recommend using the local backup option or the cloud sync function in case the session is lost. backup

sienori avatar Apr 05 '20 18:04 sienori