Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Hetzner Storage Box; WebDAV access not working with sub-accounts.

elijahpaulelijahpaul Member
edited June 2022 in Help

Can anyone confirm if they've successfully connected to a sub-account on their Hetzner Storage Box via WebDAV?

Specifically sub-accounts are failing for me,

> sudo mount -t davfs https://u000000-sub1.your-storagebox.de /mnt/z
Please enter the username to authenticate with server
https://u000000-sub1.your-storagebox.de or hit enter for none.
  Username: u000000-sub1
Please enter the password to authenticate user u000000-sub1 with server
https://u000000-sub1.your-storagebox.de or hit enter for none.
  Password:
/sbin/mount.davfs: mounting failed; the server does not support WebDAV

WebDAV is enabled on both the main and sub-account(s).

I have no issue connecting via WebDAV on the main account,

> sudo mount -t davfs https://u000000.your-storagebox.de /mnt/z
Please enter the username to authenticate with server
https://u000000.your-storagebox.de or hit enter for none.
  Username: u000000
Please enter the password to authenticate user u000000 with server
https://u000000.your-storagebox.de or hit enter for none.
  Password:
❯ ls -alh /mnt/z
total 512
drwxr-xr-x 4 root root 104 Jun 28 12:06 .
drwxr-xr-x 2 root root   0 Jun 28 12:06 TEST
drwx------ 2 root root   0 Jun 28 13:05 lost+found

just sub-accounts. Am I doing something wrong?

P.S. Hetzner Support is still investigating. Just wanted to ask if anyone else is experiencing this.

Comments

  • elijahpaulelijahpaul Member
    edited June 2022

    Update: Hetzner Support figured out that I wasn't able to access the sub-account via WebDAV with read-only enabled. I attempted to mount the read-only sub-account with the davfs command read-only option;

    sudo mount -t davfs -o ro https://u000000-sub1.your-storagebox.de /mnt/z
    

    but that failed. Asked Hetzner Support if they could provide an example of any client that can connect to a sub-account with read-only enabled via WebDAV and they told me to, 'Google it' (which I had already done).

    Can anyone here provide any insight as to whether or not this is even possible?

  • mwtmwt Member

    I use a read only sub account for hetzner storage box. I don't mount the WebDAV, but I do use it.

    Can you login correctly through your browser?

  • Thank you. Will try this.

    (I also use read-only sub-accounts with other protocols (SFTP/SSH) without issue. WebDAV seems to be the only one not working)

  • @mwt Browser login (https://) works fine. Any ideas?

  • Hetzner just got back to me confirming that davfs and Windows will fail to access a sub-account via WebDAV if read-only is enabled. :(

  • mwtmwt Member

    @elijahpaul said:
    Hetzner just got back to me confirming that davfs and Windows will fail to access a sub-account via WebDAV if read-only is enabled. :(

    Maybe Rclone will work?

  • @mwt Thanks. Will try. I Think I may have to look into other protocols though.

  • @elijahpaul said:
    @mwt Thanks. Will try. I Think I may have to look into other protocols though.

    Can confirm as soon as it's a sub account + read only webdav doesn't work. Tried it with rclone also doesn't work.

Sign In or Register to comment.