-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating folders on remote shares fails #46
Comments
This was fixed once |
This issue still exists on ownCloud to ownCloud scenario. logs of oc2 when creating a folder inside another folder shared by oc1.
{
"reqId": "hZcsz2WdVqadjXol0Nws",
"level": 3,
"time": "2023-09-06T09:25:03+00:00",
"remoteAddr": "172.19.0.3",
"user": "marie",
"app": "no app in context",
"method": "MKCOL",
"url": "/remote.php/dav/files/marie/Test/create-remote",
"message": "Exception: {\"Exception\":\"Sabre\\\\HTTP\\\\ClientHttpException\",\"Message\":\"Unsupported Media Type\",\"Code\":415,\"Trace\":\"#0 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Client.php(367): Sabre\\\\HTTP\\\\Client->send()\\n#1 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/Storage\\/DAV.php(694): Sabre\\\\DAV\\\\Client->request()\\n#2 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/Storage\\/DAV.php(173): OC\\\\Files\\\\Storage\\\\DAV->simpleResponse()\\n#3 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/Storage\\/Wrapper\\/Wrapper.php(85): OC\\\\Files\\\\Storage\\\\DAV->mkdir()\\n#4 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/Storage\\/Wrapper\\/Availability.php(83): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->mkdir()\\n#5 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/Storage\\/Wrapper\\/Wrapper.php(85): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->mkdir()\\n#6 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/Storage\\/Wrapper\\/Wrapper.php(85): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->mkdir()\\n#7 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/View.php(1225): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->mkdir()\\n#8 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/View.php(280): OC\\\\Files\\\\View->basicOperation()\\n#9 \\/var\\/www\\/html\\/lib\\/public\\/Events\\/EventEmitterTrait.php(50): OC\\\\Files\\\\View->OC\\\\Files\\\\{closure}(*** sensitive parameters replaced ***)\\n#10 \\/var\\/www\\/html\\/lib\\/private\\/Files\\/View.php(282): OC\\\\Files\\\\View->emittingCall()\\n#11 \\/var\\/www\\/html\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/Directory.php(230): OC\\\\Files\\\\View->mkdir()\\n#12 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1210): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createDirectory()\\n#13 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(560): Sabre\\\\DAV\\\\Server->createCollection()\\n#14 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/event\\/lib\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\CorePlugin->httpMkcol()\\n#15 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(472): Sabre\\\\DAV\\\\Server->emit()\\n#16 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod()\\n#17 \\/var\\/www\\/html\\/apps\\/dav\\/lib\\/Server.php(348): Sabre\\\\DAV\\\\Server->start()\\n#18 \\/var\\/www\\/html\\/apps\\/dav\\/appinfo\\/v2\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#19 \\/var\\/www\\/html\\/remote.php(165): require_once('\\/var\\/www\\/html\\/a...')\\n#20 {main}\",\"File\":\"\\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/http\\/lib\\/Client.php\",\"Line\":163}"
} {
"reqId": "hZcsz2WdVqadjXol0Nws",
"level": 3,
"time": "2023-09-06T09:25:03+00:00",
"remoteAddr": "172.19.0.3",
"user": "marie",
"app": "files_external",
"method": "MKCOL",
"url": "/remote.php/dav/files/marie/Test/create-remote",
"message": "Unsupported Media Type"
} {
"reqId": "hZcsz2WdVqadjXol0Nws",
"level": 4,
"time": "2023-09-06T09:25:03+00:00",
"remoteAddr": "172.19.0.3",
"user": "marie",
"app": "webdav",
"method": "MKCOL",
"url": "/remote.php/dav/files/marie/Test/create-remote",
"message": "Exception: HTTP/1.1 503 Sabre\\HTTP\\ClientHttpException: Unsupported Media Type: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Message\":\"Sabre\\\\HTTP\\\\ClientHttpException: Unsupported Media Type\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1210): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createDirectory()\\n#1 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(560): Sabre\\\\DAV\\\\Server->createCollection()\\n#2 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/event\\/lib\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\CorePlugin->httpMkcol()\\n#3 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(472): Sabre\\\\DAV\\\\Server->emit()\\n#4 \\/var\\/www\\/html\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod()\\n#5 \\/var\\/www\\/html\\/apps\\/dav\\/lib\\/Server.php(348): Sabre\\\\DAV\\\\Server->start()\\n#6 \\/var\\/www\\/html\\/apps\\/dav\\/appinfo\\/v2\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#7 \\/var\\/www\\/html\\/remote.php(165): require_once('\\/var\\/www\\/html\\/a...')\\n#8 {main}\",\"File\":\"\\/var\\/www\\/html\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/Directory.php\",\"Line\":234}"
} The 503 error is misleading, real error is 415 when ownCloud 2 is doing the Reva for oc1 logs shows:
No additional call is being made to Sciencemesh App, it just returns 415 immediately after receiving MKCOL call. Does |
see how it works for a regular OCM share |
Vanilla ownCloud to ownCloud logs
oc2 creating folder logs:
oc1 logs
|
This seems to fix cs3org/reva@4620143 the issue |
The remote EFSS logs the following:
The text was updated successfully, but these errors were encountered: