Connecting to ownCloud at Host Europe via WebDAV using Cyberduck on Mac

hosting

#1

I connect to ownCloud 10.0.10 running at Host Europe from a Mac. In a browser, the URL is https:/www.pueo-owl.ch/owncloud. By some magic in config.php and .htaccess that is transformed to https://ssl.webpack.de/www.pueo-owl.ch/owncloud. ssl.webpack.de is Host Europe’s SSL proxy. I do not have an SSL certificate for www.pueo-owl.ch/owncloud. That all works fine. Now I want to connect to www.pueo-owl.ch/owncloud from my Mac using Cyberduck and WebDAV. ownCloud informs me that the URL should be https://ssl.webpack.de/www.pueo-owl.ch/owncloud/remote.php/dav/files/{user-id}/. Putting that into Cyberduck does not work. Here’s a typical entry in its error log:

{“reqId”:“CVaOA7PjheyimbG2WwF3”,“level”:4,“time”:“2018-09-22T17:28:03+00:00”,“remoteAddr”:“82.220.88.136”,“user”:“rrl-admin”,“app”:“webdav”,“method”:“PROPFIND”,“url”:"/www.pueo-owl.ch/owncloud/remote.php/dav/files/",“message”:“Exception: HTTP/1.1 405 Listing members of this collection is disabled: {“Exception”:“Sabre\\DAV\\Exception\\MethodNotAllowed”,“Message”:“Listing members of this collection is disabled”,“Code”:0,“Trace”:”#0 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Tree.php(195): Sabre\\DAVACL\\AbstractPrincipalCollection->getChildren()\n#1 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(896): Sabre\\DAV\\Tree->getChildren(‘files’)\n#2 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(977): Sabre\\DAV\\Server->generatePathNodes(Object(Sabre\\DAV\\PropFind), Array)\n#3 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(1665): Sabre\\DAV\\Server->getPropertiesIteratorForPath(‘files’, Array, 1)\n#4 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(355): Sabre\\DAV\\Server->generateMultiStatus(Object(Generator), false)\n#5 [internal function]: Sabre\\DAV\\CorePlugin->httpPropFind(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#7 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:PROPFIND’, Array)\n#8 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#9 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/apps\/dav\/lib\/Server.php(298): Sabre\\DAV\\Server->exec()\n#10 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#11 \/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/remote.php(165): require_once(’\/is\/htdocs\/wp12…’)\n#12 {main}",“File”:"\/is\/htdocs\/wp12216297_Q422TLVDIP\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAVACL\/AbstractPrincipalCollection.php",“Line”:95}"}

I have another ownCloud installation at ownCube, owncloud.pueo-owl.ch. It has an SSL certification, and ownCloud tells me to use this URL for WebDAV: https://owncloud.pueo-owl.ch/remote.php/webdav/. Plugging that into Cyberduck works, so I tried something analogous for the Host Europe installation, replacing dav/files/{user-id}/ by webdav/. That did not work, but I cannot get the log entries from the host.

So the question is, how to I specify the URL of the ownCloud installation running on Host Europe to Cyberduck.

Thanks


#2

Hey,

in the past i stumbled over the following documentation below. Maybe this could help you on this topic?

https://doc.owncloud.org/server/latest/admin_manual/configuration/server/reverse_proxy_configuration.html#multiple-domains-reverse-ssl-proxy


#3

Thanks, Tom. I did something similar just to connect to the ownCloud installation via Web without mentioning the SSL proxy, and that works now, whether the proxy is in the URL or not. I think something similar has to be done for connecting via WebDAV.