[GH-ISSUE #1656] Git sync fails on tor-browser #1096

Open
opened 2026-02-25 22:38:59 +03:00 by kerem · 4 comments
Owner

Originally created by @balki on GitHub (Jun 21, 2024).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1656

Which version of floccus are you using?

5.2.3

How many bookmarks do you have, roughly?

300

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.

Tor browser 13.5

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

  • Works fine on firefox but fails on tor-browser
  • Previously have used on tor-browser with nextcloud bookmarks. Used to work fine (~3 years back). Don't have nextcloud instance anymore
  • I tried removing all profiles and recreating from scratch
  • Tried with empty repo and also existing repo
  • OS - Ubuntu 22.04

Let me know if more details are needed to debug. Thanks!

Debug logs

2024-06-21T19:44:24.277Z Starting sync process for account floccus@gitea.balki.me:bookmarks-tor.xbel
2024-06-21T19:44:24.461Z onSyncStart: begin
2024-06-21T19:44:24.467Z (git) init
2024-06-21T19:44:24.468Z onSyncFail
2024-06-21T19:44:24.468Z Syncing failed with A mutation operation was attempted on a database that did not allow mutations.
2024-06-21T19:44:24.480Z onSyncFail

Expected Behavior

sync working normal

To Reproduce

image

Debug log provided

  • I have provided a debug log file
Originally created by @balki on GitHub (Jun 21, 2024). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1656 ### Which version of floccus are you using? 5.2.3 ### How many bookmarks do you have, roughly? 300 ### 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. Tor browser 13.5 ### 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 * Works fine on firefox but fails on tor-browser * Previously have used on tor-browser with nextcloud bookmarks. Used to work fine (~3 years back). Don't have nextcloud instance anymore * I tried removing all profiles and recreating from scratch * Tried with empty repo and also existing repo * OS - Ubuntu 22.04 Let me know if more details are needed to debug. Thanks! ### Debug logs ``` 2024-06-21T19:44:24.277Z Starting sync process for account floccus@gitea.balki.me:bookmarks-tor.xbel 2024-06-21T19:44:24.461Z onSyncStart: begin 2024-06-21T19:44:24.467Z (git) init 2024-06-21T19:44:24.468Z onSyncFail 2024-06-21T19:44:24.468Z Syncing failed with A mutation operation was attempted on a database that did not allow mutations. 2024-06-21T19:44:24.480Z onSyncFail ``` ### Expected Behavior sync working normal ### To Reproduce ![image](https://github.com/floccusaddon/floccus/assets/189196/d9ecbac3-55bd-46f0-8ef6-79e80a04f2c1) ### Debug log provided - [x] I have provided a debug log file
Author
Owner

@github-actions[bot] commented on GitHub (Jun 21, 2024):

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.
I'm Marcel and I created floccus and have been maintaining it ever 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.
Note also that GitHub 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!
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 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.

I look forward to working with you on this issue
Cheers 💙

<!-- gh-comment-id:2183393356 --> @github-actions[bot] commented on GitHub (Jun 21, 2024): 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. I'm Marcel and I created floccus and have been maintaining it ever 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. Note also that GitHub 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! 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 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. I look forward to working with you on this issue Cheers :blue_heart:
Author
Owner

@marcelklehr commented on GitHub (Jun 22, 2024):

The git sync need IndexedDB to work, Tor Browser is likely using Firefox Private mode which doesn't support IndexedDB it seems :(

<!-- gh-comment-id:2184059173 --> @marcelklehr commented on GitHub (Jun 22, 2024): The git sync need IndexedDB to work, Tor Browser is likely using Firefox Private mode which doesn't support IndexedDB it seems :(
Author
Owner

@marcelklehr commented on GitHub (Jun 22, 2024):

There's an about:config workaround by setting dom.indexedDB.privateBrowsing.enabled to true Of course this will forego the privacy guarantees of private browsing...

<!-- gh-comment-id:2184059337 --> @marcelklehr commented on GitHub (Jun 22, 2024): There's an about:config workaround by setting dom.indexedDB.privateBrowsing.enabled to true Of course this will forego the privacy guarantees of private browsing...
Author
Owner

@balki commented on GitHub (Jun 22, 2024):

There's an about:config workaround by setting dom.indexedDB.privateBrowsing.enabled to true

I see this setting is true. Also all indexedDB settings match my firefox.

image

<!-- gh-comment-id:2184163375 --> @balki commented on GitHub (Jun 22, 2024): > There's an about:config workaround by setting dom.indexedDB.privateBrowsing.enabled to true I see this setting is true. Also all indexedDB settings match my firefox. ![image](https://github.com/floccusaddon/floccus/assets/189196/69d0ac90-0626-468d-be2c-6da8960f218b)
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#1096
No description provided.