[GH-ISSUE #1208] [Android] Syncs indefinitly for large folders #802

Closed
opened 2026-02-25 22:38:09 +03:00 by kerem · 8 comments
Owner

Originally created by @Haze-sh on GitHub (Jun 20, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1208

Which version of floccus are you using?

4.15.0

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.

Android 4.15.0 Samsung A52s

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)

Nginx

Describe the Bug

The sync goes for days and never ends with the android version though I sync smoothly with the browser addon the same bookmarks file on my self-hosted webdav server.

Expected Behavior

Sync is done as expected.

To Reproduce

Use floccus android app with bookmarks folder +10000 bookmarks

Debug log provided

  • I have provided a debug log file
Originally created by @Haze-sh on GitHub (Jun 20, 2022). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1208 ### Which version of floccus are you using? 4.15.0 ### 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. Android 4.15.0 Samsung A52s ### 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) Nginx ### Describe the Bug The sync goes for days and never ends with the android version though I sync smoothly with the browser addon the same bookmarks file on my self-hosted webdav server. ### Expected Behavior Sync is done as expected. ### To Reproduce Use floccus android app with bookmarks folder +10000 bookmarks ### Debug log provided - [ ] I have provided a debug log file
Author
Owner

@marcelklehr commented on GitHub (Jun 26, 2022):

This should be fixed with v4.16.0, please try it once it's available and report back ♥️

<!-- gh-comment-id:1166534627 --> @marcelklehr commented on GitHub (Jun 26, 2022): This should be fixed with v4.16.0, please try it once it's available and report back :hearts:
Author
Owner

@Haze-sh commented on GitHub (Jul 2, 2022):

Unfortunately the problem didn't solve by v4.16.0

<!-- gh-comment-id:1172826131 --> @Haze-sh commented on GitHub (Jul 2, 2022): Unfortunately the problem didn't solve by v4.16.0
Author
Owner

@marcelklehr commented on GitHub (Jul 12, 2022):

I cannot replicate this with simply adding >10000 bookmarks over XBEL on WebDAV.

Do you have a lock file on your webdav share? Ie. if you bookmarks file is bookmarks.xbel, do you have a bookmarks.xbel.lock file in the same directory? It could also be a certificate issue: self-signed certs do not currently work on most android phones with floccus. Have you tried removing and recreating the account on android and see if that helps? Also, can you try to set up a new account with just a few bookmarks and try to sync that via your self-hosted server to check whether it's the number of bookmarks? (In the same theory: Does the progress bar change at all on android, during the time it says it's syncing?)

<!-- gh-comment-id:1181813045 --> @marcelklehr commented on GitHub (Jul 12, 2022): I cannot replicate this with simply adding >10000 bookmarks over XBEL on WebDAV. Do you have a lock file on your webdav share? Ie. if you bookmarks file is bookmarks.xbel, do you have a bookmarks.xbel.lock file in the same directory? It could also be a certificate issue: self-signed certs do not currently work on most android phones with floccus. Have you tried removing and recreating the account on android and see if that helps? Also, can you try to set up a new account with just a few bookmarks and try to sync that via your self-hosted server to check whether it's the number of bookmarks? (In the same theory: Does the progress bar change at all on android, during the time it says it's syncing?)
Author
Owner

@Haze-sh commented on GitHub (Jul 13, 2022):

Yes there is a lock file on my WebDav share. I don't think it is a certificate problem because I have another file with another account on the same WebDav and it works flawlessly. I tried removing and adding the account several times without a problem. I also tried less bookmarks and it works well. Actually the progress bar doesn't change with the case of many bookmarks.

<!-- gh-comment-id:1182616663 --> @Haze-sh commented on GitHub (Jul 13, 2022): Yes there is a lock file on my WebDav share. I don't think it is a certificate problem because I have another file with another account on the same WebDav and it works flawlessly. I tried removing and adding the account several times without a problem. I also tried less bookmarks and it works well. Actually the progress bar doesn't change with the case of many bookmarks.
Author
Owner

@marcelklehr commented on GitHub (Jul 13, 2022):

If the lock file is there and no other computer is currently syncing, you may try removing the lock file manually

<!-- gh-comment-id:1183107457 --> @marcelklehr commented on GitHub (Jul 13, 2022): If the lock file is there and no other computer is currently syncing, you may try removing the lock file manually
Author
Owner

@Haze-sh commented on GitHub (Jul 16, 2022):

@marcelklehr I waited till every computer stops syncing and the lock file isn't there anymore. Nothing changes.

<!-- gh-comment-id:1186094288 --> @Haze-sh commented on GitHub (Jul 16, 2022): @marcelklehr I waited till every computer stops syncing and the lock file isn't there anymore. Nothing changes.
Author
Owner

@Haze-sh commented on GitHub (Jul 21, 2022):

The problem was being the XBEL file doesn't have a folder structure at all. Not just a big folder but there was no folder. This works well inside the browser already working folder structure but doesn't for the android app.

<!-- gh-comment-id:1191516309 --> @Haze-sh commented on GitHub (Jul 21, 2022): The problem was being the XBEL file doesn't have a folder structure at all. Not just a big folder but there was no folder. This works well inside the browser already working folder structure but doesn't for the android app.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 22, 2023):

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.

<!-- gh-comment-id:1646370412 --> @github-actions[bot] commented on GitHub (Jul 22, 2023): 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.
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#802
No description provided.