From 35d50f8d09270545f3757e42a5605c883955a1da Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 27 Oct 2020 09:33:20 +0100 Subject: [PATCH] owncloud: errorhandling for locked files added --- wiki/owncloud.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wiki/owncloud.md b/wiki/owncloud.md index ae7422a..3f50634 100644 --- a/wiki/owncloud.md +++ b/wiki/owncloud.md @@ -121,3 +121,16 @@ docker run --name owncloudcli \ -e URL='https://subdomain.domain.tld' \ -d tiynger/owncloudclient ``` + +## Error handling + +### Problems with a locked file +It is possible that you can't remove or move a locked file. +If this problem doesn't resolve after a restart you can try to disable locking in the owncloud config. +This is done by adding the line `'filelocking.enabled' => false,` into the file `config/config.php`. +Then try to resolve the error. +Afterwards enable locking again by removing the added line. + +The reason I choose this process over editing the database file, is ease of use. +The editing of the database is much more time consuming especially if run with docker. +