What would be the recommended way to use external storage and connect to a hetzner storage box?
They provide webdav and SFTP.
But both connection methods do not work with the correct settings (works mounting with another client application).
I can see no log output in owncloud.log when trying to connect via SFTP.
When trying to connect via Webdav, there are messages in owncloud.log about “Message not Allowed”:
ontext",“method”:“GET”,“url”:“/owncloud/apps/files_external/globalstorages/7?testOnly=true”,“message”:"Exception: {"Exception":"Sabre\\HTTP\\ClientHttpException","Message":"Method Not Allowed","Code":405,"Trace":"#0 \/srv\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Client.php(231): Sabre\\HTTP\\Client->send(Object(Sabre\\HTTP\\Request))\n#1 \/srv\/www\/owncloud\/lib\/private\/Files\/Storage\/DAV.php(255): Sabre\\DAV\\Client->propFind('https:\/\/u1…
Hi @dmitry
thanks a lot.
So I assume that is because NFS is more fault tolerant if a connection is lost and returns again.
Unfortunately in my special scenario NFS is not supported by the hetzner storagebox. So I had to use webdav (I did not figure out how to use SFTP in this scenario).
At the hetzner console I consigures a subaccount on a folder owncloud.
At ownCloud I configure:
External Storage: WebDAV
Authentication: Username and Password
URL: http://<subaccount>.your-storagebox.de
Path: leave empty or use a subpath within owncloud folder
https: [x]
Username: <subaccaount> with corresponding <password>.