[GH-ISSUE #2173] Larger bookmark files (5.8.3 --> 5.8.6) #1461

Open
opened 2026-02-25 22:40:04 +03:00 by kerem · 11 comments
Owner

Originally created by @merlinpimpim on GitHub (Feb 13, 2026).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/2173

Which version of floccus are you using?

5.8.6

How many bookmarks do you have, roughly?

60k

Are you using other means to sync bookmarks in parallel to floccus?

Yes. Google Sync

Sync method

WebDAV

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Chrome 143.0.7499.170

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

Hello,

I received version 5.8.6 yesterday and was on version 5.8.3 just before that:
Image

The problem since version 5.8.6 is as follows:
(Obviously, I'm opening this case because I haven't added 14% more links (maybe just 3 or 4 links), including on another Chrome browser synchronized via Google sync).
Image

I had to disable security for the synchronization to start:
Image

After synchronization, the .xbel file was much larger (which probably explains the longer synchronization times):
Image
7 MB more!

A bug ?

It's important to know because I have another PC with Chrome that is still on version 5.8.3, and there is some kind of conflict between the sizes of these two versions when they try to synchronize.
Should I force my second PC to upgrade to 5.8.6, or is there a problem with version 5.8.6 (or an intermediate version)?

Thank you.

Expected Behavior

Same index file size if no links are added when there is a Floccus version upgrade.

To Reproduce

Did not attempt to reproduce

Debug log provided

  • I have provided a debug log file
Originally created by @merlinpimpim on GitHub (Feb 13, 2026). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/2173 ### Which version of floccus are you using? 5.8.6 ### How many bookmarks do you have, roughly? 60k ### Are you using other means to sync bookmarks in parallel to floccus? Yes. Google Sync ### Sync method WebDAV ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Chrome 143.0.7499.170 ### Which version of Nextcloud Bookmarks are you using? (if relevant) _No response_ ### Which version of Nextcloud? (if relevant) _No response_ ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug Hello, I received version 5.8.6 yesterday and was on version 5.8.3 just before that: <img width="785" height="238" alt="Image" src="https://github.com/user-attachments/assets/09a39b54-5868-4dd1-a299-6f47949cdb48" /> The problem since version 5.8.6 is as follows: (Obviously, I'm opening this case because I haven't added 14% more links (maybe just 3 or 4 links), including on another Chrome browser synchronized via Google sync). <img width="465" height="208" alt="Image" src="https://github.com/user-attachments/assets/cab20efa-dd74-48c0-99a3-95419869f636" /> I had to disable security for the synchronization to start: <img width="656" height="385" alt="Image" src="https://github.com/user-attachments/assets/1706d987-8fa0-4e09-8cfc-d1596601f4bc" /> After synchronization, the .xbel file was much larger (which probably explains the longer synchronization times): <img width="788" height="182" alt="Image" src="https://github.com/user-attachments/assets/065ca235-7e17-4174-a483-52b651e8df82" /> 7 MB more! A bug ? It's important to know because I have another PC with Chrome that is still on version 5.8.3, and there is some kind of conflict between the sizes of these two versions when they try to synchronize. Should I force my second PC to upgrade to 5.8.6, or is there a problem with version 5.8.6 (or an intermediate version)? Thank you. ### Expected Behavior Same index file size if no links are added when there is a Floccus version upgrade. ### To Reproduce Did not attempt to reproduce ### Debug log provided - [ ] I have provided a debug log file
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2026):

Hello! 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings. I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. It helps when you stick around to answer follow up questions I may have, as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report and the issue cannot be solved without it, I will have to close the issue after a while. Note also that GitHub in general is a place where people meet to make software better together. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way, I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already. You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself.

Thank you for reading through this primer. I look forward to working with you on this issue! Cheers! 💙

<!-- gh-comment-id:3898081539 --> @github-actions[bot] commented on GitHub (Feb 13, 2026): Hello! :wave: Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings. I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. It helps when you stick around to answer follow up questions I may have, as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report and the issue cannot be solved without it, I will have to close the issue after a while. Note also that GitHub in general is a place where people meet to make software better *together*. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way, I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already. You can find donation options at <https://floccus.org/donate/>. Thank you! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. Thank you for reading through this primer. I look forward to working with you on this issue! Cheers! :blue_heart:
Author
Owner

@marcelklehr commented on GitHub (Feb 20, 2026):

