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

Error when installing ezpublish from ezpublish_platform

    XMLWordPrintable

Details

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

    • Pollux Platform S6

    Description

      Hi,
      Currently, it's not possible to install ezpublish from ezpublish_platform repository due errors explain below in "Steps to reproduce"

      Steps to reproduce

      Fetch ezpublish from ezpublish_platform repository
      Get composer.phar and do composer install

      – $ git clone git@github.com:ezsystems/ezpublish-platform.git ezpublish5
      – $ cd ezpublish5
      – $ curl -sS https://getcomposer.org/installer | php
      – $ php -d memory_limit=-1 composer.phar install --prefer-dist --no-dev

      In the end, execute the permissions and assetics
      – $ 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

      In the two previous commands,i have had the error
      setfacl: ezpublish_legacy/design: No such file or directory
      setfacl: ezpublish_legacy/settings: No such file or directory
      setfacl: ezpublish_legacy/var: No such file or directory
      


      So, to move on, I adapted, removing the "ezpublish_legacy/{design,extension,settings,var}

      " of the previous commands:

      Then I continued:
      – $ php ezpublish/console assets:install --symlink web
      – $ php ezpublish/console ezpublish:legacy:assets_install --symlink web
      Here, i have the following error

        [InvalidArgumentException]
        There are no commands defined in the "ezpublish:legacy" namespace.
        Did you mean one of these?
            ezpublish:test
            ezpublish
      

      So i proceed without this last one and executed the following one:
      – $ php ezpublish/console assetic:dump --env=prod web

      Then i tried to execute the setup wizard and i have in prod.log

      [2015-02-13 19:25:29] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] []
      [2015-02-13 19:25:29] app.DEBUG: Router eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter was not able to match, message "" [] []
      [2015-02-13 19:25:29] request.CRITICAL: Uncaught PHP Exception eZ\Bundle\EzPublishCoreBundle\ApiLoader\Exception\InvalidRepositoryException: "Undefined repository ''. Did you forget to configure it in ezpublish_*.yml?" at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/ApiLoader/StorageRepositoryProvider.php line 54 {"exception":"[object] (eZ\\Bundle\\EzPublishCoreBundle\\ApiLoader\\Exception\\InvalidRepositoryException(code: 0): Undefined repository ''. Did you forget to configure it in ezpublish_*.yml? at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/ApiLoader/StorageRepositoryProvider.php:54)"} []
      

      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: