Nextcloud won't work after Update to 26.x

Nextcloud version (eg, 20.0.5):
Operating system and version (eg, Ubuntu 20.04): Debian 10.12
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38 / nginx 1.20.2
PHP version (eg, 7.4): PHP 8.0.28

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Update NC 25.x to NC 26 (internal update-function)

The output of your Nextcloud log in Admin > Logging:

{"reqId":"ZCP2TGa8CmyGhGbJpuFe5QAAAQU","level":3,"time":"2023-03-29T08:26:53+00:00","remoteAddr":"","user":"**","app":"PHP","method":"GET","url":"/nextcloud/","message":"Error: Class \"OCA\\Theming\\ImageManager\" not found at /var/www/vhosts/****/nextcloud/lib/private/Server.php#1213","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36","version":"","data":{"app":"PHP"}}

The output of your Apache/nginx/system log in /var/log/____: - - [29/Mar/2023:10:44:57 +0200] "GET /nextcloud/ HTTP/1.0" 500 1009 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36"

Had the same error with other NCs working on my server, i restored them from backup to version 25 to get them working again

1 Like

Ok, after rebooting the server, it worked. Don’t know why.

1 Like

Had the same problem with the next nextcloud-update to 26.x and this time i found the relevant error-entry: “Zend OPcache can’t be temporary enabled (it may be only disabled till the end of request) at Unknown#0”
I had “opcache.enable = 1” in my php-config-file and with this version there is anywhere a second opcache-enable and so this gave a conflict.
Removed the “opcache.enable = 1” from my php-config and now it works