[GH-ISSUE #972] Syncing with Nextcloud Bookmarks stuck without doing anything #631

Closed
opened 2026-02-25 22:37:41 +03:00 by kerem · 43 comments
Owner

Originally created by @stoneubi on GitHub (Sep 27, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/972

Windows 10 - Firefox 92.0 64 bit.

Since the update from floccus 4.7.0 to 4.8.0 sync to nextcloud 21.0.4.1 ist not working any more. The bookmarks are not synching any more. Floccus addon tries to sync but the sync cycle is turning with no effect / end.

After deleting the addon and reinstalling floccus 4.7.0 via firefox addon page -> all versions sync is working as expected.

A test with version 4.8.0 leads to the same result = no synching.

I'm now on version 4.7.0 and sync works.

Hope this can be fixed. Till that the auto update on this addon is de-activated.

Beste regards

Originally created by @stoneubi on GitHub (Sep 27, 2021). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/972 Windows 10 - Firefox 92.0 64 bit. Since the update from floccus 4.7.0 to 4.8.0 sync to nextcloud 21.0.4.1 ist not working any more. The bookmarks are not synching any more. Floccus addon tries to sync but the sync cycle is turning with no effect / end. After deleting the addon and reinstalling floccus 4.7.0 via firefox addon page -> all versions sync is working as expected. A test with version 4.8.0 leads to the same result = no synching. I'm now on version 4.7.0 and sync works. Hope this can be fixed. Till that the auto update on this addon is de-activated. Beste regards
Author
Owner

@github-actions[bot] commented on GitHub (Sep 27, 2021):

Hi @stoneubi! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:928173180 --> @github-actions[bot] commented on GitHub (Sep 27, 2021): Hi @stoneubi! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@marcelklehr commented on GitHub (Sep 27, 2021):

Which version of the bookmarks app is installed on the server?

Does this also happen with v4.8.1?

<!-- gh-comment-id:928191980 --> @marcelklehr commented on GitHub (Sep 27, 2021): Which version of the bookmarks app is installed on the server? Does this also happen with v4.8.1?
Author
Owner

@imforumman commented on GitHub (Sep 27, 2021):

Bookmark is 10.0.0, but 4.7 worked with this version during the day today.

(Firefox won't let me downgrade because of an unsigned extension from GitHub and the about:config switch doesn't work without some developer version... damn, Mozilla is going Apple on us, I'm starting to be really pissed off with them, but this is off topic).

<!-- gh-comment-id:928252757 --> @imforumman commented on GitHub (Sep 27, 2021): Bookmark is 10.0.0, but 4.7 worked with this version during the day today. (Firefox won't let me downgrade because of an unsigned extension from GitHub and the about:config switch doesn't work without some developer version... damn, Mozilla is going Apple on us, I'm starting to be really pissed off with them, but this is off topic).
Author
Owner

@marcelklehr commented on GitHub (Sep 28, 2021):

Since bookmarks v10 + floccus v4.8 floccus uses a locking mechanism. It can happen that one client sets the lock without ever releasing it. Floccus should override the lock automaticall after half an hour. Can you try with v4.8.2?

If you want to try manually resetting the lock, you can run the following

$ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock
<!-- gh-comment-id:929091729 --> @marcelklehr commented on GitHub (Sep 28, 2021): Since bookmarks v10 + floccus v4.8 floccus uses a locking mechanism. It can happen that one client sets the lock without ever releasing it. Floccus should override the lock automaticall after half an hour. Can you try with v4.8.2? If you want to try manually resetting the lock, you can run the following ``` $ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock ```
Author
Owner

@stoneubi commented on GitHub (Sep 28, 2021):

Same here - Bookmarks App in Nextcloud is V 10.0.0 - my floccus is now 4.7 after manually "downgrade" - in fact a new installation. At the moment I only have one laptop with floccus installed. No additional clients. Is there any way / log where I can see if the lock was set?

<!-- gh-comment-id:929222626 --> @stoneubi commented on GitHub (Sep 28, 2021): Same here - Bookmarks App in Nextcloud is V 10.0.0 - my floccus is now 4.7 after manually "downgrade" - in fact a new installation. At the moment I only have one laptop with floccus installed. No additional clients. Is there any way / log where I can see if the lock was set?
Author
Owner

@marcelklehr commented on GitHub (Sep 28, 2021):

You can only request the lock or release it. A read method doesn't make much sense for locks. If the above command doesn't fix the problem, it's not because of locking.

<!-- gh-comment-id:929329672 --> @marcelklehr commented on GitHub (Sep 28, 2021): You can only request the lock or release it. A read method doesn't make much sense for locks. If the above command doesn't fix the problem, it's not because of locking.
Author
Owner

@stoneubi commented on GitHub (Oct 3, 2021):

Still the same on my setup. V 4.7.0 sync works perfect. All newer version are not working in my setup. Anyhow, at the moment I will stay on V4.7.0. Thanks.

<!-- gh-comment-id:932945208 --> @stoneubi commented on GitHub (Oct 3, 2021): Still the same on my setup. V 4.7.0 sync works perfect. All newer version are not working in my setup. Anyhow, at the moment I will stay on V4.7.0. Thanks.
Author
Owner

@jcwinkler commented on GitHub (Oct 9, 2021):

I have the same issue on my devices (2x Kiwi-Browser on Android, 2x Firefox on Windows 10) using floccus 4.8.2 and bookmarks 10.0.0. Can I help in any way by providing debug information etc.? (I have nextcloud on a shared hosting so on the server side I am limited, but maybe from the client side I can provide any kind of needed information.)

<!-- gh-comment-id:939268433 --> @jcwinkler commented on GitHub (Oct 9, 2021): I have the same issue on my devices (2x Kiwi-Browser on Android, 2x Firefox on Windows 10) using floccus 4.8.2 and bookmarks 10.0.0. Can I help in any way by providing debug information etc.? (I have nextcloud on a shared hosting so on the server side I am limited, but maybe from the client side I can provide any kind of needed information.)
Author
Owner

@gothmog123 commented on GitHub (Oct 11, 2021):

same issue

<!-- gh-comment-id:940374524 --> @gothmog123 commented on GitHub (Oct 11, 2021): same issue
Author
Owner

@marcelklehr commented on GitHub (Oct 13, 2021):

In order to aid in debugging, please provide client-side logs. This is slightly advanced but I'm confident some of you may be technically inclined enough to pull this off (if you've ever debugged JavaScript this will be very easy, if not you may still find your way around the inspector).

Firefox

  • Go to about:debugging
  • Click on "This firefox"
  • click on inspect button next to floccus entry
  • trigger a sync by clicking on sync now for the account of your choice.
  • go back to the inspector window and copy the logs after waiting for the sync to hang

Chrome

  • Go to chrome://extensions
  • enable Developer mode
  • click on dist/html/background.html button in floccus' entry next to "Inspect views: "
  • trigger a sync by clicking on sync now for the account of your choice
  • go back to the inspector window and copy the logs after waiting for the sync to hang

You may also have a look at the "Network" tab in the inspector window to see which requests are hanging/problematic.

<!-- gh-comment-id:942292071 --> @marcelklehr commented on GitHub (Oct 13, 2021): In order to aid in debugging, please provide client-side logs. This is slightly advanced but I'm confident some of you may be technically inclined enough to pull this off (if you've ever debugged JavaScript this will be very easy, if not you may still find your way around the inspector). #### Firefox * Go to `about:debugging` * Click on "This firefox" * click on `inspect` button next to floccus entry * trigger a sync by clicking on `sync now` for the account of your choice. * go back to the inspector window and copy the logs after waiting for the sync to hang #### Chrome * Go to `chrome://extensions` * enable `Developer mode` * click on `dist/html/background.html` button in floccus' entry next to "Inspect views: " * trigger a sync by clicking on `sync now` for the account of your choice * go back to the inspector window and copy the logs after waiting for the sync to hang You may also have a look at the "Network" tab in the inspector window to see which requests are hanging/problematic.
Author
Owner

@gothmog123 commented on GitHub (Oct 13, 2021):

replaced my email address with "myemailaddress"

background-script.js:1 2021-10-13T13:15:15.315Z Starting sync process for account myemailaddress@cloud3.linuxfabrik.io
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked)
background-script.js:11 POST https://cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock 423 (Locked)
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:3
_tryToStartAnother @ background-script.js:3
(anonymous) @ background-script.js:3
add @ background-script.js:3
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
s @ background-script.js:11
e.sendRequestWeb @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
i @ background-script.js:11
Promise.then (async)
u @ background-script.js:11
(anonymous) @ background-script.js:11
s @ background-script.js:11
e.sendRequest @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
s @ background-script.js:11
e.acquireLock @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
i @ background-script.js:11
background-script.js:11 POST https://cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock 423 (Locked)
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:3
_tryToStartAnother @ background-script.js:3
(anonymous) @ background-script.js:3
add @ background-script.js:3
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
s @ background-script.js:11
e.sendRequestWeb @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
i @ background-script.js:11
Promise.then (async)
u @ background-script.js:11
(anonymous) @ background-script.js:11
s @ background-script.js:11
e.sendRequest @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
s @ background-script.js:11
e.acquireLock @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
(anonymous) @ background-script.js:11
i @ background-script.js:11
Promise.then (async)
u @ background-script.js:11
i @ background-script.js:11
Promise.then (async)
u @ background-script.js:11
i @ background-script.js:11

<!-- gh-comment-id:942298939 --> @gothmog123 commented on GitHub (Oct 13, 2021): replaced my email address with "myemailaddress" background-script.js:1 2021-10-13T13:15:15.315Z Starting sync process for account myemailaddress@cloud3.linuxfabrik.io cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 423 (Locked) background-script.js:11 POST https://cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock 423 (Locked) (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:3 _tryToStartAnother @ background-script.js:3 (anonymous) @ background-script.js:3 add @ background-script.js:3 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 s @ background-script.js:11 e.sendRequestWeb @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 i @ background-script.js:11 Promise.then (async) u @ background-script.js:11 (anonymous) @ background-script.js:11 s @ background-script.js:11 e.sendRequest @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 s @ background-script.js:11 e.acquireLock @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 i @ background-script.js:11 background-script.js:11 POST https://cloud3.linuxfabrik.io/index.php/apps/bookmarks/public/rest/v2/lock 423 (Locked) (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:3 _tryToStartAnother @ background-script.js:3 (anonymous) @ background-script.js:3 add @ background-script.js:3 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 s @ background-script.js:11 e.sendRequestWeb @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 i @ background-script.js:11 Promise.then (async) u @ background-script.js:11 (anonymous) @ background-script.js:11 s @ background-script.js:11 e.sendRequest @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 s @ background-script.js:11 e.acquireLock @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 (anonymous) @ background-script.js:11 i @ background-script.js:11 Promise.then (async) u @ background-script.js:11 i @ background-script.js:11 Promise.then (async) u @ background-script.js:11 i @ background-script.js:11
Author
Owner

@marcelklehr commented on GitHub (Oct 13, 2021):

@gothmog123 Thanks for the quick response! In this case the problem should be resolved after waiting approximately half an hour. Alternatively, you can run the following curl command:

$ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock
<!-- gh-comment-id:942306937 --> @marcelklehr commented on GitHub (Oct 13, 2021): @gothmog123 Thanks for the quick response! In this case the problem should be resolved after waiting approximately half an hour. Alternatively, you can run the following curl command: ``` $ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock ```
Author
Owner

@gothmog123 commented on GitHub (Oct 14, 2021):

@gothmog123 Thanks for the quick response! In this case the problem should be resolved after waiting approximately half an hour. Alternatively, you can run the following curl command:

$ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock

thanks for the help! waiting worked. so it seems it does the half hour once and then it'll work normally forever after that? no problem, i can live with that

<!-- gh-comment-id:943138109 --> @gothmog123 commented on GitHub (Oct 14, 2021): > @gothmog123 Thanks for the quick response! In this case the problem should be resolved after waiting approximately half an hour. Alternatively, you can run the following curl command: > > ``` > $ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock > ``` thanks for the help! waiting worked. so it seems it does the half hour once and then it'll work normally forever after that? no problem, i can live with that
Author
Owner

@marcelklehr commented on GitHub (Oct 14, 2021):

it does the half hour once and then it'll work normally forever after that?

Yes, that's the idea :)

<!-- gh-comment-id:943166543 --> @marcelklehr commented on GitHub (Oct 14, 2021): > it does the half hour once and then it'll work normally forever after that? Yes, that's the idea :)
Author
Owner

