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

Error when running ezplatform:reindex script with multiple processes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Documentation Review done
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: dev-master, 2.3.0-beta1
    • Fix Version/s: 2.3.0-rc2
    • Component/s: Console
    • Labels:

      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

            Assignee:
            Unassigned
            Reporter:
            edi.modric Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: