When i am checking the version of nextcloud i am getting error. this started happening after upgrade

When i am checking the version of nextcloud i am getting error. this started happening after upgrade

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

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, 12.0.2): 13.0.6
Operating system and version (eg, Ubuntu 17.04): “Ubuntu 14.04.5 LTS”
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.7
PHP version (eg, 7.1): PHP 7.2.9

The issue you are facing:
An unhandled exception has been thrown:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:64

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

Steps to replicate it:

  1. sudo -u www-data php occ

The output of your Nextcloud log in Admin > Logging:

unlink(/var/www/nextcloud/data/appdata_oc9iw9ywchdd/css/settings/5b44-6bb3-settings.css.gzip): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#225

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

<?php
$CONFIG = array (
  'instanceid' => 'oc9iw9ywchdd',
  'passwordsalt' => 'N0i3APejcdw2VgY1a/omGVFKYPeyBp',
  'secret' => 'kC5pAIVYgNexrOQIMNUTKmmdAQ3ubYBxTzD0kPWvjgOrfxeb',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.XXX.com',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'overwrite.cli.url' => 'http://XXX.XXX.XXX.XXX/nextcloud',
  'dbtype' => 'mysql',
  'version' => '13.0.6.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => '5wZH5fOwg4EKDnvaFygQI3M8XsPba/',
  'logtimezone' => 'UTC',
  'installed' => true,
  'updater.secret' => '$2y$10$8g.s.FVpLO4/5qZGtptFyOY/QOXpgcf9D8.MyPqKspbe9.tMKStUO',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.release.channel' => 'stable',
);

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

AH01630: client denied by server configuration: /var/www/nextcloud/data/.ocdata