After update into new version of Nextcloud 17

[/details]

Nextcloud version 17.0.2:
Operating system and version Centos 7 64bit:
Apache or nginx version Apache/2.4.6 (CentOS):
PHP version PHP 7.2.24 (cli) (built: Oct 26 2019 12:28:19) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.2.24, Copyright © 1999-2018, by Zend Technologies

The issue you are facing:

NC very slow after updating to 17.0.2 then when you access website address it appeared Internal Server error

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

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

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

<?php
$CONFIG = array (
  'instanceid' => 'xxxxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxr',
  'trusted_domains' =>
  array (
    0 => 'xxxx.xxxxx.com',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '17.0.2.1',
  'overwrite.cli.url' => 'http://xxxxxx.com',
  'dbname' => 'xxxxxxx',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_adminroot1',
  'dbpassword' => 'xxxxxxxxxxxxxx',
  'installed' => true,
  'mail_from_address' => 'linuxadmin',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => 'xxxx.php',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'xxxx',
  'mail_smtpport' => 'xx',
  'mail_smtpname' => 'xxxx',
  'mail_smtppassword' => 'xxxx',
  'maintenance' => false,
  'logtimezone' => 'Asia/Manila',
  'theme' => '',
  'loglevel' => 2,
  'enable_previews' => true,
  'preview_max_filesize_image' => 100,
  'filelocking.enabled' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'updater.release.channel' => 'stable',
);

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


[Mon Jan 06 13:17:50.125187 2020] [php7:error] [pid 19353] [client 10.200.2.44:54409] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:17:50.449025 2020] [php7:error] [pid 19353] [client 10.200.2.44:54409] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:18:17.725393 2020] [php7:error] [pid 19353] [client 10.200.2.44:54412] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:18:17.726002 2020] [php7:error] [pid 19353] [client 10.200.2.44:54412] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:18:47.731872 2020] [php7:error] [pid 24351] [client 10.200.2.44:54414] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:18:47.732485 2020] [php7:error] [pid 24351] [client 10.200.2.44:54414] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:19:17.808953 2020] [php7:error] [pid 28056] [client 10.200.2.44:54416] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:19:18.065992 2020] [php7:error] [pid 28056] [client 10.200.2.44:54416] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:20:07.028409 2020] [php7:error] [pid 10699] [client 10.200.2.44:54417] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:20:07.518638 2020] [php7:error] [pid 10699] [client 10.200.2.44:54417] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:20:17.717261 2020] [php7:error] [pid 17636] [client 10.200.2.44:54419] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:20:17.717906 2020] [php7:error] [pid 17636] [client 10.200.2.44:54419] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:20:49.193422 2020] [php7:error] [pid 11169] [client 10.200.2.44:54421] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:20:49.243942 2020] [php7:error] [pid 11169] [client 10.200.2.44:54421] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:21:17.773429 2020] [php7:error] [pid 11129] [client 10.200.2.44:54424] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:21:17.774107 2020] [php7:error] [pid 11129] [client 10.200.2.44:54424] PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver:$
[Mon Jan 06 13:28:32.726203 2020] [authz_core:error] [pid 27301] [client 10.200.2.44:54477] AH01630: client denied by server configuration: /var/www/html/nextcloud/config
tdb(/var/lib/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database
tdb(/var/lib/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database
tdb(/var/lib/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database
tdb(/var/lib/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database
tdb(/var/lib/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database
[Mon Jan 06 13:56:01.911527 2020] [authz_core:error] [pid 9948] [client 10.200.2.44:54637] AH01630: client denied by server configuration: /var/www/html/nextcloud/config