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.