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

eZ Find: search index update script does not work with '--allow-root-user' option

    XMLWordPrintable

    Details

      Description

      When executing the extension/ezfind/bin/php/updatesearchindexsolr.php script as root, and using the "--allow-root-user|-r" option, this option is not passed to the forked processes.
      The consequence is that all sub-processes fail to execute properly. These sub-processes are the ones effectively fetching the content and pushing it to Solr.

      At l.490 in the aforementioned file, the "siteaccess" option is ported to sub-processes. It might be an idea to do the same with the --allow-root-user|-r option.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h