"Internal Server Error" after updating from Debian 12 to 13

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.3
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • nginx 1.26.3
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After updating from Debian 12 to 13
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • manually
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

After updating from Debian 12 to 13, Nextcloud does not work anymore - and neither web server log nor nextcloud log contain any messages!

The only thing I see is 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.

Log entries

None!

Web server / Reverse Proxy

Nothing, just the access log with the 500

I edited /var/www/nextcloud/lib/private/Template/TemplateManager.php and changed

if ($debug) {

to

if ($debug || true) {

Now I saw the error details that were not in the log:

Memcache OC\Memcache\APCu not available for local cache /var/www/nextcloud/lib/private/Memcache/Factory.php at 75

I had to install the php-apcu package.

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