How to find the "bad" bookmark that leads to a sync failure in Firefox with Nextcloud Bookmarks? #1760
-
Hi all, is there a way to find out, which of my bookmarks is causing the sync to fail? I am syncing from Firefox to my Nextcloud Bookmarks. The sync starts but fails with this error:
I create a backup of my bookmarks, and delete half of them. Now the sync is successful. So, other than importing the backup, only deleting half of the half that I deleted previously, and repeating this for ever, how can I find out which of the bookmarks is causing the sync to fail? The debug log looks like this, it does not indicate which bookmark failed:
I already skimmed for "funny" characters in the names and renamed the obvious ones. But to no avail (and I have a lot of bookmarks...). Thanks in advance! Kind Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 44 replies
-
Hey Johannes, the PUT should be associated with an UPDATE action, which should contain the Bookmark that is being updated in the log entry. Since this seems to happen in the first 10 actions being executed, you should be able to find the offending Bookmark in the logs leading up to this point. If you like you can send me the log privately via email. |
Beta Was this translation helpful? Give feedback.
-
I was able to replicate this issue, it doesn't seem to be due to the URL. Can you try emptying the trash in Nextcloud Bookmarks? |
Beta Was this translation helpful? Give feedback.
First please check the oc_bookmarks table schema and post it here, so we can check if it's actually outdated.
Then the easiest way is to
This will clear all bookmarks data for all users on your instance, though. It's essentially a reinstall. If you want to keep your data, you need to manually adjust the db tables. You need to check the Migrations folder in apps/bookmarks/lib/Migrations and figure out from the code which changes to make to the db schema. This is difficult though, because yo…