mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-26 06:35:59 +03:00
[GH-ISSUE #1252] WebDAV Syncing stuck #832
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#832
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lschricke on GitHub (Sep 9, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1252
Which version of floccus are you using?
4.17.1
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.
Firefox 104.0.2 (64-bit)
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)
The box.com webdav server
Describe the Bug
Hello!
First of all, I find this tool very useful, so many thanks to the authors!
The bug I'm experiencing is that the Syncing for my two folders seems to be stuck. It stays in "Syncing" mode until I cancel it.
Here is the log file:
Expected Behavior
The syncing process finishes after some time.
To Reproduce
Not sure if this issue is easily reproducible. Is it related to Firefox? To webdav and box.com service? To Floccus itself? To the lock file maybe?
Any help is appreciated.
Thanks and have good day!
Debug log provided
@marcelklehr commented on GitHub (Sep 17, 2022):
Hello @lschricke
Sorry for the delay. I'm busy with work nowadays, but thank you for taking the time to give feedback.
It appears that a recent sync run did not finish and left a remnant lock file. You may simply delete
my-bookmarks.xbel.lockin your box.com files and sync should work again. Also see the last faq: https://floccus.org/faq/@lschricke commented on GitHub (Sep 19, 2022):
Hello @marcelklehr, thanks for your reply 👍. I did remove the lock files. Hopefully this will work fine!
Cheers!
@lschricke commented on GitHub (Sep 21, 2022):
Hello, it did not really work I think. In fact the lock files get re-created afterwards but are never deleted from the box.com account. Is this normal?
Thanks
@lschricke commented on GitHub (Sep 29, 2022):
Hi @marcelklehr ,
In case it helps, here is a screenshot of the problematic lock file in the box.com account:
Do you have an idea of what might causing the issue here?
Cheers!
Lucas
@marcelklehr commented on GitHub (Oct 7, 2022):
I don't seem to be able to reproduce this. In my experiments floccus continues with sync if the lock file is older than 15minutes :/
@marcelklehr commented on GitHub (Oct 7, 2022):
Can you query the lock file using curl and check the headers maybe? Would be interesting to see if Last-Modified actually shows the correct value.
@jdelker commented on GitHub (Oct 19, 2022):
Hey folks,
I'm also affected by this problem, but I suspect a different cause.
My Scenario: Floccus 4.17.1 with 2 "Nextcloud-Bookmarks Sync" shares on different folders.
Despite some early adopter bugs ;), this setup has operated fine for the last months/years.
Now, for quite some time, I also experience this "lock" on multiple devices (all Firefox).
From my recent observations I encounter this situation regularly (if not always?), when the particular Windows or Mac host is woke from hibernation, I notice that Floccus shows a current sync operation, but without anything happening.
In fact, it stays in that state basically permanently. How long this state persisted can be seen on the others share "Last synchronized" message, which not seldom shows "x days ago" - with a configured sync interval of 1h!
Since this situation does not recover automatically as I would conclude from your FAQ message about stale locks and the 30min lock override, I assume that this is not related to a lock file present on the server.
@jdelker commented on GitHub (Oct 19, 2022):
I figured, that disabling/enabling the floccus extension does recover the problem!
Sync starts directly after that and completes successfully after roughly 1min.
@jdelker commented on GitHub (Nov 3, 2022):
@marcelklehr: I see this is still tagged as "waiting for more information". Is there anything I can provide for this to continue?
If you believe, that I described a totally different scenario - for the same problem observation - let me know, and I open a new issue for that.
@jdelker commented on GitHub (Nov 3, 2022):
Just an idea:
May it be possible that Floccus is just trapped within a WebDAV request, that - for what ever reason - did not receive a response and is now basically waiting forever due to a missing timeout?
What logs or stack-dumps could I gather, to find out what Floccus is waiting for?
@marcelklehr commented on GitHub (Nov 3, 2022):
This would be the case, as WebDAV and Nextcloud Bookmarks have to different locking mechanisms. Sorry for the delay.
@marcelklehr commented on GitHub (Nov 3, 2022):
ping @lschricke
@jdelker commented on GitHub (Nov 18, 2022):
FYI: I've created a new issue for the Nextcloud Bookmarks sync, due to it's possible different nature.
However, I still see a strong similarity.
Despite my previous assumption, that this is more a "locked-client" thing, rather than a central lock-file issue, I have now evidence, that this is indeed related to a central locking problem on the server.
@marcelklehr commented on GitHub (Nov 19, 2022):
When floccus appears to be hanging/stuck can you do the following to provide client-side logs while sync is running.
Firefox
about:debuggingdebugbutton next to floccus entrysync nowfor the account of your choice.Chrome
chrome://extensionsDeveloper modedist/html/background.htmlbutton in floccus' entry next to "Inspect views: "sync nowfor the account of your choice@stale[bot] commented on GitHub (Dec 3, 2022):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@github-actions[bot] commented on GitHub (Dec 12, 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.