Can not unlock files in Database 18.0.9, postresql 10.14

Now i found a working solution for me…

have an overlook over the locked files…
SELECT * FROM oc_file_locks WHERE oc_file_locks.lock<>0;

strangely i got also “-1” in the lock field…
same as here mentioned->
(Oc_file_lock: understanding values lock field)

…and then delete them - because it where only 4 i did it per hand over my Webmin postgresql interface…

per hand… i think the solution in my case would have been not only deleting the rows with “1” as lock

DELETE FROM nextcloud.oc_file_locks WHERE oc_file_locks.lock > 0;

but also the rows with “-1”

DELETE FROM nextcloud.oc_file_locks WHERE oc_file_locks.lock < 0;