NC2016
July 16, 2016, 11:35am
1
In case I have upload many files via webdav I have many times the issue the one file is locked and I am not able to upload the other files because the sync stopped after the error message.
My current workaround is to clear the whole lock table in the database.
It would be great if the user/administrator is able to unlock a single file.
In general it would be the best to avoid these file locking issue.
Best regards
NC2016
tflidd
July 16, 2016, 3:40pm
2
Do you use redis as file-locking-cache?
NC2016
July 16, 2016, 4:24pm
3
I donāt know Where/How can I check it?
tflidd
July 16, 2016, 4:35pm
4
Normally you have to install it manually. And if you canāt remember, your config.php should answer the question (option memcache.locking
must be set):
https://docs.nextcloud.org/server/9/admin_manual/configuration_files/files_locking_transactional.html
1 Like
NC2016
July 16, 2016, 5:38pm
5
Than I think the answer is no because
āmemcache.lockingā is not added to config.php
the admin setting shows that no Memory Cache is configured
Please let me know if you need some more information
Best regards and thank you for your help
NC2016
NC2016
July 17, 2016, 8:23am
6
Hi tflidd,
I have checked my hosting contract and there is no option for redis.
Because of your post I know the cause now.
Thank you for your support and best regards
NC2016
NC2016
July 17, 2016, 12:29pm
7
Because of the count of users I think that file locking is not really needed and so I have added
āfilelocking.enabledā => false,
to my config.php for testing now
In case Iāll have trouble Iāll active file locking again.
Best regards
NC2016
1 Like
I had the same problem and turning off in the file locking in the config worked for me. Thanks!
rhua
September 26, 2020, 6:27pm
9
Have any of you experienced any problems so far as a result of disabling file lock? Thanks!
The admin is making a cautious decision regarding the file lock configuration on an installation with one user on Notes, Calendar, and Deck at a time. Please provide the version numbers [and how long you have monitored for errors] in your reply to provide readers a more informed decision.
You may be interested in contributing to an update on this topic: