Webdav / Webdrive file locking : all documents are locked for no reason

Hi there,

This is my first post here, so ā€œhello!ā€ !!

I am facing an very difficult issue with Webdav file locking (accessed through Webdrive 2018 under https). All the Nextcloud instances Iā€™m managing are having the same problem (under CentOS + apache but also OmniOS + nginx etc.).

I explain : When Webdrive is configured for file locking, ALL documents are considered as being locked by another user (and there is nobody). If the user right click on the file and check if itā€™s locked or not (in the windows explorer), there is no lock on it. The Webdrive support, looking at my logs, told me the problem was comming from my Nextcloud installation because Webdrive logs are showing that when it tries to lock the file, the NextCloud server returns a 501 Not Implemented.

What my server is running:

Centos 7.4
Apache 2.4 (httpd that integrated in the OS)
PHP72
MariaDB 10*
APCu for local caching
Redis 4 for file locking
php72-fpm
All required PHP modules
Almost all PHP recommended modules

Here is my config.php for memcaching / file locking :

ā€˜memcache.localā€™ => ā€˜\OC\Memcache\APCuā€™,
ā€˜memcache.lockingā€™ => ā€˜\OC\Memcache\Redisā€™,
ā€˜redisā€™ => array(
ā€˜hostā€™ => ā€˜localhostā€™,
ā€˜portā€™ => 6379,
),
ā€˜filelocking.enabledā€™ => true,

If I disable DAV file locking on the clients, redis is working perfectly (a user canā€™t save an already opened document) the problem is that users really want the message to appear firt.

Everything is configured on the server : opcache, APCu, Redis, Ā« ā€˜filelocking.enabledā€™=>true Ā», SSLā€¦ I donā€™t know what to do and I really need help about this. My Nextcloud logs are showing nothing at this level and appart this problem it is running perfectly.

==> need help :cry:

No idea ? :frowning:

ios App can not upload photos.