Can't access my instance anymore after upgrading Debian

Nextcloud version (eg, 20.0.5): r27.1.2
Operating system and version (eg, Ubuntu 20.04): Debian 12
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.57
PHP version (eg, 7.4): 8.1.25

The issue you are facing:

Since one week I’ve upgraded my home server from debian 11 to debian 12 and since then, i can’t access anymore my NC instance. I have that “internal server error” page instead of my login page.

i’ve look at all logs (nextcloud, apache errors, php,) but nothing relevant is in these logs. i really don’t konw where to start looking for right now. I have important things on my NC so i hope i won’t loose them (i have backup anyway)

I’m using postgresql as nextcloud DB.

So if you have any tips where i can find some clues, it would be nice :slight_smile:

Thanks a lot

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

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

$CONFIG = array (
  'instanceid' => '*****',
  'passwordsalt' => '*****',
  'secret' => '*****',
  'trusted_domains' => 
  array (
    0 => '',
    1 => 'debian-serveur-matt.lan',
  'datadirectory' => '/home/nextcloud/',
  'dbtype' => 'pgsql',
  'version' => '',
  'overwrite.cli.url' => '',
  'dbname' => 'nextcloud',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '*****',
  'dbpassword' => '*****',
  'installed' => true,
  'default_phone_region' => 'FR',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'memories.exiftool' => '/var/www/html/nextcloud/apps/memories/exiftool-bin/exiftool-amd64-glibc',
  'memories.vod.path' => '/var/www/html/nextcloud/apps/memories/exiftool-bin/go-vod-amd64',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,

An internal server error is always logged somewhere. If it’s getting to the Nextcloud Server app, it’ll be in /home/nextcloud/nextcloud.log based on your provided configuration. I would, however, change your loglevel to something more reasonable (like 2) otherwise you’ll be overwhelmed with unnecessary logging.

If Nextcloud has no logging then it’s not getting that far. So check your Apache logs.

I’ve finally rollback my timeshift backup and i’m back on debian 11.
I will put this aside and try the upgrade later.

Thanks anyway

1 Like