@marcelklehr commented on GitHub (Oct 14, 2021):

Is there anyone for whom waiting does not work?

<!-- gh-comment-id:943167130 --> @marcelklehr commented on GitHub (Oct 14, 2021): Is there anyone for whom waiting does not work?
Author
Owner

@Cyberavater commented on GitHub (Oct 14, 2021):

I've waited almost for 2hrs sync not working.

<!-- gh-comment-id:943463168 --> @Cyberavater commented on GitHub (Oct 14, 2021): I've waited almost for 2hrs sync not working.
Author
Owner

@stfnx commented on GitHub (Oct 17, 2021):

OS: Windows 10 Pro 21H1 x64
Firefox: 93.0 x64
Chrome: 89.0.4389.114 (ungoogled-chromium x64)
Floccus: 4.8.2

For me syncing is working on Chrome but not on Firefox.
Waiting an hour didn't solve the issue on Firefox. Chrome is still working.

I'm not using Nextcloud Bookmarks but a WebDAV share instead.
Circle is spinning forever. After Browser restart I can click a button to see a debug log:

2021-10-17T08:05:54.540Z Starting sync process for account webdav@10.0.0.103
2021-10-17T08:05:54.549Z onSyncStart: begin
2021-10-17T08:05:54.549Z https://10.0.0.103:8081/Floccus/main.xbel.lock
2021-10-17T08:05:54.805Z Syncing failed with E017: Network error: Check your network connection and your account details
2021-10-17T08:05:54.806Z onSyncFail
2021-10-17T08:05:54.818Z Error Caught
2021-10-17T08:05:54.818Z [TypeError: NetworkError when attempting to fetch resource.]

