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

Error when running ezplatform:reindex script with multiple processes

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • 2.3.0-rc2
    • dev-master, 2.3.0-beta1
    • Console

    Description

      When running reindexing script with multiple processes, an error is written to log about missing content-ids option:

      [2018-09-18 11:34:11] console.ERROR: Error thrown while running command " 'ezplatform:reindex' --content-ids='49,50,51'". Message: "The "--content-ids" option does not exist." {"exception":"[object] (Symfony\\Component\\Console\\Exception\\RuntimeException(code: 0): The \"--content-ids\" option does not exist. at /media/eddie/data/html/eztest/vendor/symfony/symfony/src/Symfony/Component/Console/Input/ArgvInput.php:222)","command":" 'ezplatform:reindex' --content-ids='49,50,51'","message":"The \"--content-ids\" option does not exist."} []
      [2018-09-18 11:34:11] console.DEBUG: Command " 'ezplatform:reindex' --content-ids='49,50,51'" exited with code "1" {"command":" 'ezplatform:reindex' --content-ids='49,50,51'","code":1} []
      

      To test, install a clean eZ Platform 2.3, and run the reindexing script with:

      php bin/console ezplatform:reindex --iteration-count=5 --processes=3
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            f8f4635f-c125-4f25-94af-5c94e74ef8c1@accounts.ibexa.co Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: