{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/22605","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/22605/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/22605/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/22605/events","html_url":"https://github.com/owncloud/core/issues/22605","id":135811363,"number":22605,"title":"External storage: DAV broken on master against other ownCloud","user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_external","name":"app:files_external","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/regression","name":"regression","color":"e11d21"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-current","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":115,"closed_issues":1665,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2016-02-24T12:58:37Z","due_on":"2016-03-08T04:00:00Z","closed_at":null},"comments":7,"created_at":"2016-02-23T17:48:36Z","updated_at":"2016-02-24T13:24:36Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Mount an external DAV storage as normal user. I mounted another ownCloud running 8.2.2 from my master instance\r\n2. Try to upload or edit files\r\n\r\n### Expected behaviour\r\nFiles should be edited or uploaded.\r\n\r\n### Actual behaviour\r\nNo modification happens. Errors are thrown on remote server. Browser shows:\r\n\r\n> 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\r\n\r\n#### ownCloud log from remote server\r\n```\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n{\"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\"}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/188253076","html_url":"https://github.com/owncloud/core/issues/22605#issuecomment-188253076","issue_url":"https://api.github.com/repos/owncloud/core/issues/22605","id":188253076,"user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T13:24:35Z","updated_at":"2016-02-24T13:24:35Z","body":"Confirmed. \r\n\r\nWhen checking out 98bb8372f7f0ab1f669cdd92d439814e1b6aaa1a the mounts do work fine, if I take @icewind1991's a1898dc2bf9a89def29c1437903e560609f0cf40 the mount is broken."}}