Because Ubuntu using UUID in fstab, update needed to Webdav Tutorial #5700

This copied from my post in Github, as per MorrisJobke post.

Nextcloud-Snap user here,

Please update https://docs.nextcloud.com/server/11/user_manual/files/access_webdav.html,

for Creating WebDAV Mounts on the Linux Command Line part, to include how to set up with UUID, because it create problem in fstab, making system unable to boot normally. :frowning:
Steps to reproduce

Follow Creating WebDAV Mounts on the Linux Command Line part in https://docs.nextcloud.com/server/11/user_manual/files/access_webdav.html. At this time, system will complain cannot read line in fstab
Restart system

Expected behaviour

Tell us what should happen

System boot normally

Actual behaviour

Tell us what happens instead

System boot to emergency mode

Server configuration

Operating system:
Bodhi Linux 16.04

Web server:
Personal PC

Database:
Nextcloud-Snap

PHP version:
Nextcloud-Snap

Nextcloud version: (see Nextcloud admin page)
Nextcloud-Snap 11.03

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh Install

Where did you install Nextcloud from:
Nextcloud-Snap

Please provide the fstab entry you tried.

I don’t know for sure for ubuntu snap, but I know that for other dists you can but not need to set up with UUID.

You do not need to use UUID exclusively. Sounds like a typo based on the limited info there.

Secret

mysite.pw/remote.php/dav/files/me/ me mepassword

Fstab

mysite.pw/remote.php/dav/files/me/ /home/me/CloudStorage/DavFSNextcloud
#davfs user,rw,noauto 0 0

mount ~/CloudStorage/DavFSNextcloud
mount: can’t find /home/me/CloudStorage/DavFSNextcloud in /etc/fstab

These are what I do. :slight_smile: