Fatal Webdav Locked on a Hosted Nextcloud

I’m trying to upload a rather large directory to my Nextcloud from a Windows Nextcloud client, but it frequently stops, telling me

Fatal webdav OCA\DAV\Connector\Sabre\Exception\FileLocked: HTTP/1.1 423 “file” is locked.

Then the client just stops, totally, after a while.

I then have to open a support ticked with my Nextcloud provider, to have them “flush the lock table”

WTF?

Question 1: why does this happen? I have a single client trying to upload and noone else is accessing. Even if someone was accessing, why does the lock happen at all? What is a lock? The file is a large 3Gio movie.

Question 2: this is a hosted Nextcloud server; I can’t be contacting them every time this happens

I’m confused. What do I do?

Hi,
No solution, just a similar problem.
"Fatal webdav OCA\DAV\Connector\Sabre\Exception\FileLocked: "

Nextcloud server version : 12.0.3
Nextcloud client version : 2.3.2

This happens on rather large presentation( ODP) files, that I keep open for a rather long time (10 + hours).

What could be done to investigate / solve the problem ?

Thanks,
Camille

I just wrote about the file locking here: Disable File Locking
Ask your web hoster, if he has a redis server available that your Nextcloud can use for locking
The locks should be flushed every 30 mins by cron job btw.

Hi Michalng,

Thanks very much for the answer, I’ll look into it.

Camille