I have a synchronization problem and would be grateful for any advice.
Using Nextcloud Desktop-Client Version 3.16.4 (Windows) and Nextcloud shows that a few files are locked.
Error message:
“xxx(file path)” is locked
Via the cloud several users can access and modify these files, which is why these conflicts occur from time to time.
In the past there was a folder in the database “nc_file_locks” which I could empty and everything was fine but that folder does not seem to exist anymore since a few months.
Does anybody have an idea how I can release these locked files now?
Nextcloud tries to synchronize the locked files over and over again with no success which causes a enormous data traffic and I can never be sure if a file is up to date
yes this has already been discussed but any answer I found unfortunately couldn´t solve my problem. They solved it in the past but the methods described are not working anymore.
Here are a few more details - sorry I have little knowledge in this field
We run the Nextcloud installation on a web hosting package with manitu.
Since we use shared hosting at manitu, we don’t have access to Redis, APCu or Memcached, and we don’t have SSH access with sudo rights. The files_lock app does not seem to be useful in this environment either.
What we have tried so far:
Deleted contents in the data/tmp/ directory via FTP
File scan via php occ files:scan --all (as far as possible via cronjob)
Hope somebody has an idea how to remove or avoid such “stuck” locks in this hosting environment?
that’s not a problem you’ll be fine… I know from personal experience that the folks at Manitu have fantastic support and will certainly help you sort out your issue. give them a shout, they won’t bite.
the best option is to log in to your Manitu account under https://mein.manitu.de and request support from there.
Faced with this problem, I make sure no user is logged in anymore and I connect to phpMyAdmin and empty the oc_file_locks table.
In one case where this problem occurs more frequently, I created a php script with cron task executed every night that emptys this oc_file_locks table.