It says I should check network connection.
But I can access and ping the server through IP and FQDN.

<!-- gh-comment-id:945073861 --> @stfnx commented on GitHub (Oct 17, 2021): OS: Windows 10 Pro 21H1 x64 Firefox: 93.0 x64 Chrome: 89.0.4389.114 (ungoogled-chromium x64) Floccus: 4.8.2 For me syncing is working on Chrome but not on Firefox. Waiting an hour didn't solve the issue on Firefox. Chrome is still working. I'm not using Nextcloud Bookmarks but a WebDAV share instead. Circle is spinning forever. After Browser restart I can click a button to see a debug log: ``` 2021-10-17T08:05:54.540Z Starting sync process for account webdav@10.0.0.103 2021-10-17T08:05:54.549Z onSyncStart: begin 2021-10-17T08:05:54.549Z https://10.0.0.103:8081/Floccus/main.xbel.lock 2021-10-17T08:05:54.805Z Syncing failed with E017: Network error: Check your network connection and your account details 2021-10-17T08:05:54.806Z onSyncFail 2021-10-17T08:05:54.818Z Error Caught 2021-10-17T08:05:54.818Z [TypeError: NetworkError when attempting to fetch resource.] ``` It says I should check network connection. But I can access and ping the server through IP and FQDN.
Author
Owner

