Details
-
Bug
-
Resolution: Unresolved
-
High
-
5.4.5, 5.4.6, 5.4.9
-
Operating System: Debian7
PHP Version: 5.4.4
Database and version: MySQL 5.5
Browser (and version): Firefox 44
Description
On the 5.4.x update process, customers might follow two approaches:
1 - Untar 5.4.0, install it and then proceed to upgrade to latest version (5.4.6-rc in this case).
2 - Untar 5.4.0, proceed to upgrade to latest version (5.4.6-rc) and then try to install it
While the option (1) works as expected, the process (2) fails with a fatal error, because the installation tries to access database "none", that do not exist. The error can be seen on prod.log:
[2016-03-15 12:13:53] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] [] [2016-03-15 12:13:53] request.INFO: Matched route "ezpublishSetup". {"route_parameters":{"_controller":"ezpublish_legacy.setup.controller:init","_route":"ezpublishSetup"},"request_uri":"http://ezp54.paulo/ezsetup"} [] [2016-03-15 12:13:53] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Database error" at /var/www/ezp54/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php line 316 {"exception":"[object] (RuntimeException: Database error at /var/www/ezp54/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php:316, Doctrine\\DBAL\\Exception\\ConnectionException: An exception occured in driver: SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/ezp54/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\DBAL\\Driver\\PDOException: SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/ezp54/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException: SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/ezp54/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} []
Attachments
Issue Links
- discovered while testing
-
EZP-25390 5.4.6 release
- Closed