netz98 / n98-magerun2

The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.
https://magerun.net
Other
874 stars 225 forks source link

Setup does not ask for elastic search host? #990

Open amenk opened 2 years ago

amenk commented 2 years ago

The Magento 2.4.4 setup via n98-magerun2 install does not seem to ask for the elasticsearch host, which causes the process to fail:

  Installing search configuration...                                                                                                                                                                                                   

  In SearchConfig.php line 81:                                                                                                                                                                                                         

    Could not validate a connection to Elasticsearch. No alive nodes found in your cluster                                                                                                                                                                                                                                                    
cmuench commented 2 years ago

@amenk right. The install command does not ask for every setup parameter. In this case we should add support for this parameter. Currently it takes the default "localhost:9200".

cmuench commented 10 months ago

@amenk I did some test but the topic is not so easy as it looks like. We have to find a good solution to manage Elasticsearch and Opensearch. I postpone it to 7.4.0.