Internal Server Error after a reboot

Nextcloud version 19.0.2
Operating system and version Unraid 6.8.3

The issue you are facing:

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.

Is this the first time you’ve seen this error? (Y/N): Y
The error occured after a reboot of the system, before the system worked as normal

Log nextcloud/data/nextcloud.log:
{“reqId”:“CCCcKu04Y2M3kUn1R4dQ”,“level”:2,“time”:“2020-09-01T13:45:34+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/",“message”:“Could not detect any host in http:///data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:""}
{“reqId”:“CCCcKu04Y2M3kUn1R4dQ”,“level”:2,“time”:“2020-09-01T13:45:34+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/",“message”:“Could not detect any host in https:///data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:""}
{“reqId”:“CCCcKu04Y2M3kUn1R4dQ”,“level”:3,“time”:“2020-09-01T13:45:34+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“jsresourceloader”,“method”:“GET”,“url”:"/",“message”:“Could not find resource js/setup.js to load”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:""}
{“reqId”:“hMxCPGlNGrJBXrNDg4iR”,“level”:2,“time”:“2020-09-01T13:49:10+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php",“message”:“Could not detect any host in http:///data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:""}
{“reqId”:“hMxCPGlNGrJBXrNDg4iR”,“level”:2,“time”:“2020-09-01T13:49:10+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php",“message”:“Could not detect any host in https:///data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:""}
{“reqId”:“hMxCPGlNGrJBXrNDg4iR”,“level”:3,“time”:“2020-09-01T13:49:13+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“jsresourceloader”,“method”:“POST”,“url”:"/index.php",“message”:“Could not find resource js/setup.js to load”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}
{“reqId”:“lWUIfyi5d3uK6vIRZ5bh”,“level”:2,“time”:“2020-09-01T13:50:20+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php",“message”:“Host 192.168.178.76 was not connected to because it violates local access rules”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}
{“reqId”:“lWUIfyi5d3uK6vIRZ5bh”,“level”:2,“time”:“2020-09-01T13:50:20+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php",“message”:“Host 192.168.178.76 was not connected to because it violates local access rules”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}
{“reqId”:“lWUIfyi5d3uK6vIRZ5bh”,“level”:3,“time”:“2020-09-01T13:50:23+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“jsresourceloader”,“method”:“POST”,“url”:"/index.php",“message”:“Could not find resource js/setup.js to load”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}
{“reqId”:“DV1mdsZsyFRGmQvaHT9C”,“level”:2,“time”:“2020-09-01T13:50:53+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php",“message”:“Host 192.168.178.76 was not connected to because it violates local access rules”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}
{“reqId”:“DV1mdsZsyFRGmQvaHT9C”,“level”:2,“time”:“2020-09-01T13:50:53+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php",“message”:“Host 192.168.178.76 was not connected to because it violates local access rules”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}
{“reqId”:“DV1mdsZsyFRGmQvaHT9C”,“level”:3,“time”:“2020-09-01T13:50:57+00:00”,“remoteAddr”:“192.168.178.86”,“user”:"–",“app”:“jsresourceloader”,“method”:“POST”,“url”:"/index.php",“message”:“Could not find resource js/setup.js to load”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36”,“version”:“19.0.2.2”}

I’ve solved the issue. The Issue seems to stem form the MariaDB server. It looks like the password or something else expired and the solve is to root into MariaDB and reset the password the same as it was before.

Logging in as root on the MariaDB server

UPDATE mysql.user SET authentication_string = PASSWORD('same_password_as_before')
WHERE User = 'nextcloud' AND Host = 'localhost';
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud' IDENTIFIED BY 'same_password_as_before';
exit;