Internal Server Error after upgrade to 29.0.5

Hi,
I just upgraded my nextcloud from 29.0.4 to 29.0.5. At first, it seemed to work, then I ran occ maintenance:repair --include-expensive on the console as shown on the dashboard. Right after that, the install seems broken. It is only showing following message in the browser:

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.

Nextcloud version: 29.0.5
Operating system and version: Linux a2e64 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
Apache or nginx version: unsure, it’s installed on a webhosting
PHP version: 8.2.22

Is this the first time you’ve seen this error? Yes

The output of your Nextcloud log in Admin > Logging:

{"reqId":"jpEOX49s7VbRWQkl9foj","level":3,"time":"2024-08-21T22:05:14+00:00","remoteAddr":"xxxxxxxxx","user":"admin","app":"core","method":"GET","url":"/index.php/apps/dashboard/","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/SimpleFS/SimpleFile.php","line":74,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":118,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":93,"function":"isCached","class":"OC\\Template\\JSCombiner","type":"->","args":["merged-template-prepend.js.deps",["OC\\Files\\SimpleFS\\SimpleFolder"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":132,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json","core"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":91,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/ResourceLocator.php","line":73,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["core/js/merged-template-prepend"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":403,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","dashboard/l10n/de_DE","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":247,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","dashboard/l10n/de_DE","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/legacy/OC_Template.php","line":145,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/legacy/OC_Template.php","line":320,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/index.php","line":114,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[["OCP\\Files\\GenericFileException"],500]}],"File":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/Node/File.php","Line":56,"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxxxxx',
  'passwordsalt' => 'xxxxxx',
  'secret' => 'xxxxxx',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.mydomain.de',
  ),
  'datadirectory' => '/httpdocs/nextcloud.mydomain/data',
  'dbtype' => 'mysql',
  'version' => '29.0.5.1',
  'overwrite.cli.url' => 'https://nextcloud.mydomain.de',
  'dbname' => 'xxxxx_nextcloud',
  'dbhost' => 'xxxxx:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxxx_nextcloud',
  'dbpassword' => 'xxxxxx',
  'installed' => true,
  'preview_max_x' => 1024,
  'preview_max_y' => 1024,
  'preview_max_scale_factor' => 1,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'filelocking.enabled' => true,
);

data.config.php:

<?php

$CONFIG['datadirectory'] = realpath(__dir__ . '/../data');

What could be the issue here? How can I fix this? And if not possible, how can I roll back to the backup that was created during the update?

Thanks in advance!

Additionally, here’s the output of /occ setupchecks

        dav:
                ✓ DAV system address book: No outstanding DAV system address book sync.
        network:
                ✓ WebDAV endpoint: Your web server is properly set up to allow file synchronization over WebDAV.
                ✓ Data directory protected
                ✓ Internet connectivity
                ✓ JavaScript source map support
                ✓ JavaScript modules support
                ✓ OCS provider resolving
                ✓ .well-known URLs: Your server is correctly configured to serve `.well-known` URLs.
                ✓ WOFF2 file loading
        system:
                ⚠ Errors in the log: 211 errors in the logs since August 21, 2024, 5:30:09 PM
                ℹ Brute-force Throttle: Your remote address could not be determined.
                ✓ Cron errors: The last cron job ran without errors.
                ✓ Cron last run: Last background job execution ran 3 minutes ago.
                ✓ Debug mode: Debug mode is disabled.
                ℹ File locking: The database is used for transactional file locking. To enhance performance, please configure memcache, if available.
                ⚠ Maintenance window start: Server has no maintenance window start time configured. This means resource intensive daily background jobs will also be executed during your main usage time. We recommend to set it to a time of low usage, so users are less impacted by the load caused from these heavy tasks.
                ℹ Memcache: No memory cache has been configured. To enhance performance, please configure a memcache, if available.
                ⚠ Mimetype migrations available: One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
                ✓ Architecture: 64-bit
                ✓ Temporary space available: Temporary directory is correctly configured:
- 761.1 GiB available in /tmp (PHP temporary directory)
                ✓ Push service: Free push service
        notifications:
                ✓ Push notifications - Fair use policy
        security:
                ✓ App directories owner: App directories have the correct owner "hostingxxxxxxx"
                ✓ Old administration imported certificates
                ✓ Code integrity: No altered files
                ℹ Forwarded for headers: Your remote address could not be determined.
                ✓ HTTPS access and URLs: You are accessing your instance over a secure connection, and your instance is generating secure URLs.
                ✓ Old server-side-encryption: Disabled
                ✓ PHP version: You are currently running PHP 8.2.22.
                ✓ Random generator: Secure
                ✓ HTTP headers: Your server is correctly configured to send security headers.
        database:
                ✓ Database missing columns: None
                ✓ Database missing indices: None
                ✓ Database missing primary keys: None
                ✓ Database pending bigint migrations: None
                ✓ MySQL Unicode support: MySQL is used as database and does support 4-byte characters
                ✓ Scheduling objects table size: Scheduling objects table size is within acceptable range.
                ✓ Database version: 8.0.33
                ✓ Database transaction isolation level: Read committed
        config:
                ℹ Default phone region: Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add "default_phone_region" with the respective ISO 3166-1 code of the region to your config file.
                ℹ Email test: You have not set or verified your email server configuration, yet. Please head over to the "Basic settings" in order to set them. Afterwards, use the "Send email" button below the form to verify your settings.
                ✓ Overwrite CLI URL: The "overwrite.cli.url" option in your config.php is set to "https://nextcloud.mydomain.de" which is a correct URL. Suggested URL is "http://localhost".
                ✓ Configuration file access rights: Nextcloud configuration file is writable
        php:
                ✓ PHP default charset: UTF-8
                ✓ PHP set_time_limit: The function is available.
                ✓ Freetype: Supported
                ✓ PHP getenv
                ✓ PHP memory limit: 512 MB
                ✓ PHP modules
                ✓ PHP opcache: Checking from CLI, OPcache checks have been skipped.
                ✓ PHP "output_buffering" option: Disabled
                ✓ PHP Imagick module

And I realized, there is more in the log for this reqId. Sorry, here’s the full log:

{"reqId":"jpEOX49s7VbRWQkl9foj","level":3,"time":"2024-08-21T22:05:14+00:00","remoteAddr":"xxxxxxxxx","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/dashboard/","message":"file_get_contents(/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/data/appdata_ocx6zyqv0yar/js/core/merged-template-prepend.js.deps): Failed to open stream: No such file or directory at /var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/Storage/Local.php#331","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","data":{"app":"PHP"}}
{"reqId":"jpEOX49s7VbRWQkl9foj","level":3,"time":"2024-08-21T22:05:14+00:00","remoteAddr":"xxxxxxxxx","user":"admin","app":"index","method":"GET","url":"/index.php/apps/dashboard/","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/SimpleFS/SimpleFile.php","line":74,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":118,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":93,"function":"isCached","class":"OC\\Template\\JSCombiner","type":"->","args":["merged-template-prepend.js.deps",["OC\\Files\\SimpleFS\\SimpleFolder"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":132,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json","core"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":91,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/ResourceLocator.php","line":73,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["core/js/merged-template-prepend"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":403,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","core/js/files_fileinfo","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":247,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","core/js/files_fileinfo","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/legacy/OC_Template.php","line":145,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["user","dashboard"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->","args":[["#app-dashboard",null,"Dashboard"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/AppFramework/Http/Dispatcher.php","line":183,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Dashboard\\Controller\\DashboardController"],"index"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Dashboard\\Controller\\DashboardController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["dashboard.dashboard.index"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/base.php","line":1053,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/dashboard/"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/Node/File.php","Line":56,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"jpEOX49s7VbRWQkl9foj","level":3,"time":"2024-08-21T22:05:14+00:00","remoteAddr":"xxxxxxxxx","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/dashboard/","message":"file_get_contents(/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/data/appdata_ocx6zyqv0yar/js/core/merged-template-prepend.js.deps): Failed to open stream: No such file or directory at /var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/Storage/Local.php#331","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","data":{"app":"PHP"}}
{"reqId":"jpEOX49s7VbRWQkl9foj","level":3,"time":"2024-08-21T22:05:14+00:00","remoteAddr":"xxxxxxxxx","user":"admin","app":"core","method":"GET","url":"/index.php/apps/dashboard/","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/SimpleFS/SimpleFile.php","line":74,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":118,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":93,"function":"isCached","class":"OC\\Template\\JSCombiner","type":"->","args":["merged-template-prepend.js.deps",["OC\\Files\\SimpleFS\\SimpleFolder"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":132,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json","core"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":91,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/ResourceLocator.php","line":73,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["core/js/merged-template-prepend"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":403,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","core/js/files_fileinfo","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":247,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","core/js/files_fileinfo","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/legacy/OC_Template.php","line":145,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["user","dashboard"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->","args":[["#app-dashboard",null,"Dashboard"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/AppFramework/Http/Dispatcher.php","line":183,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Dashboard\\Controller\\DashboardController"],"index"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Dashboard\\Controller\\DashboardController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["dashboard.dashboard.index"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/base.php","line":1053,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/dashboard/"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/Node/File.php","Line":56,"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"jpEOX49s7VbRWQkl9foj","level":3,"time":"2024-08-21T22:05:14+00:00","remoteAddr":"xxxxxxxxx","user":"admin","app":"core","method":"GET","url":"/index.php/apps/dashboard/","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/SimpleFS/SimpleFile.php","line":74,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":118,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSCombiner.php","line":93,"function":"isCached","class":"OC\\Template\\JSCombiner","type":"->","args":["merged-template-prepend.js.deps",["OC\\Files\\SimpleFS\\SimpleFolder"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":132,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json","core"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/JSResourceLocator.php","line":91,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain","core/js/merged-template-prepend.json"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/ResourceLocator.php","line":73,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["core/js/merged-template-prepend"]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":403,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","dashboard/l10n/de_DE","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/TemplateLayout.php","line":247,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/common","core/js/main","updatenotification/l10n/de_DE","updatenotification/js/init","dashboard/l10n/de_DE","And 21 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/legacy/OC_Template.php","line":145,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/legacy/OC_Template.php","line":320,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/index.php","line":114,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[["OCP\\Files\\GenericFileException"],500]}],"File":"/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/lib/private/Files/Node/File.php","Line":56,"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}

In fact, /var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/data/appdata_ocx6zyqv0yar/js/core is an empty directory…

When checking the backup, I see that the updater apparently changed the datadirectory in the config. Before, I set it to '/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/data', but after the update it was changed to '/httpdocs/nextcloud.mydomain/data'. I still have it changed to realpath(__dir__ . '/../data') using a second config file which should take precedence, but I assume something went wrong during the update…

I have the exact same issue.

Setting debug to true seems to be a temporary “fix”.

Oh, thanks for pointing that out. I hadn’t tried that, but just checked and this works for me, too.
I’ll investigate further tomorrow. Please keep me updated if you find something out.

While it works with 'debug' => true, this is not a permanent solution. Also, it creates new errors in the log when I open the files app:

{"reqId":"Q5UXQ4WAxztQEmn6dM2U","level":3,"time":"2024-08-23T08:10:15+00:00","remoteAddr":"xxxxxx","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/","message":"is_dir(): open_basedir restriction in effect. File(/opt/bin) is not within the allowed path(s): (/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/:/tmp/:/var/lib/php/sessions:/var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/tmp) at /var/www/vhosts/hostingxxxxxxx.a2e64.netcup.net/httpdocs/nextcloud.mydomain/3rdparty/symfony/process/ExecutableFinder.php#56","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.5.1","data":{"app":"PHP"}}

Are we two the only ones with that issue?

Looks like we have to reinstall to fix it :c

Okay, I found another solution.
I’m not happy with it but it works (for me).

I changed the update channel from stable to beta and updated to the new version.
The update worked and I could disable the debug mode again.

Glad you found a way to fix your installation. Unfortunately, that did not help in my case. I just installed Nextcloud Hub 9 (30.0.0 RC2), but still cannot deactivate the debug mode without getting the Internal Server Error. I guess, I’ll have to reinstall :frowning:

I ended up, reinstalling. Fortunately, it’s only a two-user instance. The share links I could set like before using the Configurable Share Links plugin.
Before the next plugin, I’ll make a full backup. Didn’t expect a minor upgrade to cause such an issue, but now I know

I had the same issue directly after execution of the command, but after some hours it worked again in my case.

Try
systemctl stop php8.2-fpm.service
systemctl start php8.2-fpm.service

after that my server worked again without any errors

1 Like

I don’t think this is possible on a webhosting instance. Anyways, thanks for the idea. As said, I reinstalled by now

Happaned to me with the last update, I was looking to this page in order to find a solution and while playing with varios possible repairs I rememebered that during the update it mentioned that Splash login didn’t have an update yet. I checked now, and Unsplash was filling the error log, and also it looked like there was an update available - I update and rebooted the VM and it worked again!

1 Like

worked for me. Updating from 28.0.6 to 28.0.10 i was confronted with the same
Internal Server Error.

When i edited the config.php and added 'debug' => true i could reach the admin panel again. From there i upgraded to Nextcloud Hub 8 29.0.7.

After the upgrade, the debug mode was disabled automatically.

Seems to be working again. Just to let you, and others, know. Aka you were not alone :wink:

It works here. Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.