Locked files - how to unlock?

Hi,

In the process of app development I occasionally run into problems where files become locked due to bugs in my app.
Is there any way of unlocking a file? Do locks hang around forever?

Thanks,
Adrian

1 Like

You can try to rescan the filesystem.

https://docs.nextcloud.com/server/12/admin_manual/configuration_server/occ_command.html?highlight=occ#file-operations

there is a howto for this: File is locked - how to unlock

2 Likes

Thanks for the link!