Cannot read properties of undefined (reading 'filter')
Which version of floccus are you using?
v5.7.0
How many bookmarks do you have, roughly?
50
Are you using other means to sync bookmarks in parallel to floccus?
No
Sync method
Git
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Brave v1.84.132
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
Sync just stopped working:
2025-11-05T08:56:02.149Z Starting sync process for account <snip>
2025-11-05T08:56:02.150Z onSyncStart: begin
2025-11-05T08:56:02.151Z (git) init
2025-11-05T08:56:02.173Z (git) fetch from remote
2025-11-05T08:56:02.930Z (git) checkout branch main
2025-11-05T08:56:02.959Z (git) tag floccus-lock-1762332962959
2025-11-05T08:56:02.961Z (git) push tag floccus-lock-1762332962959
2025-11-05T08:56:03.804Z (git) readFile
2025-11-05T08:56:03.805Z (git) parse XBEL
2025-11-05T08:56:03.808Z onSyncStart: completed
2025-11-05T08:56:03.810Z Failed to load pending continuation. Continuing with normal sync
2025-11-05T08:56:03.810Z Using "default" strategy
2025-11-05T08:56:03.811Z using the following HashSettings: {"preserveOrder":true,"hashFn":"xxhash3"}
2025-11-05T08:56:03.811Z Retrieving local tree
2025-11-05T08:56:03.812Z Filtering out unaccepted local bookmarks
2025-11-05T08:56:03.813Z Syncing failed with Cannot read properties of undefined (reading 'filter')
2025-11-05T08:56:03.813Z onSyncFail
2025-11-05T08:56:03.813Z (git) push: delete tag floccus-lock-1762332962959
Expected Behavior
Sync to work.
To Reproduce
No idea, it just broke out of the blue.
Debug log provided
- [x] I have provided a debug log file
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:
I'm using WebDAV and when this error appeared, repeated attempts didn't work, then I went to the webdrive and found that the size of bookmarks.xbel was 0. After deleting it, I clicked Sync again and it worked, but when the other devices clicked Sync once, the same error appeared again and the size was 0.
I've got the same with Brave v1.84.132. No problem with Chromium Version 142.0.7444.134
I saw in the brave floccus config the local target for bookmarks was wrong. After I set the correct bookmark folder, the sync work again. I didn´t change anything at this point. I don´t know where it comes from.
Please check the local target/bookmarkfolder under the floccus plugin options. Mabe you've got also the wrong setting.
Hi everyone 👋 Thank you for taking the time to give feedback by opening this issue! I'm sorry for the delay, I've been on a much needed vacation :)
It seems to be indeed like @getwet indicated, some browsers perhaps chromium-based browsers in general have changed the IDs of all bookmarks, this trips up floccus, unfortunately. This was already reported last week here https://github.com/floccusaddon/floccus/issues/2090 and i think that is the same issue as this one, so I'm closing this issue here for now and asking you to follow the other issue for a resolution. Rest assured, I will fix this.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.