ReDEnergy / SessionSync

SessionSync
Mozilla Public License 2.0
296 stars 31 forks source link

History panel empty, not able to restore auto saved session #87

Open miru299 opened 4 years ago

miru299 commented 4 years ago

I have experienced the problem for some time now, Usually, I manually save my session. This time, I was hoping auto session was there to provide some help. However, history tab is blank without any auto saved session.

SessionSync SessionSync2

ReDEnergy commented 4 years ago

Sorry for the issue. It's something that I know it happens for some users but I was not able to find the reason why till now. Probably I will rewrite the whole history section. One way to fix it for the moment is to reinstall the addon. Since bookmarks are already saved you won't lose anything and the History should work again.

Why I was not able to fix the bug is because it's really hard to find the root cause and when. I have History Tab working for me for months without any issue, so there seems to be something specific in some cases and unless I can somehow trigger the same error is very hard to understand what causes it :(

miru299 commented 4 years ago

Thanks for getting back to me about the issue, also acknowledging about problem

miru299 commented 4 years ago

Btw how do I completely get rid of the sessionsync without leaving any trace in AppData\Roaming\Mozilla\Firefox\Profiles****

ReDEnergy commented 4 years ago

Not sure what do you mean by leaving any trace. Everything beside bookmarks is deleted once you remove the addon. Bookmarks saved using SessionSync can be deleted manually by you from the Bookmark Menu (CTRL + SHIFT + B)

image

The addon was designed from the very first time to have bookmarks as storage. Bookmarks are never deleted automatically by the addon because I don't want to mess with that. If someone manually saved something, it's suppose to remain there until you decide to remove it. Bookmarks are personal so they are not considered addon data, so they will not be removed. Temporary data such as the one in the history tab is saved as addon data and is removed automatically if you remove/disable the addon. That is by design for all the addons out there.

burt-ie commented 4 years ago

I have this problem too

strongestFairy commented 4 years ago

I have the same issue (history list looks empty) but I can see updated files in AppData\Roaming\Mozilla\Firefox\Profiles\w***.default\sessionstore-backups sessions Is it possible restore the last session using these files? @ReDEnergy

harryfiedify commented 3 years ago

I had the same problem, Win10 Firefox 85.0.2. and was able to get the history function to work again:

  1. uninstall SessionSync (sessions are safe, stored in bookmarks folder)
  2. close Firefox and delete all files from AppData\Roaming\Mozilla\Firefox\Profiles\***\sessionstore-backups
  3. reinstall SessionSync, history function starts recording again

note that previous "history" session data is probably lost

Also see #95, this is apparently an issue with the API itself.

ReDEnergy commented 3 years ago

Thanks @harryfiedify for pointing out a solution for this issue. Having in mind that it seems to be happening out of the blue, and the only solution is to delete files from Firefox profile I believe that is very plausible to be something unrelated to the addon code but to the API itself just like I found in #95. Sadly I have no real solution for this since there's no way for me to find out what the actual issues is. Stored data seems to be corrupt somehow, but at the same time, I don't think the addon code itself can corrupt the data. It mostly happens when updating the browser from what I noticed. Will keep this open till I will be able to find a suitable solution for it.