Having a similar issue right now and would need help getting my setup to work.
My Setup:
Everything is running on my physical Server with 2xSSD and 1x NVMe.
Proxmox as Virtualzation pattform running "bare-metal" on the Server taking the NVMe Disk.
1x VM operating TrueNAS as a virtualized NAS wich recieves the 2xSSDs as pass-through and serves these out via NFS + SMB (CIFS), Intention is that the NAS is accessable as such in my Home-Network and can also hold the "slower" kind of data of the Cloudron-Space.
1x VM operating Cloudron, my intention is to have NextCloud inside Cloudron and mount the "Networkshares" to have the data there.
Have declared the Networkshares as Shares directly in Cloudron and am able to move the data-partitions of some other Apps (not NextCloud) over there.
For the NextCloud-App, I mounted the Data-Networkshare as a volume to the app, so its visible under /media/myNASdataShare
but "obviously" its owned by root
and not yellowtent
or www-data
. Inside the NextCloud App, I can declare it as an External-Storage of type local, can see alt he data and can read from it but can not manipulate these. I was wondering wether this was due to a root_squash
flag inside Cloudron for the mount but then it should not be possible to move other App-Data to the NFS-Share.
Maybe there is something similar happening inside the NextCloud-App-Container.
My goal:
Being able to use (read/write) the NFS-Shares which are properly configured to be consumed by other clients inside NextCloud.
Any Ideas on what I could do or where I should look?
Thanks in advance for your support!