New Nextcloud installation (errors after setting up and installing apps)
Operating system and version: Linux RaspberryPi 4.14.70-v7+ #1144 SMP Tue Sep 18 17:34:46 BST 2018 armv7l GNU/Linux
Apache version: 2.4.25
PHP version: 7.0.30
The data of my cloud is stored on an external hard drive with the path ‘/data/Mediacenter’.
When I call Nextcloud in the browser, the following error occurs:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
The output of the Nextcloud log in /var/www/html/nextcloud/data
:
{"reqId":"HGGIBdCKerwwr2wpwDnO","level":3,"time":"2018-10-03T07:40:49+00:00","remoteAddr":"192.168.0.61","user":"--","app":"PHP","method":"POST","url":"\/nextcloud\/index.php","message":"mkdir(): Permission denied at \/var\/www\/html\/nextcloud\/lib\/private\/Setup.php#300","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":""}
{"reqId":"7gxMt2jLh6d832NcgRej","level":3,"time":"2018-10-03T07:41:59+00:00","remoteAddr":"192.168.0.61","user":"--","app":"PHP","method":"POST","url":"\/nextcloud\/index.php","message":"mkdir(): Permission denied at \/var\/www\/html\/nextcloud\/lib\/private\/Setup.php#300","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":""}
I have already executed the following commands several times:
chown -R www-data:www-data /var/www/html/nextcloud/
chmod -R 777 /var/www/html/nextcloud/