Repository navigation
Closed
Description
Steps to reproduce
- Mount an external DAV storage as normal user. I mounted another ownCloud running 8.2.2 from my master instance
- Try to upload or edit files
Expected behaviour
Files should be edited or uploaded.
Actual behaviour
No modification happens. Errors are thrown on remote server. Browser shows:
Error uploading file "AkIv6N3tTqWPVneGschn5hN46rr8jKfzf0COBgiv5YLL.jpg": Client error response [url] https://cloud.smartworksg.ch/remote.php/webdav/AkIv6N3tTqWPVneGschn5hN46rr8jKfzf0COBgiv5YLL.jpg [status code] 404 [reason phrase] Not Found
ownCloud log from remote server
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: mtime at \/var\/www\/lib\/private\/files\/fileinfo.php#163","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: etag at \/var\/www\/lib\/private\/files\/fileinfo.php#149","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: mimetype at \/var\/www\/lib\/private\/files\/fileinfo.php#128","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: permissions at \/var\/www\/lib\/private\/files\/fileinfo.php#177","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: permissions at \/var\/www\/lib\/private\/files\/fileinfo.php#177","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: permissions at \/var\/www\/lib\/private\/files\/fileinfo.php#177","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"PpM\/lZ04sQPHpnwebdhc","remoteAddr":"10.0.0.2","app":"PHP","message":"Undefined index: permissions at \/var\/www\/lib\/private\/files\/fileinfo.php#177","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"TlvnLmM7TdbxKyAMqAmr","remoteAddr":"10.0.0.2","app":"PHP","message":"fopen(\/var\/www\/data\/test\/files\/asdfasfd.txt.ocTransferId1397973848.part): failed to open stream: No such file or directory at \/var\/www\/lib\/private\/files\/storage\/local.php#247","level":3,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"TlvnLmM7TdbxKyAMqAmr","remoteAddr":"10.0.0.2","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Could not open file\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(82): OC\\\\Connector\\\\Sabre\\\\File->get()\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(469): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#4 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/apps\\\/files\\\/appinfo\\\/remote.php(56): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/remote.php(137): require_once('\\\/var\\\/www\\\/apps\\\/f...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/lib\\\/private\\\/connector\\\/sabre\\\/file.php\",\"Line\":268}","level":4,"time":"2016-02-23T17:48:08+00:00"}
{"reqId":"XuiemBRDxjoEVWQmdioa","remoteAddr":"10.0.0.2","app":"PHP","message":"fopen(\/var\/www\/data\/test\/files\/asdfasfd.txt.ocTransferId1397973848.part): failed to open stream: No such file or directory at \/var\/www\/lib\/private\/files\/storage\/local.php#247","level":3,"time":"2016-02-23T17:48:09+00:00"}
{"reqId":"XuiemBRDxjoEVWQmdioa","remoteAddr":"10.0.0.2","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Could not open file\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(82): OC\\\\Connector\\\\Sabre\\\\File->get()\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(469): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#4 \\\/var\\\/www\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/apps\\\/files\\\/appinfo\\\/remote.php(56): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/remote.php(137): require_once('\\\/var\\\/www\\\/apps\\\/f...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/lib\\\/private\\\/connector\\\/sabre\\\/file.php\",\"Line\":268}","level":4,"time":"2016-02-23T17:48:09+00:00"}
Activity
[-]External storage: DAV broken on master[/-][+]External storage: DAV broken on master against other ownCloud[/+]LukasReschke commentedon Feb 23, 2016
Strangely. Server to server shares to actually work properly. Only DAV mounts complain… mhm…
LukasReschke commentedon Feb 23, 2016
But it also fails also similar when mounting an "ownCloud" external storage. 🙈
LukasReschke commentedon Feb 23, 2016
I'll try to bisect the breaking change.
PVince81 commentedon Feb 23, 2016
I see you used https, could be related to #22016
LukasReschke commentedon Feb 24, 2016
Using HTTPS here but the connection itself works fine. I can open files etc.
So I guess that's another issue.
LukasReschke commentedon Feb 24, 2016
After fighting with external storage for a while:
LukasReschke commentedon Feb 24, 2016
Confirmed.
When checking out 98bb837 the mounts do work fine, if I take @icewind1991's a1898dc the mount is broken.
LukasReschke commentedon Feb 24, 2016
Ok… I have a fix for the SSL thingy… But still not for the other 🙈
lock commentedon Aug 6, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.