Please check the parent folders as well, www-data needs to be able to read and execute within them. It should be ok once you can see a file listing entering this command:
sudo -u www-data ls -lisa /media/pi/disk1/nextcloud/data
Please check the parent folders as well, www-data needs to be able to read and execute within them. It should be ok once you can see a file listing entering this command:
sudo -u www-data ls -lisa /media/pi/disk1/nextcloud/data