I have this problem. However, the manual solution above didnât fix it. When I was in mysql to delete the locks, it did mention 17 rows affected. Now it says none, so it seems like it did delete locks. My Nextcloud cron jobs do still run properly, as indicated in the admin page. My file is still locked, though. I am using redis for data cachingânot sure if that makes a difference.
Exception: {âMessageâ:âHTTP/1.1 423 âmyfile.fileâ is lockedâ,âExceptionâ:âOCA\DAV\Connector\Sabre\Exception\FileLockedâ,âCodeâ:0,âTraceâ:"#0 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(179): OCA\DAV\Connector\Sabre\File->delete()\n#1 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(285): Sabre\DAV\Tree->delete(âmyfile.filâŚâ)\n#2 [internal function]: Sabre\DAV\CorePlugin->httpDelete(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#3 /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(459): Sabre\Event\EventEmitter->emit(âmethod:DELETEâ, Array)\n#5 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#6 /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php(60): Sabre\DAV\Server->exec()\n#7 /var/www/nextcloud/remote.php(165): require_once(â/var/www/nextclâŚâ)\n#8 {main}",âFileâ:"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php",âLineâ:343,âUserâ:âmy.nameâ}