Server Error 500 after server down

Support intro

During this day our server crashed. After restarting it, it is not possible for us to access our intranet with Nextcloud. I copy log to review the bug. Thank you very much.

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 18.0.2): 18.0.6.0
Operating system and version (eg, Ubuntu 20.04):
Apache or nginx version (eg, Apache 2.4.25): nginx/1.16.1
PHP version (eg, 7.1): 7.3.13-1+ubuntu18

The issue you are facing:

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

Steps to replicate it:

  1. Error 500

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

<?php
$CONFIG = array (
  'instanceid' => 'ocvk2io467fd',
  'passwordsalt' => 'm2IEqwVKdsfgADKuDXkWLjeZsOql5Hfj+R',
  'secret' => 'uOYXYcn+W4S8U7I62MGVodfgXdgX7AD63i5fGlaClp5U9LJ91lp',
  'trusted_domains' => 
  array (
    0 => 'intranet.mysite.es',
  ),
  'datadirectory' => '/var/www/intranet.mysite.es/public/data',
  'dbtype' => 'mysql',
  'version' => '18.0.6.0',
  'overwrite.cli.url' => 'https://intranet.mysite.es',
  'dbname' => 'intradrive',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'inTRaUsRRt',
  'dbpassword' => 'KJkjjh7flHfiK95Gdui74gI',
  'installed' => true,
  'mail_from_address' => 'intranet',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mysite.es',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'servidor.mysite.es',
  'mail_smtpport' => '25',
  'mail_smtpname' => 'intranet@mysite.es',
  'mail_smtppassword' => 'mysite',
  'simpleSignUpLink.shown' => false,
  'maintenance' => false,
  'updater.secret' => '$2y$10$Ul8WnnVfieOEf8mSAH8KOeeG9gnaOyonJzpmaM6UhX1TN53TXuX3O',
  'theme' => '',
  'loglevel' => 2,
  'app_install_overwrite' => 
  array (
    0 => 'admin_notifications',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

2020/10/15 13:36:13 [error] 3711#3711: *1253 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class 'PDO' not found in /var/www/intranet.mysite.es/public/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php on line 195" while reading response header from upstream, client: 79.148.133.250, server: intranet.mysite.es, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "intranet.mysite.es"