Details
-
Bug
-
Resolution: Invalid
-
High
-
5.4.7, 1.4.1
-
None
-
Postgresql 9.4.8
Debian 8
PHP 5.6.20
Description
Following the official upgrade process from an updated 5.4 to an updated 1.4 documented here, on a Debian8 with Apache and Postgres 9.4 setup, near the end of the process (on the "3.2. Execute XmlText Migration script") I get the following error when I run the script:
php app/console ezxmltext:convert-to-richtext -v
[Doctrine\DBAL\Exception\DriverException] An exception occured in driver: could not find driver Exception trace: () at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115 Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:133 Doctrine\DBAL\DBALException::driverException() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:47 Doctrine\DBAL\Driver\PDOMySql\Driver->connect() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360 Doctrine\DBAL\Connection->connect() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429 Doctrine\DBAL\Connection->getDatabasePlatformVersion() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389 Doctrine\DBAL\Connection->detectDatabasePlatform() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328 Doctrine\DBAL\Connection->getDatabasePlatform() at /var/www/html/ezpublish6/app/cache/dev/appDevDebugProjectContainer.php:46424 DoctrineDBALConnection_000000007377c6b90000000025e75b6fd2e36078d15470898c396506ab7e5fd7->getDatabasePlatform() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/DoctrineExpression.php:32 eZ\Publish\Core\Persistence\Doctrine\DoctrineExpression->__construct() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/AbstractDoctrineQuery.php:72 eZ\Publish\Core\Persistence\Doctrine\AbstractDoctrineQuery->__construct() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/ConnectionHandler.php:370 eZ\Publish\Core\Persistence\Doctrine\ConnectionHandler->createSelectQuery() at /var/www/html/ezpublish6/app/cache/dev/appDevDebugProjectContainer.php:43364 eZPublishCorePersistenceDoctrineConnectionHandler_000000007377d9460000000025e75b6fd2e36078d15470898c396506ab7e5fd7->createSelectQuery() at /var/www/html/ezpublish6/vendor/ezsystems/ezplatform-xmltext-fieldtype/bundle/Command/ConvertXmlTextToRichTextCommand.php:98 EzSystems\EzPlatformXmlTextFieldTypeBundle\Command\ConvertXmlTextToRichTextCommand->convertFieldDefinitions() at /var/www/html/ezpublish6/vendor/ezsystems/ezplatform-xmltext-fieldtype/bundle/Command/ConvertXmlTextToRichTextCommand.php:92 EzSystems\EzPlatformXmlTextFieldTypeBundle\Command\ConvertXmlTextToRichTextCommand->execute() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259 Symfony\Component\Console\Command\Command->run() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:863 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:192 Symfony\Component\Console\Application->doRun() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:92 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:123 Symfony\Component\Console\Application->run() at /var/www/html/ezpublish6/app/console:26 [Doctrine\DBAL\Driver\PDOException] could not find driver Exception trace: () at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47 Doctrine\DBAL\Driver\PDOConnection::__construct() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:45 Doctrine\DBAL\Driver\PDOMySql\Driver->connect() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360 Doctrine\DBAL\Connection->connect() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429 Doctrine\DBAL\Connection->getDatabasePlatformVersion() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389 Doctrine\DBAL\Connection->detectDatabasePlatform() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328 Doctrine\DBAL\Connection->getDatabasePlatform() at /var/www/html/ezpublish6/app/cache/dev/appDevDebugProjectContainer.php:46424 DoctrineDBALConnection_000000007377c6b90000000025e75b6fd2e36078d15470898c396506ab7e5fd7->getDatabasePlatform() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/DoctrineExpression.php:32 eZ\Publish\Core\Persistence\Doctrine\DoctrineExpression->__construct() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/AbstractDoctrineQuery.php:72 eZ\Publish\Core\Persistence\Doctrine\AbstractDoctrineQuery->__construct() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/ConnectionHandler.php:370 eZ\Publish\Core\Persistence\Doctrine\ConnectionHandler->createSelectQuery() at /var/www/html/ezpublish6/app/cache/dev/appDevDebugProjectContainer.php:43364 eZPublishCorePersistenceDoctrineConnectionHandler_000000007377d9460000000025e75b6fd2e36078d15470898c396506ab7e5fd7->createSelectQuery() at /var/www/html/ezpublish6/vendor/ezsystems/ezplatform-xmltext-fieldtype/bundle/Command/ConvertXmlTextToRichTextCommand.php:98 EzSystems\EzPlatformXmlTextFieldTypeBundle\Command\ConvertXmlTextToRichTextCommand->convertFieldDefinitions() at /var/www/html/ezpublish6/vendor/ezsystems/ezplatform-xmltext-fieldtype/bundle/Command/ConvertXmlTextToRichTextCommand.php:92 EzSystems\EzPlatformXmlTextFieldTypeBundle\Command\ConvertXmlTextToRichTextCommand->execute() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259 Symfony\Component\Console\Command\Command->run() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:863 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:192 Symfony\Component\Console\Application->doRun() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:92 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:123 Symfony\Component\Console\Application->run() at /var/www/html/ezpublish6/app/console:26 [PDOException] could not find driver Exception trace: () at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 PDO->__construct() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Doctrine\DBAL\Driver\PDOConnection->__construct() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:45 Doctrine\DBAL\Driver\PDOMySql\Driver->connect() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360 Doctrine\DBAL\Connection->connect() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429 Doctrine\DBAL\Connection->getDatabasePlatformVersion() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389 Doctrine\DBAL\Connection->detectDatabasePlatform() at /var/www/html/ezpublish6/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328 Doctrine\DBAL\Connection->getDatabasePlatform() at /var/www/html/ezpublish6/app/cache/dev/appDevDebugProjectContainer.php:46424 DoctrineDBALConnection_000000007377c6b90000000025e75b6fd2e36078d15470898c396506ab7e5fd7->getDatabasePlatform() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/DoctrineExpression.php:32 eZ\Publish\Core\Persistence\Doctrine\DoctrineExpression->__construct() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/AbstractDoctrineQuery.php:72 eZ\Publish\Core\Persistence\Doctrine\AbstractDoctrineQuery->__construct() at /var/www/html/ezpublish6/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Doctrine/ConnectionHandler.php:370 eZ\Publish\Core\Persistence\Doctrine\ConnectionHandler->createSelectQuery() at /var/www/html/ezpublish6/app/cache/dev/appDevDebugProjectContainer.php:43364 eZPublishCorePersistenceDoctrineConnectionHandler_000000007377d9460000000025e75b6fd2e36078d15470898c396506ab7e5fd7->createSelectQuery() at /var/www/html/ezpublish6/vendor/ezsystems/ezplatform-xmltext-fieldtype/bundle/Command/ConvertXmlTextToRichTextCommand.php:98 EzSystems\EzPlatformXmlTextFieldTypeBundle\Command\ConvertXmlTextToRichTextCommand->convertFieldDefinitions() at /var/www/html/ezpublish6/vendor/ezsystems/ezplatform-xmltext-fieldtype/bundle/Command/ConvertXmlTextToRichTextCommand.php:92 EzSystems\EzPlatformXmlTextFieldTypeBundle\Command\ConvertXmlTextToRichTextCommand->execute() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259 Symfony\Component\Console\Command\Command->run() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:863 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:192 Symfony\Component\Console\Application->doRun() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:92 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/html/ezpublish6/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:123 Symfony\Component\Console\Application->run() at /var/www/html/ezpublish6/app/console:26 ezxmltext:convert-to-richtext [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--siteaccess [SITEACCESS]] [--] <command>
This was found on testing the regular upgrade process with postgres 5.4 setup.
Attachments
Issue Links
- relates to
-
EZP-25444 XmlText to RichText migration for legacy (4.x/3.x) data
- Open