Hello, I have tried to follow this tutorial in order to setup an NSF share between Nextcloud pi and my desktop (Ubuntu).
However, I receive some error messages, mainly something like “permission denied by the server”.
This is how I have set it up :
My desktop is
192.168.0.17and Nextcloud Pi server is
My firewall allows only port
4443. I don’t want/need port
80so far. It means
First, I have enabled NFS through the web-GUI with
192.168.0.17as IP address, and
www-dataas user & group.
Then I access Nextcloud Pi through SSH as root and put in
So I save and do in the terminal
sudo exportfs -ra
Now I go on the desktop and use in the terminal :
mkdir mnt/NCPto make the mounting folder.
sudo mount 192.168.0.18:/media/USBdrive/ncdata/user/files /mnt/NCPto mount the NFS. This is where it send the error message regarding the access denied by the server.
So I continue anyway with :
gedit admin:///etc/fstabto add the following line :
192.168.0.18:/media/USBdrive /mnt/NCP nfs rw,user,exec 0 0to hope an auto-boot, even if I know that something was previously wrong. And finally, nothing happen, no NFS.
So do you think if maybe a firewall issue ? In the tutorial, it is said that the NFS server relies on RPCbind (also known as portmapper) which runs on TCP and UDP port
111. So shall I make a port forwarding like
Is there anything else I have forgot to install or did anything wrong ?
Thank you very much for your help.