I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)
on
Which general topic do you have
Is there a way to mount more than only one local external storage and if yes, how?
I know about the general guide linked below and successfully mount one external folder.
Is it possibel to add a list of folders to the NEXTCLOUD_MOUNT variable?
Yes, that’s the section. I want to mount /mnt/movies, /mnt/Data/public, /mnt/Data/music, but not /mnt/Data/private.
In a former virtual machine with nextcloud I had mounted these directories into the VM and then could configure them as external local share within nextcloud. As far as I understand th section in the documents, the aio instance utilizes the environment variable of NEXTCLOUD_MOUNT and I can’t use several of these. I already tried to assign a list of directories, separated with space to this variable, which doesn’t work.
What you can do is to use the common parent dir like so --env NEXTCLOUD_MOUNT="/mnt/" and then only give the directories that you actually want to use the correct access rights like mentioned further down in the docs.
Can you confirm that with the implemented method, only one mount can be handed over?Would there be a workaround to manually mount folders to the nextcloud-aio-nextcloud container?
I need to play with access rights a bit, I wouldn’t want to fully change the access rights on the common folder, I still hesitate to set access rights everywhere for www-data.
In my use-case it worked to use one overarching folder and differentiate in Nextcloud about which folders to distribute. This can be combined with setting the according permissions on folder level to prevent unintended distribution of all folders.