Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23999

Internal server error when installing a master of ezpublish (platform)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Blocker Blocker
    • QA tracked issues
    • 5.4.2
    • Install
    • None
    • Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Firefox 35

    Description

      Hi,

      When installing a master version of ezpublish-platform give me a fatal error:

      [2015-02-09 13:26:38] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] []
      [2015-02-09 13:26:39] app.DEBUG: Router eZ\Bundle\EzPublishLegacyBundle\Routing\DefaultRouter was not able to match, message "" [] []
      [2015-02-09 13:26:41] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Database error" at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php line 395 {"exception":"[object] (RuntimeException(code: 0): Database error at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php:395, Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occured in driver: SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/html/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\DBAL\\Driver\\PDOException(code: 1049): SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/html/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 1049): SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/html/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} []
      
      
      Steps to reproduce

      – git clone git@github.com:ezsystems/ezpublish-platform.git ezpublish5
      – curl -sS https://getcomposer.org/installer | php
      – php -d memory_limit=-1 composer.phar install --prefer-dist --no-dev
      Then the assets
      – sudo setfacl -R -m u:apache:rwx -m u:apache:rwx ezpublish/

      {cache,logs,config,sessions} ezpublish_legacy/{design,extension,settings,var} web
      – sudo setfacl -dR -m u:apache:rwx -m u:`whoami`:rwx ezpublish/{cache,logs,config,sessions}

      ezpublish_legacy/

      {design,extension,settings,var}

      web
      – php ezpublish/console assets:install --symlink web
      – php ezpublish/console ezpublish:legacy:assets_install --symlink web
      – php ezpublish/console assetic:dump --env=prod web

      When accessing the site url to execute setup wizard, the error occurs.

      The same error happens when trying to install a community version.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: