Jump to content

Mounting a webdav shares on unraid?


Recommended Posts

Posted

My company's server has a webdav share for me, which I like to mount on my unraid server like other smb shares, but I can't find any clear way to do it, unraid seems only support smb or nfs share, is there any docker app or plugin for this?

  • 3 years later...
Posted

Here is how I figured this out
 

plugin install https://raw.githubusercontent.com/greycubesgav/unraid-templates/refs/heads/main/davfs2/davfs2.plg
tailscale_mountpoint=/mnt/remotes/tailscale
tailscale_remote=http://100.100.100.100:8080
davfs_secrets=/etc/davfs2/secrets
grep -q "^$tailscale_remote" $davfs_secrets || echo "$tailscale_remote  ''  ''" | tee -a $davfs_secrets > /dev/null
mkdir -p $tailscale_mountpoint
mount -t davfs $tailscale_remote $tailscale_mountpoint

the username and password are empty for Tailscale, so you will have to fill them within the single quotes

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...