Skip to content

How to find the "bad" bookmark that leads to a sync failure in Firefox with Nextcloud Bookmarks? #1760

Answered by marcelklehr
johanneskastl asked this question in Q&A
Discussion options

You must be logged in to vote

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

  1. Put your instance in maintenance mode
  2. make a db backup
  3. log into your dbms console
  4. drop all tables that start with oc_bookmarks
  5. Delete all entries in oc_migrations for the bookmarks app
  6. Run occ upgrade

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…

Replies: 2 comments 44 replies

Comment options

You must be logged in to vote
6 replies
@johanneskastl
Comment options

@marcelklehr
Comment options

@marcelklehr
Comment options

@johanneskastl
Comment options

@marcelklehr
Comment options

Comment options

You must be logged in to vote
38 replies
@marcelklehr
Comment options

@marcelklehr
Comment options

@johanneskastl
Comment options

@marcelklehr
Comment options

Answer selected by johanneskastl
@johanneskastl
Comment options

@marcelklehr
Comment options

@johanneskastl
Comment options

@johanneskastl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants