After automatic upgrade to 4.0.4 Collections & History lost

470 views
Skip to first unread message

Jouchai Kao

unread,
Jan 20, 2025, 10:11:40 PMJan 20
to Session Buddy Discussion
I saved a page in history at around 3 a.m. on the 18th, but when I opened the browser (Chrome) at around 1 p.m. on the 18th, SB prompted me to automatically update, but all my Collections were gone. The history column only shows the most recent 5 items. How can I restore to the state at around 3:00 a.m. on the 18th?

Session Buddy Support

unread,
Jan 20, 2025, 10:16:53 PMJan 20
to sessionbud...@googlegroups.com
Is there any error displayed in the console when Session Buddy starts up?


Hans


On Mon, Jan 20, 2025 at 8:11 PM Jouchai Kao <poy...@gmail.com> wrote:
I saved a page in history at around 3 a.m. on the 18th, but when I opened the browser (Chrome) at around 1 p.m. on the 18th, SB prompted me to automatically update, but all my Collections were gone. The history column only shows the most recent 5 items. How can I restore to the state at around 3:00 a.m. on the 18th?

--
You received this message because you are subscribed to the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sessionbuddy-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sessionbuddy-discuss/346e8c55-2c7d-48d5-acb6-834ee64d07e6n%40googlegroups.com.

acetrip

unread,
Feb 15, 2025, 7:27:43 PMFeb 15
to Session Buddy Discussion
after update all my history is not showing up, where is it?

Session Buddy Support

unread,
Feb 15, 2025, 9:20:40 PMFeb 15
to sessionbud...@googlegroups.com
Please send diagnostics and any errors that are displayed in the console on startup to sup...@sessionbuddy.com so we can help with recovery.

Diagnostics can be downloaded by going to Settings > Other and clicking on "Save diagnostics".

Hans

Jake Radcliff

unread,
Feb 21, 2025, 1:41:35 PMFeb 21
to Session Buddy Discussion
I started having this problem as well. Looks like an issue with displaying the history window.
2025-02-21_12-37-09.pngchrome_2025-02-21_12-34-40.png

session-buddy-diagnostics-2025-02-21T18_33_55.325Z.json

Session Buddy Support

unread,
Feb 21, 2025, 1:46:44 PMFeb 21
to sessionbud...@googlegroups.com

Session Buddy Support

unread,
Feb 21, 2025, 5:41:51 PMFeb 21
to sessionbud...@googlegroups.com
Quick update on this for the group.

With Jake's help, we were able to find the problem and implement a fix that will be included in the forthcoming release.

Hans


On Fri, Feb 21, 2025 at 11:41 AM Jake Radcliff <radcl...@gmail.com> wrote:

Fahad

unread,
Feb 27, 2025, 11:39:41 AMFeb 27
to Session Buddy Discussion
Hi, I'm having the same issue.

Is there a manual fix or a way to restore the data? 

Session Buddy Support

unread,
Feb 27, 2025, 12:35:38 PMFeb 27
to sessionbud...@googlegroups.com
There is a bug in Chrome that ends up saving bad data in some cases. You'll need to manually delete the bad data from history. The next release of Session Buddy will do this automatically.

To manually delete the bad entry:

1. Open the Session Buddy console 
2. Click on the Application tab
3. Expand IndexedDB on the left and select clientHistory as per the following:

image.png

You should see something similar to the above image (a table of number keys mapping to values).

4. Page through these items (click right-facing triangle icon at top) and see if there's any entries with a null value
5. If you find an entry with a null value, select it and delete it by clicking the trash icon at the top. DO NOT click the icon next to it, which will clear everything permanently.
6. Reload Session Buddy

Hans


Fahad

unread,
Mar 2, 2025, 1:40:27 PMMar 2
to Session Buddy Discussion
Hi Hans,

Thanks for the steps.

It looks like my list is empty, even though it seems to say there are 1369 entries.

Let me know what else we can try.

Thank you thus far (and sorry for reusing this thread)!

Fahad

sb.PNG

To unsubscribe from this group and stop receiving emails from it, send an email to sessionbuddy-discuss+unsub...@googlegroups.com.

Session Buddy Support

unread,
Mar 2, 2025, 1:49:59 PMMar 2
to sessionbud...@googlegroups.com
This type of error can be caused by external processes such as disk cleaners that may delete browser data. Unfortunately nothing can be done to protect against this except to store data in the cloud, which is a feature we're actively working on.

Copy/paste the code in the attached file into the console and hit enter. This should find and repair any data inconsistencies. Please screenshot the response and send it along, then reload Session Buddy to see if data loads normally.

BTW, the detection and repair of such data corruption caused by external processes will happen automatically after the next release.

Thanks,
Hans



