To do so, you need to ether check this folder via NC GUI to trigger immediately refresh, or run command (e.g. via OS cronjob) to do re scan of external storage’s:
sudo -u www-data php /var/www/nextcloud/occ files:scan --path="tschneemann/files/externalShareMountName"
Check this out:
I have set rights to 664 and added my NC user www-data to the group of local folder owner - in my case sambashare) by running following command (see explanation here):
sudo usermod -a -G sambashare www-data
You can check if user belongs to correct groups by running command groups <user>, in my case:
# groups www-data
www-data : www-data sambashare
I have /at the end e.g. /mnt/lvm/ not sure if it is really relevant. And in your case it could be as following:
Nope, if you mounting local folder, not samba
I have the same message on top.