@marcelklehr commented on GitHub (Oct 18, 2021):

mmh, it's peculiar that it doesn't just stop and show the error, though :/

<!-- gh-comment-id:945896373 --> @marcelklehr commented on GitHub (Oct 18, 2021): mmh, it's peculiar that it doesn't just stop and show the error, though :/
Author
Owner

@gothmog123 commented on GitHub (Oct 18, 2021):

sorry not working again for me. seems like it looses login credentials or something. using 4.7 instead which works flawlessly

<!-- gh-comment-id:946042604 --> @gothmog123 commented on GitHub (Oct 18, 2021): sorry not working again for me. seems like it looses login credentials or something. using 4.7 instead which works flawlessly
Author
Owner

@marcelklehr commented on GitHub (Oct 21, 2021):

sorry not working again for me

What does this mean? Is there an error message? Is it hanging again, longer than half an hour?

<!-- gh-comment-id:948953155 --> @marcelklehr commented on GitHub (Oct 21, 2021): > sorry not working again for me What does this mean? Is there an error message? Is it hanging again, longer than half an hour?
Author
Owner

@marcelklehr commented on GitHub (Oct 21, 2021):

@stfnx To keep this somewhat organized please open a new issue, since you're using a different sync method.

<!-- gh-comment-id:948954502 --> @marcelklehr commented on GitHub (Oct 21, 2021): @stfnx To keep this somewhat organized please open a new issue, since you're using a different sync method.
Author
Owner

