'Internal Server Error' after hardware migration

Hi,

I have migrated my Nextcloud instance to new hardware and there installed

  • Apache and its configuration
  • PHP and its configuration
  • The Nextcloud database
  • All Nextcloud files

However, it still doesnt work – what dit I forget?

Below the outputs of the server and of occ support:report

Thanks for your help, Christian

Outputs

Server

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.

Server configuration detail

Operating system: Linux 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64

Webserver: Unknown (cli)

Database: mysql 11.8.3

PHP version: 8.4.11

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 31.0.9 - 31.0.9.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

List of activated apps
Enabled:
 - activity: 4.0.0
 - app_api: 5.0.2
 - bruteforcesettings: 4.0.0
 - calendar: 5.5.5
 - circles: 31.0.0
 - comments: 1.21.0
 - contactsinteraction: 1.12.0
 - dashboard: 7.11.0
 - federation: 1.21.0
 - files_downloadlimit: 4.0.0
 - files_external: 1.23.0
 - files_pdfviewer: 4.0.0
 - files_reminders: 1.4.0
 - files_sharing: 1.23.1
 - files_trashbin: 1.21.0
 - files_versions: 1.24.0
 - firstrunwizard: 4.0.0
 - logreader: 4.0.0
 - nextcloud_announcements: 3.0.0
 - notifications: 4.0.0
 - password_policy: 3.0.0
 - photos: 4.0.0
 - privacy: 3.0.0
 - recommendations: 4.0.0
 - related_resources: 2.0.0
 - richdocuments: 8.7.5
 - richdocumentscode: 25.4.504
 - serverinfo: 3.0.0
 - sharebymail: 1.21.0
 - support: 3.0.0
 - survey_client: 3.0.0
 - systemtags: 1.21.1
 - text: 5.0.0
 - updatenotification: 1.21.0
 - user_status: 1.11.0
 - weather_status: 1.11.0
 - webhook_listeners: 1.2.0
Disabled:
 - admin_audit
 - encryption
 - suspicious_login
 - twofactor_nextcloud_notification
 - twofactor_totp
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "31.0.9.1",
    "overwrite.cli.url": "https:\/\/192.168.178.5\/nextcloud",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "theme": "",
    "loglevel": 0,
    "maintenance": false,
    "trusted_domains": {
        "1": "192.168.178.5",
        "2": "www.focke.cc",
        "3": "www.foxyfacts.at",
        "4": "www.foxyfacts.com"
    },
    "default_phone_region": "AT",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "filelocking.enabled": true,
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379,
        "timeout": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "maintenance_window_start": 1,
    "app_install_overwrite": [
        "files_texteditor",
        "files_rightclick"
    ],
    "log_type": "file",
    "logfile": "\/var\/www\/nextcloud.log\/nextcloud.log"
}

Cron Configuration:

Mode: cron
Last: 2025-11-08T15:55:02+00:00 (373407 seconds ago)

External storages: yes

External storage configuration
No mounts configured

Encryption: no

User-backends:

  • OC\User\Database

Subscription:

  • No valid subscription key set

Browser: unknown

Setup checks

network
  • WebDAV endpoint: Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken.
    To allow this check to run you have to make sure that your Web server can connect to itself. Therefore it must be able to resolve and connect to at least one of its trusted_domains or the overwrite.cli.url. This failure may be the result of a server-side DNS mismatch or outbound firewall rule.
  • OCS provider resolving: Your web server is not properly set up to resolve “/ocm-provider/”.
    This is most likely related to a web server configuration that was not updated to deliver this folder directly.
    Please compare your configuration against the shipped rewrite rules in “.htaccess” for Apache or the provided one in the documentation for Nginx.
    On Nginx those are typically the lines starting with “location ~” that need an update.
  • .well-known URLs: Your web server is not properly set up to resolve .well-known URLs, failed on:
    /.well-known/webfinger
system
  • Errors in the log: 1549 errors in the logs since November 5, 2025, 11:38:29 PM
  • Brute-force Throttle: Your remote address could not be determined.
  • Cron last run: Last background job execution ran 4 days ago. Something seems wrong. Check the background job settings.
  • Transactional File Locking: The database is used for transactional file locking. To enhance performance, please configure memcache, if available.
security
  • Forwarded for headers: Your remote address could not be determined.
  • HTTP headers: Could not check that your web server serves security headers correctly, unable to query /index.php/heartbeat
database
  • Database version: MariaDB version “11.8.3-MariaDB-0+deb13u1 from Debian” detected. MariaDB >=10.6 and <=11.4 is suggested for best performance, stability and functionality with this version of Nextcloud.
php
  • PHP Imagick module: The PHP module “imagick” in this instance has no SVG support. For better compatibility it is recommended to install it.

– already solved after looking into the config.php section of my post – I forgot to install

  • redis php-redis
  • php-apcu

Over and out, Christian