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

eZ Studio installation command should not request Solr connection

    XMLWordPrintable

Details

    Description

      Scenario:

      1. Install eZ Studio 1.4 normally;

      Ref: https://github.com/ezsystems/ezstudio/blob/1.4/INSTALL.md

      2. Configure installation, so that it uses Solr Search Engine Bundle:

      Ref: https://doc.ez.no/display/DEVELOPER/Solr+Bundle

      3. Make sure Solr service is disabled;
      4. Run (for whatever reason) ezplatform install command again:

      php -d memory_limit=-1 app/console ezplatform:install --env=prod studio-clean
      
      [EzSystems\EzPlatformSolrSearchEngine\Gateway\HttpClient\ConnectionException]  
        Could not connect to server http://localhost:8983/solr/collection1.
      
      [RuntimeException]                                                              
        An error occurred when executing the "'ezplatform:solr_create_index'" command.
      

      It should be possible to run the installation command again without the Solr service connection having to be active.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: