After Ubuntu Update: PHP Fatal error: Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database:

Nextcloud version (13.0.6.1):
Operating system and version ( Ubuntu 18.04):
Apache version ( Apache 2.4.29):
PHP version (eg, 7.x):

The issue you are facing:
After the update from Ubuntu 16.04 to 18.04 I have no access to the nexcloud website.

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

Steps to replicate it:

Allways

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

Mon Oct 01 22:21:15.823194 2018] [:error] [pid 1624] [client 10.196.48.163:53449] PHP Fatal error:  Uncaught 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\nStack trace:\n#0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): OC\\DB\\Connection->connect()\n#1 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389): Doctrine\\DBAL\\Connection->getDatabasePlatformVersion()\n#2 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(328): Doctrine\\DBAL\\Connection->detectDatabasePlatform()\n#3 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): Doctrine\\DBAL\\Connection->getDatabasePlatform()\n#4 /var/www/nextcloud/lib/private/DB/Connection.php(151): Doctrine\\DBAL\\Connection->setTransactionIsolation(2)\n#5 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\\DB\\Connection->__construct(Array, Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Configura in /var/www/nextcloud/lib/private/DB/Connection.php on line 64