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

clusterize fails due missing zetacomponents if we don't do a composer install in ezpublish_legacy folder



    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Invalid
    • Affects Version/s: 5.3.3, 5.4-dev
    • Fix Version/s: QA tracked issues
    • Component/s: Legacy > Clustering
    • Labels:
    • Environment:

      Operating System: Debian 7
      PHP Version: PHP 5.4.4-14+deb7u8
      Database and version: Mysql 5.5.35
      Cluster environment with 3 machines. Two with eZ Publish and one with the database


      Following the steps to install a cluster using latest master, i have the following error when executing the 'clusterize' command:

      PHP Fatal error:  Class 'ezcBaseOptions' not found in /var/www/ezpublish5/ezpublish_legacy/kernel/private/options/ezpextensionoptions.php on line 58
      PHP Stack trace:
      PHP   1. {main}() /var/www/ezpublish5/ezpublish_legacy/bin/php/clusterize.php:0
      PHP   2. eZScript->initialize() /var/www/ezpublish5/ezpublish_legacy/bin/php/clusterize.php:130
      PHP   3. eZExtension::activateExtensions() /var/www/ezpublish5/ezpublish_legacy/kernel/classes/ezscript.php:265
      PHP   4. eZExtension::activeExtensions() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezextension.php:207
      PHP   5. eZExpiryHandler::instance() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezextension.php:114
      PHP   6. eZExpiryHandler->eZExpiryHandler() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezexpiryhandler.php:140
      PHP   7. eZClusterFileHandler::instance() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezexpiryhandler.php:26
      PHP   8. ezpAutoloader::autoload() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezexpiryhandler.php:0
      PHP   9. require() /var/www/ezpublish5/ezpublish_legacy/autoload.php:126
      Fatal error: eZ Publish did not finish its request
      The execution of eZ Publish was abruptly ended, the debug output is present below.

      After this error, only if i execute "php ../composer.phar install" in ezpublish_legacy folder, where the zetacomponents are installed, the clusterize works.

      Having zetacomponents on vendors folder, does this mean that clusterize is blind to vendors/zetacomponents existence?

      Steps to reproduce

      – Fetch latest ezpublish-platform from git
      $ git clone git@github.com:ezsystems/ezpublish-platform.git ezpublish5
      $ cd ezpublish5
      – execute the composer install
      $ curl -sS https://getcomposer.org/installer | php
      $ php composer.phar install --prefer-dist
      (i have had some issues described in EZP-23268, that were workaround-ed)
      – Replaced ezpublish_legacy for the ee version
      $ rm -rf ezpublish_legacy
      $ git clone git@github.com:ezsystems/ezpublish-legacy-ee.git ezpublish_legacy
      – Installed eZ publish
      – Followed the cluster instruction from here
      – When reaching the clusterize instruction:
      $ php bin/php/clusterize.php -s ezdemo_site

      After the last step, the error occurred.




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


              • Created: