Nextcloud File Locking Issue

When user A opens a shared file on Nextcloud, the file is locked to user B. Even when user A closes the file, user B still encounters persistent locks, preventing editing.


  • Is the nextcloud instance using Redis as file locking cache?
  • Did you try to clear the cache to analyze the problem you are facing?

Anyway it would be helpfull if you prode the community with some additional configuration data of the Nextcloud instance.

You can read Transactional file locking and Memory caching. Test some of the configurations.

I’ve read through that, it’s not working as intended. If I lock manually, it never unlocks. For documents is usually unlocks, but not always. For other files it never automatically locks in the first place which leads to conflicts