File/data upload/download not working after clean NC 12.0.3 installation

Yesterday i managed to synchronize contacts and calendar between IOS/Outlook and Nextcloud but i can’t download or upload any files.

While trying to download one of the example pictures i got this error:

Quellcode

	file_get_contents(/srv/dev-disk-by-label-data/www/nextcloud/data/Mirko/files/Photos/Coast.jpg): failed to open stream: No such file or directory at /srv/dev-disk-by-label-data/www/nextcloud/lib/private/Files/Storage/Local.php#209

Than i checked if directory exists and found out that this is missing :
Quellcode

files/Photos/Coast.jpg

This is how it looks at my Server:
Quellcode

root@openmediavault /srv/dev-disk-by-label-data/www/nextcloud/data/Mirko > ls -la
insgesamt 24
drwxrwxr-x+ 3 www-data www-data 4096 Okt 18 21:47 .
drwxrwx---+ 9 www-data www-data 4096 Okt 19 10:47 ..
drwxrwxr-x+ 2 www-data www-data 4096 Okt 19 19:06 cache
root@openmediavault /srv/dev-disk-by-label-data/www/nextcloud/data/Mirko >

If i try to upload a file i only get a small hint which tells
Quellcode

forbidden

Can somebody please help?

Br

Hi,

solved by changing path to data directory at config.php.

Br