My environment on the old server
Operating system: Linux 6.2.9-x86_64-linode160 #1 SMP PREEMPT_DYNAMIC Wed Apr 5 15:30:32 EDT 2023 x86_64
Webserver: Apache/2.4.56 (Debian) (fpm-fcgi)
Database: mysql 10.5.21
PHP version: 8.1.27
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, 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: 28.0.1 - 28.0.1.1
New Server
**Webserver ** Apache/2.4.57 (Debian)
System Linux deb12.wealthychef.net 6.1.0-15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.66-1 (2023-12-09) x86_64
PHP Version 8.2.7
Loaded Modules core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_headers mod_mime prefork mod_negotiation mod_php mod_reqtimeout mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status
Database mysql Ver 15.1 Distrib 10.11.6-MariaDB
My problem
I’m trying to migrate from a debian 11 server to a new debian 12 server.
The process seemed simple and straight from the documentation here: Migrating to a different server — Nextcloud latest Administration Manual latest documentation
After doing all the steps in that document, I’m left with a non-working nextcloud on the new server.
When I connect to the new machine, I get this 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.
There are no messages in any log files that I can find. Where can I start to debug this problem and get this working?
Is there an alternative approach to migrating that I’m missing?
I can install a fresh nextcloud on the new server, but how would I then import or otherwise duplicate the old setup?
Thanks for any help!