After updating from 17.0.3 to 18.0.1 over Webupdater i run into error 500 and see this error at apache log.
Error | 500 | GET /index.php/apps/bookmarks/public/rest/v2/folder/-1/hash HTTP/1.1 | | | 4.67 K | SSL/TLS-Zugriff für Apache
Error | AH01071: Got error 'PHP message: PHP Fatal error: Declaration of OCA\FilesAutomatedTagging\Operation::validateOperation($name, array $checks, $operation) must be compatible with OCP\WorkflowEngine\IOperation::validateOperation(string $name, array $checks, string $operation): void in /var/www/vhosts/reposrc.de/mycloud.reposrc.de/apps/files_automatedtagging/lib/Operation.php on line 35'
Error | 194.25.143.242 | 500 | GET /index.php/apps/bookmarks/public/rest/v2/bookmark?page=0&limit=300 HTTP/1.1 | | | 4.67 K | SSL/TLS-Zugriff für Apache
Error | 194.25.143.242 | | AH01071: Got error 'PHP message: PHP Fatal error: Declaration of OCA\FilesAutomatedTagging\Operation::validateOperation($name, array $checks, $operation) must be compatible with OCP\WorkflowEngine\IOperation::validateOperation(string $name, array $checks, string $operation): void in /var/www/vhosts/reposrc.de/mycloud.reposrc.de/apps/files_automatedtagging/lib/Operation.php on line 35'
I give the OCC a try, but this broke with this error message.
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: could not find driver in /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/DB/Connection.php:68
Stack trace:
#0 /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(420): OC\DB\Connection->connect()
[#1](https://github.com/nextcloud/server/issues/1) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(380): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
[#2](https://github.com/nextcloud/server/pull/2) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(324): Doctrine\DBAL\Connection->detectDatabasePlatform()
[#3](https://github.com/nextcloud/server/pull/3) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(683): Doctrine\DBAL\Connection->getDatabasePlatform()
[#4](https://github.com/nextcloud/server/issues/4) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/DB/Connection.php(155): Doctrine\DBAL\Connection->setTransactionIsolation()
[#5](https://github.com/nextcloud/server/issues/5) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(195): OC\DB\Connection->__construct()
[#6](https://github.com/nextcloud/server/issues/6) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/DB/ConnectionFactory.php(157): Doctrine\DBAL\DriverManager::getConnection()
[#7](https://github.com/nextcloud/server/pull/7) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(748): OC\DB\ConnectionFactory->getConnection()
[#8](https://github.com/nextcloud/server/pull/8) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}()
[#9](https://github.com/nextcloud/server/pull/9) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#10](https://github.com/nextcloud/server/pull/10) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\ServerContainer->query()
[#11](https://github.com/nextcloud/server/pull/11) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
[#12](https://github.com/nextcloud/server/issues/12) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#13](https://github.com/nextcloud/server/pull/13) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(1663): OC\ServerContainer->query()
[#14](https://github.com/nextcloud/server/issues/14) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(421): OC\Server->getDatabaseConnection()
[#15](https://github.com/nextcloud/server/pull/15) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}()
[#16](https://github.com/nextcloud/server/issues/16) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#17](https://github.com/nextcloud/server/pull/17) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(70): OC\ServerContainer->query()
[#18](https://github.com/nextcloud/server/issues/18) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(100): OC\AppFramework\Utility\SimpleContainer->buildClass()
[#19](https://github.com/nextcloud/server/pull/19) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(115): OC\AppFramework\Utility\SimpleContainer->resolve()
[#20](https://github.com/nextcloud/server/pull/20) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(150): OC\AppFramework\Utility\SimpleContainer->query()
[#21](https://github.com/nextcloud/server/pull/21) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(70): OC\ServerContainer->query()
[#22](https://github.com/nextcloud/server/pull/22) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(100): OC\AppFramework\Utility\SimpleContainer->buildClass()
[#23](https://github.com/nextcloud/server/pull/23) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(115): OC\AppFramework\Utility\SimpleContainer->resolve()
[#24](https://github.com/nextcloud/server/pull/24) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(150): OC\AppFramework\Utility\SimpleContainer->query()
[#25](https://github.com/nextcloud/server/pull/25) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\ServerContainer->query()
#26 /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
[#27](https://github.com/nextcloud/server/issues/27) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#28](https://github.com/nextcloud/server/pull/28) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(433): OC\ServerContainer->query()
[#29](https://github.com/nextcloud/server/pull/29) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}()
[#30](https://github.com/nextcloud/server/pull/30) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#31](https://github.com/nextcloud/server/pull/31) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\ServerContainer->query()
[#32](https://github.com/nextcloud/server/pull/32) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
[#33](https://github.com/nextcloud/server/pull/33) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#34](https://github.com/nextcloud/server/issues/34) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(1539): OC\ServerContainer->query()
[#35](https://github.com/nextcloud/server/issues/35) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(801): OC\Server->getUserSession()
[#36](https://github.com/nextcloud/server/pull/36) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}()
[#37](https://github.com/nextcloud/server/pull/37) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#38](https://github.com/nextcloud/server/pull/38) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\ServerContainer->query()
[#39](https://github.com/nextcloud/server/issues/39) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
[#40](https://github.com/nextcloud/server/pull/40) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/ServerContainer.php(125): Pimple\Container->offsetGet()
[#41](https://github.com/nextcloud/server/pull/41) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/Server.php(1834): OC\ServerContainer->query()
[#42](https://github.com/nextcloud/server/issues/42) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/legacy/app.php(347): OC\Server->getAppManager()
[#43](https://github.com/nextcloud/server/pull/43) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/private/legacy/app.php(114): OC_App::getEnabledApps()
[#44](https://github.com/nextcloud/server/pull/44) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/base.php(645): OC_App::loadApps()
[#45](https://github.com/nextcloud/server/pull/45) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/lib/base.php(1089): OC::init()
[#46](https://github.com/nextcloud/server/pull/46) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/console.php(48): require_once('/var/www/vhosts...')
[#47](https://github.com/nextcloud/server/issues/47) /var/www/vhosts/reposrc.de/mycloud.reposrc.de/occ(11): require_once('/var/www/vhosts...')
[/details]
Nextcloud version: 17.0.3 updating to 18.0.1
Operating system and version : Ubuntu 16.04.6
Apache or nginx version : Apache/2.4.18
PHP version : 7.3.14
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Updating from 17.0.3 to 18.01 over Webupdater
The output of your config.php file:
<?php
$CONFIG = array (
'config_is_read_only' => false,
'instanceid' => hide,
'passwordsalt' => hide,
'secret' => hide,
'trusted_domains' =>
array (
0 => 'mycloud.reposrc.de',
),
'datadirectory' => '/var/www/vhosts/reposrc.de/mycloud.reposrc.de/data',
'overwrite.cli.url' => 'https://mycloud.reposrc.de',
'dbtype' => 'mysql',
'version' => '17.0.3.1',
'dbname' => 'mycloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => hide,
'dbpassword' => hide,
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => hide,
'mail_domain' => 'reposrc.de',
'mail_smtpauth' => 1,
'mail_smtpport' => '587',
'mail_smtphost' => hide,
'mail_smtpsecure' => 'tls',
'mail_smtpname' => hide,
'mail_smtppassword' => hide,
'loglevel' => 2,
'maintenance' => false,
'theme' => '',
'updater.release.channel' => 'stable',
'allowNightlyUpdates' =>
array (
),
'app_install_overwrite' =>
array (
0 => 'dashboard',
),
'updater.secret' => hide,
);
I also opend a issue on [github](https://github.com/nextcloud/server/issues/19801)