I’m trying to access my Nextcloud server installed on a Raspberry pi model 3+ via WebDav. I followed the official Nextcloud docs available at this link: https://docs.nextcloud.com/server/18/user_manual/files/access_webdav.html#, section Creating WebDAV mounts on the Linux command line (I use Debian with xfce so I do not have neither Dolphin nor Nautilus file manager).
So here my
secret file (obviously username , password and file path are fictitious):
/home/user/nextcloud john 1234
[...] https://mynextcloudserver.com/remote.php/dav/files/john/ /home/user/nextcloud davfs user,rw,auto 0 0
Finally, when I try to mount and authenticate running the following command
I get the following error:
/sbin/mount.davfs: Mounting failed. 401 Unauthorized
Can anyone help me?