Im trying to install Nextcloud on Ubuntu Server 20.04 using Proxmox VM.
I also want to use my Synology NAS for the data folder storage.
This far I have followed the instructions here: Howto Install NextCloud 20 on Ubuntu 20.04.1 The classic way [Wiki]
Before I started the Nextcloud installation, I mounted my NAS storage to ubuntu. In my fsbtab for automount it says:
192.168.1.15:/volume1/nextcloud /mnt/nextcloud_data nfs defaults 0 0
The storage is mounted fine and after reboot I can still access my
/mnt/nextcloud_data folder using
Although I had big problems selecting this folder when I started the Nextcloud webinterface installation! It complained that it couldn’t find the folder… After much trial and error I somehow managed to get it working after I changed some permissions on my Synology NAS shared folder. I actually dont really know what I did to make it work, but I think it was after I granted the “admin” user to have access to the nextcloud_data folder.
Ok, so finaly the Nextcloud installation accepted my data folder and I could proceed to finalize my installation… And everything worked fin!
I then continued to follow the instructions, again from Howto Install NextCloud 20 on Ubuntu 20.04.1 The classic way [Wiki] for the Redis Memory cache, Nextcloud Security to enable https and certifications.
And now it complains about my data folder “is readable by other users, Please change the permissions to 0770 so that the directory can be listed by other users”
Ok, so I tried using
chmod -r 0770 /mnt/nextcloud_data with
sudo -i privileges. But it says “Operation not permitted”…
I dont know if it is my Synology permissions for the shared folder that make this error, or if it is in the nextcloud/ubuntu installation?
I also cant reach my /var/www/nextcloud/ directory without sudo -i privileges anymore?