Hi
I’m slowly starting to use owncloud and I have created a sync link of my “pdf documentation” directory on two of my computers. So now both of them have the superset of what they both had before. Good.
But now “cleaning things up” is more worthwhile, as it then should happen on both computers.
Expected behaviour
So I moved the directory “wdc” to “harddisk”
Actual behaviour
On one computer the directory was moved:
abra2:~/pdf> mv wdc harddisk
abra2:~/pdf>
but the owncloud app reports: "423 server replied “LOCKED” to MOVE … "
Server configuration
Operating system: Ubuntu
Web server: Apache
Database: mariadb
PHP version: 7.x
ownCloud version: latest, just installed about 2 weeks ago.
Storage backend (external storage): HC2 with 4T drive.
Client configuration
Client version:2.6.3 build 2668
Operating system:Linux Ubuntu 20.04
OS language: C Linux is written mostly in C. Certainly the kernel.
Qt version used by client package (Linux only, see also Settings dialog):beats me. Can’t find the settings dialog.
Client package (From ownCloud or distro) (Linux only):from owncloud. Followed instructions to add repo to my system.
Installation path of client:Beats me. I installed the package.
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.
Template for output < 10 lines
-
Client logfile: Output of
owncloud --logwindow
orowncloud --logfile log.txt
(On Windows usingcmd.exe
, you might need to firstcd
into the ownCloud directory)
(See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile ) -
Web server error log:
-
Server logfile: ownCloud log (data/owncloud.log):
4 lines from the logfile:
{“reqId”:“ad2e21b2-53a1-4f9f-8a79-d230fb7a9f4a”,“level”:3,“time”:“2020-08-15T13:04:22+00:00”,“remoteAddr”:“192.168.234.47”,“user”:“wolff”,“app”:“webdav”,“method”:“MOVE”,“url”:"/owncloud/remote.php/dav/files/wolff/pdf/wdc",“message”:“Caused by: {“Exception”:“OCP\\Lock\\LockedException”,“Message”:”\“files\/8f073a8393f6db1e1e2c5bfd0c0d9e98\” is locked",“Code”:0,“Trace”:"#0 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Common.php(677): OC\\Lock\\DBLockingProvider->changeLock(‘files\/8f073a839…’, 2)\n#1 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(616): OC\\Files\\Storage\\Common->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#2 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(616): OC\\Files\\Storage\\Wrapper\\Wrapper->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#3 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(616): OC\\Files\\Storage\\Wrapper\\Wrapper->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#4 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(2077): OC\\Files\\Storage\\Wrapper\\Wrapper->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#5 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(852): OC\\Files\\View->changeLock(’\/pdf\/wdc’, 2, true)\n#6 \/var\/www\/owncloud\/lib\/public\/Events\/EventEmitterTrait.php(50): OC\\Files\\View->OC\\Files\\{closure}(*** sensitive parameters replaced )\n#7 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(918): OC\\Files\\View->emittingCall(Object(Closure), Array, ‘file’, ‘rename’)\n#8 \/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(481): OC\\Files\\View->rename(’\/pdf\/wdc’, ‘\/pdf\/harddisk\/w…’)\n#9 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Tree.php(162): OCA\\DAV\\Connector\\Sabre\\Directory->moveInto(‘wdc’, ‘files\/wolff\/pdf…’, Object(OCA\\DAV\\Connector\\Sabre\\Directory))\n#10 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(612): Sabre\\DAV\\Tree->move(‘files\/wolff\/pdf…’, ‘files\/wolff\/pdf…’)\n#11 \/var\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpMove(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(470): Sabre\\DAV\\Server->emit(‘method:MOVE’, Array)\n#13 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(251): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#14 \/var\/www\/owncloud\/apps\/dav\/lib\/Server.php(329): Sabre\\DAV\\Server->start()\n#15 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#16 \/var\/www\/owncloud\/remote.php(165): require_once(’\/var\/www\/ownclo…’)\n#17 {main}",“File”:"\/var\/www\/owncloud\/lib\/private\/Lock\/DBLockingProvider.php",“Line”:236}"}
{“reqId”:“563dcec3-760b-4927-8a6b-7bfc99d5c4bb”,“level”:4,“time”:“2020-08-15T13:04:57+00:00”,“remoteAddr”:“192.168.234.47”,“user”:“wolff”,“app”:“webdav”,“method”:“MOVE”,“url”:"/owncloud/remote.php/dav/files/wolff/pdf/wdc",“message”:“Exception: HTTP/1.1 423 “pdf/wdc” is locked: {“Exception”:“OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked”,“Message”:”\“pdf\/wdc\” is locked",“Code”:0,“Trace”:"#0 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Tree.php(162): OCA\\DAV\\Connector\\Sabre\\Directory->moveInto(‘wdc’, ‘files\/wolff\/pdf…’, Object(OCA\\DAV\\Connector\\Sabre\\Directory))\n#1 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(612): Sabre\\DAV\\Tree->move(‘files\/wolff\/pdf…’, ‘files\/wolff\/pdf…’)\n#2 \/var\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpMove(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(470): Sabre\\DAV\\Server->emit(‘method:MOVE’, Array)\n#4 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(251): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/owncloud\/apps\/dav\/lib\/Server.php(329): Sabre\\DAV\\Server->start()\n#6 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#7 \/var\/www\/owncloud\/remote.php(165): require_once(’\/var\/www\/ownclo…’)\n#8 {main}",“File”:"\/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php",“Line”:490}"}
{“reqId”:“563dcec3-760b-4927-8a6b-7bfc99d5c4bb”,“level”:3,“time”:“2020-08-15T13:04:57+00:00”,“remoteAddr”:“192.168.234.47”,“user”:“wolff”,“app”:“webdav”,“method”:“MOVE”,“url”:"/owncloud/remote.php/dav/files/wolff/pdf/wdc",“message”:“Caused by: {“Exception”:“OCP\\Lock\\LockedException”,“Message”:”\“pdf\/wdc\” is locked",“Code”:0,“Trace”:"#0 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(852): OC\\Files\\View->changeLock(’\/pdf\/wdc’, 2, true)\n#1 \/var\/www\/owncloud\/lib\/public\/Events\/EventEmitterTrait.php(50): OC\\Files\\View->OC\\Files\\{closure}( sensitive parameters replaced )\n#2 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(918): OC\\Files\\View->emittingCall(Object(Closure), Array, ‘file’, ‘rename’)\n#3 \/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(481): OC\\Files\\View->rename(’\/pdf\/wdc’, ‘\/pdf\/harddisk\/w…’)\n#4 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Tree.php(162): OCA\\DAV\\Connector\\Sabre\\Directory->moveInto(‘wdc’, ‘files\/wolff\/pdf…’, Object(OCA\\DAV\\Connector\\Sabre\\Directory))\n#5 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(612): Sabre\\DAV\\Tree->move(‘files\/wolff\/pdf…’, ‘files\/wolff\/pdf…’)\n#6 \/var\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpMove(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(470): Sabre\\DAV\\Server->emit(‘method:MOVE’, Array)\n#8 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(251): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#9 \/var\/www\/owncloud\/apps\/dav\/lib\/Server.php(329): Sabre\\DAV\\Server->start()\n#10 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#11 \/var\/www\/owncloud\/remote.php(165): require_once(’\/var\/www\/ownclo…’)\n#12 {main}",“File”:"\/var\/www\/owncloud\/lib\/private\/Files\/View.php",“Line”:2082}"}
{“reqId”:“563dcec3-760b-4927-8a6b-7bfc99d5c4bb”,“level”:3,“time”:“2020-08-15T13:04:57+00:00”,“remoteAddr”:“192.168.234.47”,“user”:“wolff”,“app”:“webdav”,“method”:“MOVE”,“url”:"/owncloud/remote.php/dav/files/wolff/pdf/wdc",“message”:“Caused by: {“Exception”:“OCP\\Lock\\LockedException”,“Message”:”\“files\/8f073a8393f6db1e1e2c5bfd0c0d9e98\” is locked",“Code”:0,“Trace”:"#0 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Common.php(677): OC\\Lock\\DBLockingProvider->changeLock(‘files\/8f073a839…’, 2)\n#1 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(616): OC\\Files\\Storage\\Common->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#2 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(616): OC\\Files\\Storage\\Wrapper\\Wrapper->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#3 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(616): OC\\Files\\Storage\\Wrapper\\Wrapper->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#4 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(2077): OC\\Files\\Storage\\Wrapper\\Wrapper->changeLock(‘files\/pdf\/wdc’, 2, Object(OC\\Lock\\DBLockingProvider))\n#5 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(852): OC\\Files\\View->changeLock(’\/pdf\/wdc’, 2, true)\n#6 \/var\/www\/owncloud\/lib\/public\/Events\/EventEmitterTrait.php(50): OC\\Files\\View->OC\\Files\\{closure}( sensitive parameters replaced ***)\n#7 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(918): OC\\Files\\View->emittingCall(Object(Closure), Array, ‘file’, ‘rename’)\n#8 \/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(481): OC\\Files\\View->rename(’\/pdf\/wdc’, ‘\/pdf\/harddisk\/w…’)\n#9 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Tree.php(162): OCA\\DAV\\Connector\\Sabre\\Directory->moveInto(‘wdc’, ‘files\/wolff\/pdf…’, Object(OCA\\DAV\\Connector\\Sabre\\Directory))\n#10 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(612): Sabre\\DAV\\Tree->move(‘files\/wolff\/pdf…’, ‘files\/wolff\/pdf…’)\n#11 \/var\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpMove(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#12 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(470): Sabre\\DAV\\Server->emit(‘method:MOVE’, Array)\n#13 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(251): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#14 \/var\/www\/owncloud\/apps\/dav\/lib\/Server.php(329): Sabre\\DAV\\Server->start()\n#15 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#16 \/var\/www\/owncloud\/remote.php(165): require_once(’\/var\/www\/ownclo…’)\n#17 {main}",“File”:"\/var\/www\/owncloud\/lib\/private\/Lock\/DBLockingProvider.php",“Line”:236}"}