Rechteanpassung

Folgende Berechtigungen werden für Nextcloud empfohlen:
Besitzer: www-data:www-data
Ordnerrechte: 0750
Dateirechte: 0640


chown -R www-data:www-data /var/www/html (bzw. entsprechendes Nextcloud-Verzeichnis)
sudo -s
find /var/www/html -type d -exec chmod 750 {} \;
find /var/www/html -type f -exec chmod 640 {} \;
systemctl restart apache2

Bei ausgelagertem Datenverzeichnis:
find /var/www/data -type d -exec chmod 750 {} \;
find /var/www/data -type f -exec chmod 640 {} \;
systemctl restart apache2