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

Cache errors on assetic dump command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Confirmed
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.3.4
    • Fix Version/s: QA tracked issues
    • Component/s: Install
    • Labels:
      None

      Description

      Trying to install a 5.3, I follow the following steps:

      • I install platform with git clone and do:
        git checkout stable-5.3
        
      • I run composer update with:
        php -d memory_limit=-1 composer.phar install --prefer-dist --no-dev
      • I get legacy-ee with git-clone and do:
        git checkout stable-5.3
        
      • I get kernel-ee with git-clone and do:
        git checkout stable-5.3
        
      • I assign proper permissions with:
        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} ezpublish_legacy/{design,extension,settings,var} web
        
      • I try to run assetic dump with:
        php ezpublish/console assets:install --symlink web
        php ezpublish/console ezpublish:legacy:assets_install --symlink web
        php ezpublish/console assetic:dump --env=prod web
        

        and on the last command I get the following:

        PHP Fatal error:  Declaration of eZPublishCorePersistenceLegacyContentSearchHandler_000000003f2ced6200000000717ec2cc::deleteLocation() must be compatible with that of eZ\Publish\SPI\Search\Content\Handler::deleteLocation() in /var/www/html/ezpublish53/ezpublish/cache/prod/ezpublishProdProjectContainer.php on line 14346
        
        Fatal error: Declaration of eZPublishCorePersistenceLegacyContentSearchHandler_000000003f2ced6200000000717ec2cc::deleteLocation() must be compatible with that of eZ\Publish\SPI\Search\Content\Handler::deleteLocation() in /var/www/html/ezpublish53/ezpublish/cache/prod/ezpublishProdProjectContainer.php on line 14346
        

        So I try to run it again after clearing ezpublish/cache/*
        and then I get:

        PHP Catchable fatal error:  Argument 2 passed to eZ\Publish\Core\MVC\Legacy\Session\LegacySessionProxy::__construct() must implement interface SessionHandlerInterface, instance of Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler given, called in /var/www/html/ezpublish53/ezpublish/cache/prod/ezpublishProdProjectContainer.php on line 3620 and defined in /var/www/html/ezpublish53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Session/LegacySessionProxy.php on line 35
        
        Catchable fatal error: Argument 2 passed to eZ\Publish\Core\MVC\Legacy\Session\LegacySessionProxy::__construct() must implement interface SessionHandlerInterface, instance of Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler given, called in /var/www/html/ezpublish53/ezpublish/cache/prod/ezpublishProdProjectContainer.php on line 3620 and defined in /var/www/html/ezpublish53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Session/LegacySessionProxy.php on line 35
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rui.silva-obsolete@ez.no Rui Silva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: