[GH-ISSUE #709] Updated to 4.4.2 and nothing is working on multiple clients #453

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

Originally created by @dsiminiuk on GitHub (Oct 27, 2020).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/709

Describe the bug
Sync doesn't work at all. Progress bar sits at 5% (?) and never moves, never times out (or I'm not patient enough) :)
Clicking the "Debug Logs" button does not render a log file.

To Reproduce
Setup/import account, click sync or upgrade to 4.4.2.
Makes no difference what settings you use, merge local, merge remote, trigger from scratch (dangerous).
Firewall is disabled.

Expected behavior
Sync would happen

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Vivaldi
  • Browser Version 3.4.2066.86
  • Floccus version: 4.4.2
  • Floccus sync method: nextcloud legacy

Server (please complete the following information):

  • OS: Ubuntu 18.04.5 LTS
  • Nextcloud version: 18.0.10
  • Bookmarks app version: 3.4.5 (updated today but made no difference)

Debug log
CAN'T PRODUCE IT! see above.

image

Originally created by @dsiminiuk on GitHub (Oct 27, 2020). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/709 **Describe the bug** Sync doesn't work at all. Progress bar sits at 5% (?) and never moves, never times out (or I'm not patient enough) :) Clicking the "Debug Logs" button does not render a log file. **To Reproduce** Setup/import account, click sync or upgrade to 4.4.2. Makes no difference what settings you use, merge local, merge remote, trigger from scratch (dangerous). Firewall is disabled. **Expected behavior** Sync would happen **Desktop (please complete the following information):** - OS: Windows 10 - Browser Vivaldi - Browser Version 3.4.2066.86 - Floccus version: 4.4.2 - Floccus sync method: nextcloud legacy **Server (please complete the following information):** - OS: Ubuntu 18.04.5 LTS - Nextcloud version: 18.0.10 - Bookmarks app version: 3.4.5 (updated today but made no difference) **Debug log** CAN'T PRODUCE IT! see above. ![image](https://user-images.githubusercontent.com/5713547/97313714-f1db9e00-1834-11eb-8eae-4fb0d88e1af3.png)
kerem 2026-02-25 22:37:12 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

Are you sure you're using "nextcloud legacy"? Your screenshot reads "nextcloud-folders". The legacy sync method was deprecated starting in v4.0 and has been removed in v4.4.x.

If the debug log is not available you can debug via browser tools as follows:

Firefox

  • Go to about:debugging
  • click on debug 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 finish

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 finish
<!-- gh-comment-id:717288000 --> @marcelklehr commented on GitHub (Oct 27, 2020): Are you sure you're using "nextcloud legacy"? Your screenshot reads "nextcloud-folders". The legacy sync method was deprecated starting in v4.0 and has been removed in v4.4.x. If the debug log is not available you can debug via browser tools as follows: #### Firefox * Go to `about:debugging` * click on `debug` 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 finish #### 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 finish
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

It just occurred to me that you may likely experience an uncleared lock. To clear it, you can go to your nextcloud files, enable the display of hidden files and delete all files named .floccus-xxxxx.lock.

<!-- gh-comment-id:717288894 --> @marcelklehr commented on GitHub (Oct 27, 2020): It just occurred to me that you may likely experience an uncleared lock. To clear it, you can go to your nextcloud files, enable the display of hidden files and delete all files named `.floccus-xxxxx.lock`.
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

I'm using Nextcloud Bookmarks, sorry.

chrom://extensions redirects to vivaldi://extensions/

Already in developer mode, that's how I uploaded the crx file.

Regarding your lock file idea, that could be the case. It would explain why nothing is moving on all my browsers. Now to figure out how to display hidden files...

<!-- gh-comment-id:717290870 --> @dsiminiuk commented on GitHub (Oct 27, 2020): I'm using Nextcloud Bookmarks, sorry. chrom://extensions redirects to vivaldi://extensions/ Already in developer mode, that's how I uploaded the crx file. Regarding your lock file idea, that could be the case. It would explain why nothing is moving on all my browsers. Now to figure out how to display hidden files...
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

Now to figure out how to display hidden files...

It's in the settings of the files app, bottom-left corner. ;)

<!-- gh-comment-id:717291374 --> @marcelklehr commented on GitHub (Oct 27, 2020): > Now to figure out how to display hidden files... It's in the settings of the files app, bottom-left corner. ;)
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

Yup there it is and there is the .lock file. Thank you. Let me test and see if I can get my sanity back.

<!-- gh-comment-id:717292471 --> @dsiminiuk commented on GitHub (Oct 27, 2020): Yup there it is and there is the .lock file. Thank you. Let me test and see if I can get my sanity back.
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

Perhaps an automatic process for removing the lockfile after a certain amount of stale time is in order.

<!-- gh-comment-id:717294455 --> @marcelklehr commented on GitHub (Oct 27, 2020): Perhaps an automatic process for removing the lockfile after a certain amount of stale time is in order.
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

By the way, by the time I went to clear the lock file there was an error on the sync dialog that said the same thing, "consder clearing (it)". Perhaps on the next iteration you can change the timeout or check the age of the lock file and show the error a little sooner than what felt like forever.

Progress, sync started working again but I have an error...

Nextcloud API error: {"status":"error","data":"invalid children order: To many children"}

I'll try a trigger from scratch to clear the server list.

<!-- gh-comment-id:717295371 --> @dsiminiuk commented on GitHub (Oct 27, 2020): By the way, by the time I went to clear the lock file there was an error on the sync dialog that said the same thing, "consder clearing (it)". Perhaps on the next iteration you can change the timeout or check the age of the lock file and show the error a little sooner than what felt like forever. Progress, sync started working again but I have an error... ``` Nextcloud API error: {"status":"error","data":"invalid children order: To many children"} ``` I'll try a trigger from scratch to clear the server list.
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

Deleted bookmarks on the server, forced upload from the client.
Got this the first time

Nextcloud API error: {"status":"error","data":"invalid children order: To many children"}

Set the client to merge then got this error.

Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature.
<!-- gh-comment-id:717298481 --> @dsiminiuk commented on GitHub (Oct 27, 2020): Deleted bookmarks on the server, forced upload from the client. Got this the first time ``` Nextcloud API error: {"status":"error","data":"invalid children order: To many children"} ``` Set the client to merge then got this error. ``` Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. Error in invocation of bookmarks.move(string id, object destination, optional function callback): No matching signature. ```
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

then

Cannot map parentId:2975
<!-- gh-comment-id:717298814 --> @dsiminiuk commented on GitHub (Oct 27, 2020): then ``` Cannot map parentId:2975 ```
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

Tried closing the browser, then clicking the Upload button.

Nextcloud API error: {"status":"error","data":"Could not find folder"}
Nextcloud API error: {"status":"error","data":"Could not find folder"}
Nextcloud API error: {"status":"error","data":"Could not find folder"}
Nextcloud API error: {"status":"error","data":"Could not find folder"}
many many of these
<!-- gh-comment-id:717303653 --> @dsiminiuk commented on GitHub (Oct 27, 2020): Tried closing the browser, then clicking the Upload button. ``` Nextcloud API error: {"status":"error","data":"Could not find folder"} Nextcloud API error: {"status":"error","data":"Could not find folder"} Nextcloud API error: {"status":"error","data":"Could not find folder"} Nextcloud API error: {"status":"error","data":"Could not find folder"} many many of these ```
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

oof. I can confirm that some things are boken in v4.4.x so far, which is why I've held off publishing it on the chrome webstore so far. I'll be doing a new release today or tomorrow, though, let's see how that fares.

<!-- gh-comment-id:717307640 --> @marcelklehr commented on GitHub (Oct 27, 2020): oof. I can confirm that some things are boken in v4.4.x so far, which is why I've held off publishing it on the chrome webstore so far. I'll be doing a new release today or tomorrow, though, let's see how that fares.
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

OK I got it fixed up on one client. I cleared the bookmarks on the server, deleted the bookmarks on the browser (some folders were corrupted because I tried Vivaldi Sync and that created a mess).
I imported a backup of my bookmarks (clean) back into the browser and then the upload went fine.
On to other browsers...

<!-- gh-comment-id:717316211 --> @dsiminiuk commented on GitHub (Oct 27, 2020): OK I got it fixed up on one client. I cleared the bookmarks on the server, deleted the bookmarks on the browser (some folders were corrupted because I tried Vivaldi Sync and that created a mess). I imported a backup of my bookmarks (clean) back into the browser and then the upload went fine. On to other browsers...
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

Cleared bookmarks on a second machine and clicked the Down Arrow to import. No problem.
I think I'm good now.

<!-- gh-comment-id:717319237 --> @dsiminiuk commented on GitHub (Oct 27, 2020): Cleared bookmarks on a second machine and clicked the Down Arrow to import. No problem. I think I'm good now.
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

Backups ftw! 🚀

<!-- gh-comment-id:717321646 --> @marcelklehr commented on GitHub (Oct 27, 2020): Backups ftw! :rocket:
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

Another enhancement (yes) would be to clearly label the Enable switch as "Auto sync" and still allow the Up and Down arrows to do manual forced sync without Auto being enabled. A user might want to download and not auto-update until all clients are synced and safe. Just an idea.

As it is now I think the account needs to be enabled before Up and Down forced will work. Correct?

<!-- gh-comment-id:717327744 --> @dsiminiuk commented on GitHub (Oct 27, 2020): Another enhancement (yes) would be to clearly label the Enable switch as "Auto sync" and still allow the Up and Down arrows to do manual forced sync without Auto being enabled. A user might want to download and not auto-update until all clients are synced and safe. Just an idea. As it is now I think the account needs to be enabled before Up and Down forced will work. Correct?
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

As it is now I think the account needs to be enabled before Up and Down forced will work. Correct?

Mh, no. The Up/Down buttons temporarily enable the account.

<!-- gh-comment-id:717331541 --> @marcelklehr commented on GitHub (Oct 27, 2020): > As it is now I think the account needs to be enabled before Up and Down forced will work. Correct? Mh, no. The Up/Down buttons temporarily enable the account.
Author
Owner

@dsiminiuk commented on GitHub (Oct 27, 2020):

OK great.

<!-- gh-comment-id:717331918 --> @dsiminiuk commented on GitHub (Oct 27, 2020): OK great.
Author
Owner

@marcelklehr commented on GitHub (Oct 27, 2020):

I'm open to any other enhancements / UX improvements you may have, though :) Feel free to open issues! ❤️

<!-- gh-comment-id:717332633 --> @marcelklehr commented on GitHub (Oct 27, 2020): I'm open to any other enhancements / UX improvements you may have, though :) Feel free to open issues! :heart:
Author
Owner

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