Hi @merlinpimpim
I apologize for the delay.

I'm opening this case because I haven't added 14% more links
I had to disable security for the synchronization to start

These two statements summarize a large part of the issue, I think. The idea of the failsafe is that if the user hasn't caused the inflation of their bookmarks collection and sees this warning, that the user should not disable the failsafe, but check the bookmarks collections on both the server and in the browser and then use the manual override buttons to fix the situation. If you disable the failsafe you literally open the doors for failure. :/ I'm sorry this happened to you and I suppose I need to make this more clear in the UI messaging.

The deeper question that you are probably also wondering about is of course: Why was there an increase in the bookmarks count when you didn't cause it? It could be that you have hit a rare and obscure bug in floccus that I haven't managed to fix yet, or it could be that this was caused by syncing with Google in parallel to floccus, which is known to cause issues like this (the reason for this, if you're curious, is that browser-builtin sync often takes the liberty to change the IDs of the bookmarks in the browser, but floccus relies on these to.. well ... identify the bookmarks, so when their IDs change, it will think they are new.)

Going forward: What do I recommend?

You don't need to update any floccus instance, if it doesn't update on its own. It's great that you still have the old xbel file. The broad strokes of how to fix this would be: Put the content of the old version of the file into the current file synced by floccus. If, like you say above, you had added 3-4 legitimate additions to your collections before things went south, you can rescue them from the new, corrupted file as follows: Since XBEL is just text, you can open it in a text editor and read and write to it and you can use a diff tool to perhaps figure out what those were and insert them into the new file at the right place (make sure to overtake the "highest ID" section at the start as well).

I hope this helps, let me know how it goes.

<!-- gh-comment-id:3936769330 --> @marcelklehr commented on GitHub (Feb 20, 2026): Hi @merlinpimpim I apologize for the delay. > I'm opening this case because I haven't added 14% more links > I had to disable security for the synchronization to start These two statements summarize a large part of the issue, I think. The idea of the failsafe is that if the user *hasn't caused the inflation* of their bookmarks collection and sees this warning, that the user should *not* disable the failsafe, but check the bookmarks collections on both the server and in the browser and then use the manual override buttons to fix the situation. If you disable the failsafe you literally open the doors for failure. :/ I'm sorry this happened to you and I suppose I need to make this more clear in the UI messaging. The deeper question that you are probably also wondering about is of course: Why was there an increase in the bookmarks count when *you* didn't cause it? It could be that you have hit a rare and obscure bug in floccus that I haven't managed to fix yet, or it could be that this was caused by syncing with Google in parallel to floccus, which is known to cause issues like this (the reason for this, if you're curious, is that browser-builtin sync often takes the liberty to change the IDs of the bookmarks in the browser, but floccus relies on these to.. well ... identify the bookmarks, so when their IDs change, it will think they are new.) Going forward: What do I recommend? You don't need to update any floccus instance, if it doesn't update on its own. It's great that you still have the old xbel file. The broad strokes of how to fix this would be: Put the content of the old version of the file into the current file synced by floccus. If, like you say above, you had added 3-4 legitimate additions to your collections before things went south, you can rescue them from the new, corrupted file as follows: Since XBEL is just text, you can open it in a text editor and read and write to it and you can use a diff tool to perhaps figure out what those were and insert them into the new file at the right place (make sure to overtake the "highest ID" section at the start as well). I hope this helps, let me know how it goes.
Author
Owner

@merlinpimpim commented on GitHub (Feb 22, 2026):

First, thank you for your reply.

check the bookmarks collections on both the server and in the browser and then use the manual override buttons to fix the situation. If you disable the failsafe you literally open the doors for failure.

In my case, what should I have done? Are the manual override buttons the arrows (download/upload)?
Because before disabling the failsafe, I checked that the bookmarks seemed OK on the browser side (I say “seemed” because I have over 60k bookmarks in numerous directories).

But after that I also tried deleting the Xbel file and re-uploading my bookmarks from scratch. The result is an Xbel file of the same “new” larger size.
Does this mean that my browser bookmarks are corrupted?

Why was there an increase in the bookmarks count when you didn't cause it

Thanks for the explanations.

Since XBEL is just text, you can open it in a text editor and read and write to it and you can use a diff tool to perhaps figure out what those were and insert them into the new file at the right place (make sure to overtake the "highest ID" section at the start as well).

I didn't specify that bookmarks are password-encrypted using the mechanism implemented in Floccus. So I don't think what you're suggesting is possible?
Just in case: is it possible that an encryption issue caused the file to grow artificially (between versions 5.8.3 and 5.8.6)?

Well, having said all that, I don't see any functional problems whatsoever!
Is the file strangely larger? Yes.
Do I have corrupted bookmarks in the browser? Not found any.
Does it still sync? Yes.

Maybe it's not worth investigating further?

<!-- gh-comment-id:3940706611 --> @merlinpimpim commented on GitHub (Feb 22, 2026): First, thank you for your reply. > check the bookmarks collections on both the server and in the browser and then use the manual override buttons to fix the situation. If you disable the failsafe you literally open the doors for failure. In my case, what should I have done? Are the manual override buttons the arrows (download/upload)? Because before disabling the failsafe, I checked that the bookmarks seemed OK on the browser side (I say “seemed” because I have over 60k bookmarks in numerous directories). But after that I also tried deleting the Xbel file and re-uploading my bookmarks from scratch. The result is an Xbel file of the same “new” larger size. Does this mean that my browser bookmarks are corrupted? > Why was there an increase in the bookmarks count when _you_ didn't cause it Thanks for the explanations. > Since XBEL is just text, you can open it in a text editor and read and write to it and you can use a diff tool to perhaps figure out what those were and insert them into the new file at the right place (make sure to overtake the "highest ID" section at the start as well). I didn't specify that bookmarks are password-encrypted using the mechanism implemented in Floccus. So I don't think what you're suggesting is possible? Just in case: is it possible that an encryption issue caused the file to grow artificially (between versions 5.8.3 and 5.8.6)? Well, having said all that, I don't see any functional problems whatsoever! Is the file strangely larger? Yes. Do I have corrupted bookmarks in the browser? Not found any. Does it still sync? Yes. Maybe it's not worth investigating further?
Author
Owner

@marcelklehr commented on GitHub (Feb 22, 2026):

Are the manual override buttons the arrows (download/upload)?

Yes, exactly.

I didn't specify that bookmarks are password-encrypted using the mechanism implemented in Floccus. So I don't think what you're suggesting is possible?

ah, indeed. Yes, the encryption complicates things.

is it possible that an encryption issue caused the file to grow artificially (between versions 5.8.3 and 5.8.6)?

I don't think so, nothing was changed in that regard.

Well, having said all that, I don't see any functional problems whatsoever!
Is the file strangely larger? Yes.
Do I have corrupted bookmarks in the browser? Not found any.
Does it still sync? Yes.
Maybe it's not worth investigating further?

Mmmh, it's quite unlikely that the bookmarks file grew larger without an increase in bookmarks, especially since you received the failsafe error. (As you checked your local bookmarks in that moment, it seems likely that this is either connected with syncing with Google in parallel or due to an actual bug). Could you perhaps use a browser extension to check for duplicates to see if there are any new duplicates that you weren't aware of?

<!-- gh-comment-id:3940714170 --> @marcelklehr commented on GitHub (Feb 22, 2026): > Are the manual override buttons the arrows (download/upload)? Yes, exactly. > I didn't specify that bookmarks are password-encrypted using the mechanism implemented in Floccus. So I don't think what you're suggesting is possible? ah, indeed. Yes, the encryption complicates things. > is it possible that an encryption issue caused the file to grow artificially (between versions 5.8.3 and 5.8.6)? I don't think so, nothing was changed in that regard. > Well, having said all that, I don't see any functional problems whatsoever! > Is the file strangely larger? Yes. > Do I have corrupted bookmarks in the browser? Not found any. > Does it still sync? Yes. > Maybe it's not worth investigating further? Mmmh, it's quite unlikely that the bookmarks file grew larger without an increase in bookmarks, especially since you received the failsafe error. (As you checked your local bookmarks in that moment, it seems likely that this is either connected with syncing with Google in parallel or due to an actual bug). Could you perhaps use a browser extension to check for duplicates to see if there are any new duplicates that you weren't aware of?
Author
Owner

@merlinpimpim commented on GitHub (Feb 22, 2026):

I used https://chromewebstore.google.com/detail/quick-duplicate-bookmarks/hjiaieibgociindhongdoeokppalmabk to deduplicate my bookmarks.
I think about 1k bookmarks were cleaned up, but the Xbel file only went from 22058kb to 21523kb :(
Therefore, we can assume that the problem lies elsewhere than in the duplication of bookmarks?

<!-- gh-comment-id:3941182298 --> @merlinpimpim commented on GitHub (Feb 22, 2026): I used https://chromewebstore.google.com/detail/quick-duplicate-bookmarks/hjiaieibgociindhongdoeokppalmabk to deduplicate my bookmarks. I think about 1k bookmarks were cleaned up, but the Xbel file only went from 22058kb to 21523kb :( Therefore, we can assume that the problem lies elsewhere than in the duplication of bookmarks?
Author
Owner

@marcelklehr commented on GitHub (Feb 22, 2026):

Are you syncing the root folder?

<!-- gh-comment-id:3941257403 --> @marcelklehr commented on GitHub (Feb 22, 2026): Are you syncing the root folder?
Author
Owner

@merlinpimpim commented on GitHub (Feb 22, 2026):

Yes, from the beginning.

<!-- gh-comment-id:3941278317 --> @merlinpimpim commented on GitHub (Feb 22, 2026): Yes, from the beginning.
Author
Owner

@marcelklehr commented on GitHub (Feb 22, 2026):

When syncing the root folder, I've sometimes seen bookmarks ending up in the root folder and or in the Mobile bookmarks folder where you cannot find them easily in the Browser UI, maybe that happened to you. Could you try exporting your bookmarks from your browser as HTML and checking what this reveals?

<!-- gh-comment-id:3941294411 --> @marcelklehr commented on GitHub (Feb 22, 2026): When syncing the root folder, I've sometimes seen bookmarks ending up in the root folder and or in the Mobile bookmarks folder where you cannot find them easily in the Browser UI, maybe that happened to you. Could you try exporting your bookmarks from your browser as HTML and checking what this reveals?
Author
Owner

@merlinpimpim commented on GitHub (Feb 22, 2026):

I don't quite understand what I should be looking for in the HTML export, but I can say right away that:

  • I only have a dozen favorites in the root folder
  • I also have favorites in Mobile Bookmarks (which is normal and was there before: these are the bookmarks from my mobile device that Google Sync synchronizes with my PC).

The deduplication tool mentioned above took these folders into account. And for example, I have no duplicates between my mobile favorites and the rest.
(I have about 500 favorites in the mobile bookmarks folder).

For your information, I use Floccus as follows:
Mobile device <--GSync--> Personal PC <--Floccus and webdav on a self-hosted space--> Work PC (where the admin has blocked Google Sync for everyone).

<!-- gh-comment-id:3941361254 --> @merlinpimpim commented on GitHub (Feb 22, 2026): I don't quite understand what I should be looking for in the HTML export, but I can say right away that: - I only have a dozen favorites in the root folder - I also have favorites in Mobile Bookmarks (which is normal and was there before: these are the bookmarks from my mobile device that Google Sync synchronizes with my PC). The deduplication tool mentioned above took these folders into account. And for example, I have no duplicates between my mobile favorites and the rest. (I have about 500 favorites in the mobile bookmarks folder). For your information, I use Floccus as follows: **Mobile device** <--GSync--> **Personal PC** <--Floccus and webdav on a self-hosted space--> **Work PC** (where the admin has blocked Google Sync for everyone).
Author
Owner

@merlinpimpim commented on GitHub (Feb 22, 2026):

When I have some time, I will try the following procedure:
Install a separate “new” version of Chrome (Chrome beta, for example), install Floccus, import my old Xbel (lightweight version), export an HTML file of the favorites imported by Floccus, and compare (full text) this HTML file with the one exported from my usual Chrome.
What do you think?

<!-- gh-comment-id:3941395402 --> @merlinpimpim commented on GitHub (Feb 22, 2026): When I have some time, I will try the following procedure: Install a separate “new” version of Chrome (Chrome beta, for example), install Floccus, import my old Xbel (lightweight version), export an HTML file of the favorites imported by Floccus, and compare (full text) this HTML file with the one exported from my usual Chrome. What do you think?
Author
Owner

@marcelklehr commented on GitHub (Feb 22, 2026):

Yes, that seems like a good strategy! I wasn't sure how best to get you to a point where you could see the actual contents of the encrypted xbel file

<!-- gh-comment-id:3941418719 --> @marcelklehr commented on GitHub (Feb 22, 2026): Yes, that seems like a good strategy! I wasn't sure how best to get you to a point where you could see the actual contents of the encrypted xbel file
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#1461
No description provided.