Internal server error due to wrong permissions

Yesterday I recently had to replace my UPS and I noticed that my TimeZone was incorrect in my Unraid Dashboard. So I updated it to the correct settings and did not think anything else of it. This morning I try to connect to by Nextcloud and get the following error

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.

I check the log file and only see the following error:

The environmental variable TZ has been set which is not supported by AIO since it only supports running in the default Etc/UTC timezone!

I am having trouble resolving this issue. Thanks in advance.

Hi, can you follow How to retrieve the Nextcloud logs? · nextcloud/all-in-one · Discussion #5425 · GitHub?

Here is what I get when I retrieved the logs using the message suggested above.

sudo docker exec nextcloud-aio-nextcloud tail data/nextcloud.log

{"reqId":"53wgMou8ymuoV8R4OJmQ","level":3,"time":"2025-04-06T16:43:04+00:00","remoteAddr":"69.14.202.59","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts/Pacifico-Regular.ttf","message":"file_get_contents(/mnt/ncdata/appdata_ocpfhjyah3mk/richdocuments/fonts/Pacifico-Regular.ttf): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#296","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","data":{"app":"PHP"}}
{"reqId":"53wgMou8ymuoV8R4OJmQ","level":3,"time":"2025-04-06T16:43:04+00:00","remoteAddr":"69.14.202.59","user":"--","app":"index","method":"GET","url":"/apps/richdocuments/settings/fonts/Pacifico-Regular.ttf","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/SettingsController.php","line":362,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"getFontFile","class":"OCA\\Richdocuments\\Controller\\SettingsController","type":"->","args":["Pacifico-Regular.ttf"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":303,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\SettingsController","getFontFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"name":"Pacifico-Regular.ttf","_route":"richdocuments.settings.getfontfile"}]},{"file":"/var/www/html/lib/base.php","line":1010,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/settings/fonts/Pacifico-Regular.ttf"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"UwgmxFbZVOsuZ5R28JFR","level":3,"time":"2025-04-06T16:43:05+00:00","remoteAddr":"69.14.202.59","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts/PlayfairDisplay-wght.ttf","message":"file_get_contents(/mnt/ncdata/appdata_ocpfhjyah3mk/richdocuments/fonts/PlayfairDisplay-wght.ttf): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#296","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","data":{"app":"PHP"}}
{"reqId":"UwgmxFbZVOsuZ5R28JFR","level":3,"time":"2025-04-06T16:43:05+00:00","remoteAddr":"69.14.202.59","user":"--","app":"index","method":"GET","url":"/apps/richdocuments/settings/fonts/PlayfairDisplay-wght.ttf","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/SettingsController.php","line":362,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"getFontFile","class":"OCA\\Richdocuments\\Controller\\SettingsController","type":"->","args":["PlayfairDisplay-wght.ttf"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":303,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\SettingsController","getFontFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"name":"PlayfairDisplay-wght.ttf","_route":"richdocuments.settings.getfontfile"}]},{"file":"/var/www/html/lib/base.php","line":1010,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/settings/fonts/PlayfairDisplay-wght.ttf"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"qiEZ3vqOYG8FsE4jgn35","level":3,"time":"2025-04-06T16:43:05+00:00","remoteAddr":"69.14.202.59","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts/Roboto-wdtg-wght.ttf","message":"file_get_contents(/mnt/ncdata/appdata_ocpfhjyah3mk/richdocuments/fonts/Roboto-wdtg-wght.ttf): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#296","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","data":{"app":"PHP"}}
{"reqId":"qiEZ3vqOYG8FsE4jgn35","level":3,"time":"2025-04-06T16:43:05+00:00","remoteAddr":"69.14.202.59","user":"--","app":"index","method":"GET","url":"/apps/richdocuments/settings/fonts/Roboto-wdtg-wght.ttf","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/SettingsController.php","line":362,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"getFontFile","class":"OCA\\Richdocuments\\Controller\\SettingsController","type":"->","args":["Roboto-wdtg-wght.ttf"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":303,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\SettingsController","getFontFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"name":"Roboto-wdtg-wght.ttf","_route":"richdocuments.settings.getfontfile"}]},{"file":"/var/www/html/lib/base.php","line":1010,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/settings/fonts/Roboto-wdtg-wght.ttf"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"CtS8b7j4sV2Z2pkVijxq","level":3,"time":"2025-04-06T16:43:05+00:00","remoteAddr":"69.14.202.59","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts/RobotoMono-wght.ttf","message":"file_get_contents(/mnt/ncdata/appdata_ocpfhjyah3mk/richdocuments/fonts/RobotoMono-wght.ttf): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#296","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","data":{"app":"PHP"}}
{"reqId":"CtS8b7j4sV2Z2pkVijxq","level":3,"time":"2025-04-06T16:43:05+00:00","remoteAddr":"69.14.202.59","user":"--","app":"index","method":"GET","url":"/apps/richdocuments/settings/fonts/RobotoMono-wght.ttf","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/SettingsController.php","line":362,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"getFontFile","class":"OCA\\Richdocuments\\Controller\\SettingsController","type":"->","args":["RobotoMono-wght.ttf"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":303,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\SettingsController","getFontFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"name":"RobotoMono-wght.ttf","_route":"richdocuments.settings.getfontfile"}]},{"file":"/var/www/html/lib/base.php","line":1010,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/settings/fonts/RobotoMono-wght.ttf"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"PHRf50iUZocf5TKKusyl","level":3,"time":"2025-04-06T16:43:06+00:00","remoteAddr":"69.14.202.59","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts/Spectral-Regular.ttf","message":"file_get_contents(/mnt/ncdata/appdata_ocpfhjyah3mk/richdocuments/fonts/Spectral-Regular.ttf): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#296","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","data":{"app":"PHP"}}
{"reqId":"PHRf50iUZocf5TKKusyl","level":3,"time":"2025-04-06T16:43:06+00:00","remoteAddr":"69.14.202.59","user":"--","app":"index","method":"GET","url":"/apps/richdocuments/settings/fonts/Spectral-Regular.ttf","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"COOLWSD HTTP Agent 24.04.12.4","version":"30.0.8.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/SettingsController.php","line":362,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"getFontFile","class":"OCA\\Richdocuments\\Controller\\SettingsController","type":"->","args":["Spectral-Regular.ttf"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\SettingsController"},"getFontFile"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":303,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\SettingsController","getFontFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"name":"Spectral-Regular.ttf","_route":"richdocuments.settings.getfontfile"}]},{"file":"/var/www/html/lib/base.php","line":1010,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/settings/fonts/Spectral-Regular.ttf"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}