Problemme mit occ db:add-missing-indices

Fehlender Index "properties_pathonly_index" in der Tabelle "oc_properties".
Fehlender Index "job_lastcheck_reserved" in der Tabelle "oc_jobs".

/var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud$ sudo -u www-data ./occ db:add-missing-indices
An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver in /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/DB/Connection.php:87
Stack trace:
#0 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->connect()
#1 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\DBAL\Connection->getWrappedConnection()
#2 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/DB/Connection.php(237): Doctrine\DBAL\Connection->executeQuery()
#3 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#4 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppConfig.php(344): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppConfig.php(109): OC\AppConfig->loadConfigValues()
#7 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppConfig.php(300): OC\AppConfig->getApps()
#8 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/legacy/OC_App.php(972): OC\AppConfig->getValues()
#9 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/Server.php(692): OC_App::getAppVersions()
#10 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC{closure}()
#11 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#12 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#13 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#14 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#15 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(182): OC\AppFramework\Utility\SimpleContainer->get()
#16 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#17 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#18 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#19 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#20 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#21 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/Server.php(1079): OC\AppFramework\Utility\SimpleContainer->get()
#22 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC{closure}()
#23 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#24 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#25 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#26 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#27 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/Server.php(2040): OC\AppFramework\Utility\SimpleContainer->get()
#28 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/Files/View.php(118): OC\Server->getLockingProvider()
#29 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/Server.php(439): OC\Files\View->__construct()
#30 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC{closure}()
#31 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#32 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#33 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#34 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#35 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/private/Server.php(1403): OC\AppFramework\Utility\SimpleContainer->get()
#36 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/base.php(594): OC\Server->boot()
#37 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/lib/base.php(1087): OC::init()
#38 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/console.php(48): require_once(’/var/www/vhosts…’)
#39 /var/www/vhosts/markus1990.de/httpdocs/cloud/nextcloud/occ(11): require_once(’/var/www/vhosts…’)
#40 {main}

Bei mir das gleiche Problem.