Some remarks to the initial post at the top of this thread:
- The SQL statement overthere is not completely correct.
a. In my Nextcloud the table was just namedfile_locks
b. The where clause should be something like:WHERE file_locks.lock=1
- The SQL command I used is:
DELETE FROM owncloud.file_locks WHERE file_locks.lock=1;
- There can be other lock values then 0 and 1 as well, like -1, 25, 26, and 27. I had to delete the ones with value -1 as well.
See my above posts for more details.