File is locked, cannot move a file

The issue you are facing: Cannot move a file

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Move a file

The output of your Nextcloud log in Admin > Logging:

	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Chem Project" is locked
/var/www/drive.potsmc.net/3rdparty/sabre/dav/lib/DAV/Tree.php - line 158: OCA\DAV\Connector\Sabre\Directory->moveInto('Chem Project', 'Chem Project', Object(OCA\DAV\Connector\Sabre\Directory))
/var/www/drive.potsmc.net/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 642: Sabre\DAV\Tree->move('Chem Project', 'SLS/Chem Projec...')
[internal function] Sabre\DAV\CorePlugin->httpMove(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/drive.potsmc.net/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/drive.potsmc.net/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method MOVE', Array)
/var/www/drive.potsmc.net/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/drive.potsmc.net/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec()
/var/www/drive.potsmc.net/remote.php - line 164: require_once('/var/www/drive....')
{main}

When I click force sync in my client, it have no error happen. Idk why…

Which cache server are you using? Redis is recommended for a “quicker” file locking handling. The locks normally disappear after a while.

Which version of Nextcloud are you running?

Best regards,
Michael