--
You received this message because you are subscribed to the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sessionbuddy-dis...@googlegroups.com.
data-repair.txt

Fahad

unread,
Mar 2, 2025, 2:11:49 PMMar 2
to Session Buddy Discussion
OMG, that script did the trick! History and Collection are back! Thank you so much, Hans!

sb-repair.PNG



Session Buddy Support

unread,
Mar 2, 2025, 2:17:46 PMMar 2
to sessionbud...@googlegroups.com
Glad to hear it.

That said, I'm wondering if there's something we can do to prevent this kind of data issue for you going forward. Do you run any disk cleaner utilities or anything else that you can think of that might be deleting browser data files? Do you commonly run low on disk space?

Thanks,
Hans




MiNi

unread,
Mar 3, 2025, 11:06:59 AMMar 3
to Session Buddy Discussion
which script? just typing the `repair()`  manually?

Session Buddy Support

unread,
Mar 3, 2025, 12:01:53 PMMar 3
to sessionbud...@googlegroups.com
> which script?

Won't be needed after the next release, but FWIW it's the data-repair.txt file attached to my previous response in this thread.

Hans


Fahad

unread,
Mar 10, 2025, 1:32:58 PMMar 10
to Session Buddy Discussion
No, I'm not using any disk cleaners. I believe this was a self-inflicted issue. 

My PC had been up for over 30 days, I had over 200 Chrome tabs, and there was a Chrome updating pending. Due to a power outage, my PC was power cycled, and that is when the issue occurred.

Pedro Coimbra

unread,
Mar 14, 2025, 3:24:56 PMMar 14
to Session Buddy Discussion
I had about enough of this extension. Some years ago they changed the storage location of the saved sessions file from someplace (Local Storage\ ?) to Databases\ without warning, meaning my automatic backups were suposedly backing up for months something that didn't actually exist anymore on that location.
 And now, after the extension updated itself to v4, *surprise*, not only didn't migrate the SQL session data file, you know, the CORE of our data, to the new format, but also deleted the Database\ folder with said file in it (or let chrome delete it), without even a warning. And only know I realised it.
 For months that file is lost, and not a peep from you people. Don't tell me you mentioned it in your blog, like if everyone has to follow every blog of every extension one has, you should have tested the damn thing and converted the database file accordingly after the update (in v3 we could export our file in 3 or 4 text formats, so the conversion function *was there*), but if for some reason you couldn't, you should at least warn the users with a popup message directly in the browser, or opening a webpage like you do when Sbuddy is updated, telling us to convert everything to i.e csv to a safe location,  instead of a post on a blog, and then just nuke all of our data...


And no, my drive isn't encripted, no the extension console doesn't give me any errors, I assume because since the file is gone months ago, there're no incompatibility errors now...
Speaking of the console, the repair() command gives me this: Promise {<pending>}  lol, really?

Well thank you very much "buddy", but I'm going to find a similar extension that actually takes this thing seriously.
Meanwhile I found this tool of yours https://sessionbuddy.com/v4-migration/  which should be frontpage on the extension itself instead buried under several pages on your blog, and it converted my 5 month old file. Of course it couldn't be smooth, to it demanded actual google chrome and not a chrome based browser, and still only at the 2nd attempt it actually saved a real file instead fo a 0 bytes file, but at least it's something.

Session Buddy Support

unread,
Mar 15, 2025, 2:34:29 PMMar 15
to sessionbud...@googlegroups.com
Sorry this happened Pedro. I understand your frustrations. The circumstances forcing us to make changes were frustrating for us as well.

While I understand the temptation to speculate, your post makes some false assumptions I'd be remiss not to correct. Here's some context I hope will help you better understand the situation:

A couple of years ago, we started an effort to update Session Buddy to a new data storage mechanism as required by Google. Around this time, we updated Session Buddy to display a notification to prepare users for this change and urge them to backup SB and upgrade Chrome to avoid losing data. The only way you would not have seen this notification is if you had disabled extension updates or not used Session Buddy for an extended period of time.

Session Buddy v4, released a year ago, included automatic data migration. A few months after this, Chrome disabled the old database tech, making automatic migration impossible. Fortunately, manual migration was still possible since the old database file was kept around. A tool, which you found, was published to facilitate this. Then about 5 months after that, Chrome deleted that file, making manual migration impossible as well.

Unfortunately there wasn't anything that could be done to prevent this. We exercised every option available to warn users of this impending Chrome deprecation. The situation was far from ideal, but we did what we could given the circumstances forced upon us.

For users upgrading from v3 at this point, options for data recovery are unfortunately limited. If you have a recent system backup (eg, through Windows Backup, Time Machine, or a third party tool), let me know. I can help restore your Session Buddy data from that.

Thanks,
Hans


--
You received this message because you are subscribed to the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sessionbuddy-dis...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages