Wrong locked states in Nextcloud
Date:
[8th Oct 2025]
Random bug with Joplin or Nextcloud leaves stuff in a locked state and then spits our syncing errors. My specific scenario fix - manually disabling the locked states:
-
Put Nextcloud in maintenance mode: edit config/config.php and change this line:
'maintenance' => true, -
Run
mysqland issueDELETE FROM your-db-name.oc_file_locks WHERE true; -
Disable maintenance mode
Something is fishy with the cron jobs Nextcloud is running in the background. Will check later.
Update: Nextcloud is trash with Joplin. I've started using a self hosted Joplin Server instead.