Self created Folders

Hey guys,

im using nextcloud on my homeserver to get access to my files at any device when i need it, that works perfectly fine but i would like to mount the data folder now as samba share on my dekstop computer. Issue there is, when i create a folder manually owncloud wont recognize it until i run sudo -u www-data php /var/www/nextcloud/console.php files:scan --all

After that i can see the folder, however i dont have permissions to upload any files in it, after a chown -R www-data:www-data /disk2/data/ im still unable to upload anything in it.

Maybe someone here knows the solution for my issue :slight_smile:

Nextcloud expects to have exclusive access to the data folder and does not check for changes behind its back. For shared storage, use the external storage app, there you can set how often it is checked for changes (never or on every access).