My system runs on Proxmox, with Unraid virtualised to handle storage.
My Nextcloud now runs as a VM on Proxmox, instead of a Docker on Unraid, for more control.
The Nextcloud VM Disk is stored on an NFS share from the Unraid VM. Iāve had no problems with this so far.
Iāve put the NC Datadisk on a SMB share from Unraid.
Question:
Is this setup a proper way to run Nextcloud, or am I trying to Frankenstein something together that will come back to bite me in the future? It seems to work fine for the most part, but I sometimes get sync errors from my DAVx on my phone, and the SeedVault backup on my phone. Something like āmisconfigured serverā.
Iām not done yet with the configuration (still need to get a reverse proxy going, for example), but Iād really like to know if Iām on the right track. If there is a smarter or more stable way to set this up, please let me know.
I have a similar setup - proxmox, vm, nas (nfs:data) but I have my vmās on the local disk and a connected usb and back them up to both usb and nas. usb in case I have to take the vmās to another system. proxy server set up as I have two other systems to forward to. I found I had to set up my DAVx on the proxy to get it to work. I NC is a snap install.
Iāve tried to get it to work on NFS, but I canāt get it to function properly.
Iāve mounted the share in ā/var/www/nextcloud/ā, but after a while it starts to complain that it canāt create the data directory. The folder I made has www:data as owner. The remote share itself likely isnāt.
fstab entry: 192.168.2.x:āremote locationā /var/www/nextcloud/folder nfs4 defaults 0 0
"
If I try the ālsā command in the folder, I get the error āls: cannot open directory ā.ā: Stale file handleā
Am I missing something?
Edit: I found out that the āstale file handleā has to do with Unraidās mover, so itās not a nfs version issue.
So to use the NFS share (Linux - nfs-common installed) which you probably already have installed.
I created the share and mounted it in the /mnt folder and then created a link to the /var/www/etc/folder (I normally rename the data folder to _data).
Enter the path to data folder in the config and the external folder option (again I am sure you have already done this).
You then should be able to read/write to folders