(NC18) Temporary Files Lock app does not lock files?

Nextcloud version: 18.0.0 (New install for testing NC18)
Operating system and version: Raspbian GNU/Linux 10 (buster)
Apache version: 2.4.38
PHP version: 7.3

Anyone else having problems with the “Temporary Files Lock” app not actually locking files.

I created and locked test files (text-markdown) and was able to edit them using another user account even though they were shown as “locked”. No warnings, no stopping of the autosave. Going back to the creating account and looking at the locked files showed the edits.

I did not post a GitHub issue as If it’s working for others it is likely something I have done whilst testing apps!!

1 Like

I have these erors:

Sabre\DAV\Exception\Locked:

<<closure>>

Sabre\DAV\Locks\Plugin->validateTokens("*** sensiti ... *")

/var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

call_user_func_array([ Sabre\DAV\ ... "], [ "*** sensi ... "])

/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 1457:

Sabre\Event\EventEmitter->emit("validateTokens", [ "*** sensi ... "])

/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 474:

Sabre\DAV\Server->checkPreconditions("*** sensiti ... *", Sabre\HTTP\Response {})

/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:

Sabre\DAV\Server->invokeMethod("*** sensiti ... *", Sabre\HTTP\Response {})

/var/www/html/apps/dav/lib/Server.php - line 319:

Sabre\DAV\Server->exec()

/var/www/html/apps/dav/appinfo/v2/remote.php - line 35:

OCA\DAV\Server->exec()

/var/www/html/remote.php - line 165:

require_once("/var/www/ht ... p")

AND

OCP\Lock\LockedException: “files/Admins Docs/NEXTCLOUD.docx” is locked

/var/www/html/apps/files_lock/lib/Storage/LockWrapper.php - line 207:

OCA\FilesLock\Storage\LockWrapper->checkPermissions("files/Admin ... x", 2)

/var/www/html/lib/private/Files/Storage/Wrapper/Encryption.php - line 465:

OCA\FilesLock\Storage\LockWrapper->fopen("files/Admin ... x", "w")

/var/www/html/lib/private/Files/Storage/Wrapper/Encryption.php - line 233:

OC\Files\Storage\Wrapper\Encryption->fopen("files/Admin ... x", "w")

/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php - line 256:

OC\Files\Storage\Wrapper\Encryption->file_put_contents("files/Admin ... x", null)

/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php - line 256:

OC\Files\Storage\Wrapper\Wrapper->file_put_contents("files/Admin ... x", null)

/var/www/html/lib/private/Files/View.php - line 1160:

OC\Files\Storage\Wrapper\Wrapper->file_put_contents("files/Admin ... x", null)

/var/www/html/lib/private/Files/View.php - line 694:

OC\Files\View->basicOperation("file_put_contents", "/LiviuP/fil ... x", [ "update","write"], null)

/var/www/html/lib/private/Files/Node/File.php - line 71:

OC\Files\View->file_put_contents("/LiviuP/fil ... x", null)

/var/www/html/apps/documentserver_community/lib/Document/DocumentStore.php - line 163:

OC\Files\Node\File->putContent(null)

/var/www/html/apps/documentserver_community/lib/LocalAppData.php - line 100:

OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}("*** sensiti ... *")

/var/www/html/apps/documentserver_community/lib/Document/DocumentStore.php - line 164:

OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\Sim ... {}, Closure {})

/var/www/html/apps/documentserver_community/lib/Document/SaveHandler.php - line 56:

OCA\DocumentServer\Document\DocumentStore->saveChanges(454749666, [ OCA\Docume ... }])

/var/www/html/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69:

OCA\DocumentServer\Document\SaveHandler->flushChanges(454749666)

/var/www/html/lib/public/BackgroundJob/Job.php - line 79:

OCA\DocumentServer\BackgroundJob\Cleanup->run(null)

/var/www/html/cron.php - line 125:

OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})