@marcelklehr commented on GitHub (Oct 21, 2021):

As I cannot replicate this I'd appreciate if someone who experiences this could investigate using the addon inspector:

In order to aid in debugging, please provide client-side logs. This is slightly advanced but I'm confident some of you may be technically inclined enough to pull this off (if you've ever debugged JavaScript this will be very easy, if not you may still find your way around the inspector).

Firefox

  • Go to about:debugging
  • Click on "This firefox"
  • click on inspect button next to floccus entry
  • trigger a sync by clicking on sync now for the account of your choice.
  • go back to the inspector window and copy the logs after waiting for the sync to hang

Chrome

  • Go to chrome://extensions
  • enable Developer mode
  • click on dist/html/background.html button in floccus' entry next to "Inspect views: "
  • trigger a sync by clicking on sync now for the account of your choice
  • go back to the inspector window and copy the logs after waiting for the sync to hang

You may also have a look at the "Network" tab in the inspector window to see which requests are hanging/problematic.

@gothmog123 Has done this, but the issue in the logs they sent has been solved.

<!-- gh-comment-id:948956579 --> @marcelklehr commented on GitHub (Oct 21, 2021): As I cannot replicate this I'd appreciate if someone who experiences this could investigate using the addon inspector: In order to aid in debugging, please provide client-side logs. This is slightly advanced but I'm confident some of you may be technically inclined enough to pull this off (if you've ever debugged JavaScript this will be very easy, if not you may still find your way around the inspector). #### Firefox * Go to `about:debugging` * Click on "This firefox" * click on `inspect` button next to floccus entry * trigger a sync by clicking on `sync now` for the account of your choice. * go back to the inspector window and copy the logs after waiting for the sync to hang #### Chrome * Go to `chrome://extensions` * enable `Developer mode` * click on `dist/html/background.html` button in floccus' entry next to "Inspect views: " * trigger a sync by clicking on `sync now` for the account of your choice * go back to the inspector window and copy the logs after waiting for the sync to hang You may also have a look at the "Network" tab in the inspector window to see which requests are hanging/problematic. @gothmog123 Has done this, but the issue in the logs they sent has been solved.
Author
Owner

@gothmog123 commented on GitHub (Oct 22, 2021):

Hi Marcel,

Thanks for looking into this and sorry to give you a hard time.

It seems like floccus loses account credentials for me and goes back to bob@example.org:

initializing account 16348498418460.9656220917837375
background-script.js:1 2021-10-22T06:09:06.867Z Starting sync process for account bob@example.org
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
background-script.js:11 POST https://example.org/index.php/apps/bookmarks/public/rest/v2/lock 404initializing account 16348498418460.9656220917837375
background-script.js:1 2021-10-22T06:09:06.867Z Starting sync process for account bob@example.org
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 ()
background-script.js:11 POST https://example.org/index.php/apps/bookmarks/public/rest/v2/lock 404

<!-- gh-comment-id:949316926 --> @gothmog123 commented on GitHub (Oct 22, 2021): Hi Marcel, Thanks for looking into this and sorry to give you a hard time. It seems like floccus loses account credentials for me and goes back to bob@example.org: initializing account 16348498418460.9656220917837375 background-script.js:1 2021-10-22T06:09:06.867Z Starting sync process for account bob@example.org example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () background-script.js:11 POST https://example.org/index.php/apps/bookmarks/public/rest/v2/lock 404initializing account 16348498418460.9656220917837375 background-script.js:1 2021-10-22T06:09:06.867Z Starting sync process for account bob@example.org example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () example.org/index.php/apps/bookmarks/public/rest/v2/lock:1 Failed to load resource: the server responded with a status of 404 () background-script.js:11 POST https://example.org/index.php/apps/bookmarks/public/rest/v2/lock 404
Author
Owner

@mnalis commented on GitHub (Oct 23, 2021):

Losing access credentials might perhaps be related to https://github.com/floccusaddon/floccus/issues/987 and https://github.com/floccusaddon/floccus/issues/971 ?

<!-- gh-comment-id:950144547 --> @mnalis commented on GitHub (Oct 23, 2021): Losing access credentials might perhaps be related to https://github.com/floccusaddon/floccus/issues/987 and https://github.com/floccusaddon/floccus/issues/971 ?
Author
Owner

@marcelklehr commented on GitHub (Oct 23, 2021):

Mh, the cause of #971 was just that the UI wouldn't display the accounts anymore due to an error.
And in #987 the OP's log does not mention bob@example.org :/

<!-- gh-comment-id:950145100 --> @marcelklehr commented on GitHub (Oct 23, 2021): Mh, the cause of #971 was just that the UI wouldn't display the accounts anymore due to an error. And in #987 the OP's log does not mention bob@example.org :/
Author
Owner

@marcelklehr commented on GitHub (Oct 23, 2021):

At least I can remediate the endless polling for cases when the URL is wrong, so people get an error.

<!-- gh-comment-id:950145796 --> @marcelklehr commented on GitHub (Oct 23, 2021): At least I can remediate the endless polling for cases when the URL is wrong, so people get an error.
Author
Owner

@mnalis commented on GitHub (Oct 23, 2021):

That should be useful, because if people get the error immediately after the credentials are lost, they might still remember what they were doing just before that happen, which could help in finding root case

<!-- gh-comment-id:950146899 --> @mnalis commented on GitHub (Oct 23, 2021): That should be useful, because if people get the error immediately after the credentials are lost, they might still remember what they were doing just before that happen, which could help in finding root case
Author
Owner

@marcelklehr commented on GitHub (Nov 2, 2021):

The update is out and floccus shouldn't get stuck anymore.

<!-- gh-comment-id:957356099 --> @marcelklehr commented on GitHub (Nov 2, 2021): The update is out and floccus shouldn't get stuck anymore.
Author
Owner

@marcelklehr commented on GitHub (Nov 10, 2021):

@gothmog123 @stoneubi @imforumman @Cyberavater Is this fixed for you now?

<!-- gh-comment-id:965336917 --> @marcelklehr commented on GitHub (Nov 10, 2021): @gothmog123 @stoneubi @imforumman @Cyberavater Is this fixed for you now?
Author
Owner

@gothmog123 commented on GitHub (Nov 10, 2021):

Yes thank you. Actually my second bug report was my fault not floccus's sorry. But the first one is fixed definitely.

<!-- gh-comment-id:965341537 --> @gothmog123 commented on GitHub (Nov 10, 2021): Yes thank you. Actually my second bug report was my fault not floccus's sorry. But the first one is fixed definitely.
Author
Owner

@marcelklehr commented on GitHub (Nov 11, 2021):

I've also found a bug that could cause hangs in case of unexpected status codes from the server, which is fixed now.

<!-- gh-comment-id:966587085 --> @marcelklehr commented on GitHub (Nov 11, 2021): I've also found a bug that could cause hangs in case of unexpected status codes from the server, which is fixed now.
Author
Owner

@stoneubi commented on GitHub (Nov 21, 2021):

Updated to V.4.8.4 and again same issue :-(

V4 7 0 works

V4 8 4 fail

Downloaded the log file but this log file seems to be the last working one with V.4.7.0 showing successfully sync.

2021-11-21T13:15:22.963Z Starting sync process for account xxxxxxxx
2021-11-21T13:15:23.028Z Using "default" strategy
2021-11-21T13:15:23.123Z Overriding title of built-in node unfiled_____ Weitere Lesezeichen => Other Bookmarks
2021-11-21T13:15:25.533Z Loading sparse tree as necessary
2021-11-21T13:15:25.663Z { localTreeRoot:
2021-11-21T13:15:25.671Z { localDiff: [], serverDiff: [] }
2021-11-21T13:15:25.675Z { localPlan: [], serverPlan: [] }
2021-11-21T13:15:25.708Z Checking failsafe: 0/77=0
2021-11-21T13:15:25.742Z { reorderings: [] }
2021-11-21T13:15:25.743Z { reorderings: [] }
2021-11-21T13:15:25.813Z Overriding title of built-in node unfiled_____ Weitere Lesezeichen => Other Bookmarks
2021-11-21T13:15:25.866Z Successfully ended sync process for account xxxx

Is there anything I can try to solve this isse on my setup?

Thx
Stoneubi

<!-- gh-comment-id:974818179 --> @stoneubi commented on GitHub (Nov 21, 2021): Updated to V.4.8.4 and again same issue :-( ![V4 7 0 works](https://user-images.githubusercontent.com/32926093/142763634-2693c15d-8277-4025-9973-5b5af659d541.jpg) ![V4 8 4 fail](https://user-images.githubusercontent.com/32926093/142763675-95ca4baf-f55d-49a9-aec1-98ccc70d64b0.jpg) Downloaded the log file but this log file seems to be the last working one with V.4.7.0 showing successfully sync. 2021-11-21T13:15:22.963Z Starting sync process for account xxxxxxxx 2021-11-21T13:15:23.028Z Using "default" strategy 2021-11-21T13:15:23.123Z Overriding title of built-in node unfiled_____ Weitere Lesezeichen => Other Bookmarks 2021-11-21T13:15:25.533Z Loading sparse tree as necessary 2021-11-21T13:15:25.663Z { localTreeRoot: 2021-11-21T13:15:25.671Z { localDiff: [], serverDiff: [] } 2021-11-21T13:15:25.675Z { localPlan: [], serverPlan: [] } 2021-11-21T13:15:25.708Z Checking failsafe: 0/77=0 2021-11-21T13:15:25.742Z { reorderings: [] } 2021-11-21T13:15:25.743Z { reorderings: [] } 2021-11-21T13:15:25.813Z Overriding title of built-in node unfiled_____ Weitere Lesezeichen => Other Bookmarks 2021-11-21T13:15:25.866Z Successfully ended sync process for account xxxx Is there anything I can try to solve this isse on my setup? Thx Stoneubi
Author
Owner

@stoneubi commented on GitHub (Nov 21, 2021):

here some more details

Error

V4 8 4 fail_log

<!-- gh-comment-id:974819732 --> @stoneubi commented on GitHub (Nov 21, 2021): here some more details ![Error](https://user-images.githubusercontent.com/32926093/142764118-f2789f4d-201a-44f3-af86-80d4dbd572bf.jpg) ![V4 8 4 fail_log](https://user-images.githubusercontent.com/32926093/142764139-a28bf620-efc3-4518-96e7-0a945fe04fbd.jpg)
Author
Owner

@marcelklehr commented on GitHub (Nov 21, 2021):

@stoneubi The first two screenshots do not show anything informative or necessarily broken, afaict. Your inspector screenshot indicates that waiting half an hour should solve this problem.

Update: Just noticed there's more below the fold, so please scroll down in the inspector window.

<!-- gh-comment-id:974824396 --> @marcelklehr commented on GitHub (Nov 21, 2021): @stoneubi The first two screenshots do not show anything informative or necessarily broken, afaict. Your inspector screenshot indicates that waiting half an hour should solve this problem. Update: Just noticed there's more below the fold, so please scroll down in the inspector window.
Author
Owner

@Cyberavater commented on GitHub (Nov 21, 2021):

@gothmog123 @stoneubi @imforumman @Cyberavater Is this fixed for you now?

Fixed for me in google drive.

<!-- gh-comment-id:974839850 --> @Cyberavater commented on GitHub (Nov 21, 2021): > @gothmog123 @stoneubi @imforumman @Cyberavater Is this fixed for you now? Fixed for me in google drive.
Author
Owner

@stoneubi commented on GitHub (Nov 21, 2021):

The first two screenshots do not show anything informative

I wanted to show that V4.7.0 works perfect and after updateing to V4.8.4 sync is not working any more.
Also V.4.8.x never worked in my setup. I always get locked. Even waiting for some time still the same.

Just noticed there's more below the fold, so please scroll down in the inspector window.

There is just the same below. It shows the locked information again and again till sync is canceled via the "Abbruch" button.

<!-- gh-comment-id:974845482 --> @stoneubi commented on GitHub (Nov 21, 2021): > The first two screenshots do not show anything informative I wanted to show that V4.7.0 works perfect and after updateing to V4.8.4 sync is not working any more. Also V.4.8.x never worked in my setup. I always get locked. Even waiting for some time still the same. > Just noticed there's more below the fold, so please scroll down in the inspector window. There is just the same below. It shows the locked information again and again till sync is canceled via the "Abbruch" button.
Author
Owner

@marcelklehr commented on GitHub (Nov 21, 2021):

@stoneubi Can you try

  1. Starting sync
  2. Disable auto-sync
  3. Wait for at least 35min and then check
    a) the floccus account overview for errors
    b) the inspector console

This may reveal an error that is hidden by the fact that floccus may try to sync again after a sync failure without giving the opportunity to see the error.

<!-- gh-comment-id:974846513 --> @marcelklehr commented on GitHub (Nov 21, 2021): @stoneubi Can you try 1. Starting sync 2. Disable auto-sync 3. Wait for at least 35min and then check a) the floccus account overview for errors b) the inspector console This may reveal an error that is hidden by the fact that floccus may try to sync again after a sync failure without giving the opportunity to see the error.
Author
Owner

@WST1811 commented on GitHub (Dec 5, 2021):

I want to give Feedback. Using Floccus for a while on Nextcloud/Firefox. It works all the time great, thanks for the Tool. :) Today i found the Android App 4.8.4, working very good. ;)

