You are not logged in.
The topic summarises my problem, so I'll flesh it out.
I have a nextcloud server running on a RaspberryPi, and I can connect from a portable Arch install on a USB HD by manually mounting. However, I'd like to mount automatically on the portable install via fstab. To the best of my recollection, I did not install a self signed cert on the installation (or if I did, I can't locate the certificate).
I've installed davfs2 on the arch machine, and have set up the secrets file with the login credentials. I have prepared fstab to include:
https://my.server.net/nextcloud/remote.php/webdav/ /mnt/webdav davfs user,noauto,_netdev 0 0
It doesn't load at startup. If I run sudo mount -av, it reports the webdav mount as "Ignored"
If I
sudo mount /mnt/webdav
it asks if I want to accept the certificate (baffling since I don't think I made one), and when I answer yes, it mounts just fine.
I have mlocate installed on the Pi and have searched for .pem and .crt files. I've converted the only .crt that looks relevant (certificate.crt in the nextcloud tree) to pem and copied it to ~/.davfs/certs on the Arch machine, but no joy.
This is day three of trying, and google is no help.
What am I missing?
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
This might help?
ask_auth
Ask the user interactively for credentials and passwords if not found in the secretsfile. Ask the user if a servercert cannot be verified. 0 = no, 1 = yes.
Default: 1
https://wiki.archlinux.org/index.php/Da … nt_options
Last edited by V1del (2019-05-07 22:17:04)
Offline