In the last time i had problems with deleting bookmarks. I delete a bookmark, sync twice or more, but bookmark will not deleted on NC. Today i read the Thread here and try the solution: $ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock
It takes 2-4 seconds for execute, but after this, i sync again from Client with the deleted bookmarks, and the bookmarks where deleted on NC-Server.

Thanks again for this great Tool. ;)

<!-- gh-comment-id:986259021 --> @WST1811 commented on GitHub (Dec 5, 2021): I want to give Feedback. Using Floccus for a while on Nextcloud/Firefox. It works all the time great, thanks for the Tool. :) Today i found the Android App 4.8.4, working very good. ;) In the last time i had problems with deleting bookmarks. I delete a bookmark, sync twice or more, but bookmark will not deleted on NC. Today i read the Thread here and try the solution: $ curl -u "username:password" -X DELETE https://your-nextcloud.com/index.php/apps/bookmarks/public/rest/v2/lock It takes 2-4 seconds for execute, but after this, i sync again from Client with the deleted bookmarks, and the bookmarks where deleted on NC-Server. Thanks again for this great Tool. ;)
Author
Owner

@stale[bot] commented on GitHub (Dec 19, 2021):

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.

<!-- gh-comment-id:997445194 --> @stale[bot] commented on GitHub (Dec 19, 2021): 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.
Author
Owner

@marcelklehr commented on GitHub (Dec 28, 2021):

@stoneubi ?

<!-- gh-comment-id:1002013761 --> @marcelklehr commented on GitHub (Dec 28, 2021): @stoneubi ?
Author
Owner

@stale[bot] commented on GitHub (Jan 11, 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.

<!-- gh-comment-id:1010173189 --> @stale[bot] commented on GitHub (Jan 11, 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.
Author
Owner

@stoneubi commented on GitHub (Jan 28, 2022):

Updated to floccus firefox addon V4.9.0. No changes on the Nextcloud Server. Sync works now :-)

<!-- gh-comment-id:1024248971 --> @stoneubi commented on GitHub (Jan 28, 2022): Updated to floccus firefox addon V4.9.0. No changes on the Nextcloud Server. Sync works now :-)
Author
Owner

@github-actions[bot] commented on GitHub (Mar 20, 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:1476307918 --> @github-actions[bot] commented on GitHub (Mar 20, 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#631
No description provided.