Magento 2.4.0 Getting Error Could not validate a connection to Elasticsearch. No alive nodes found in your cluster

March 4, 2022 . 1 MIN READ

php bin/magento module:disable {Magento_Elasticsearch,Magento_InventoryElasticsearch,Magento_Elasticsearch6,Magento_Elasticsearch7}

 

With 2.4.2 you have to do php bin/magento module:disable {Magento_ElasticsearchCatalogPermissions,Magento_Elasticsearch,Magento_InventoryElasticsearch,Magento_Elasticsearch6,Magento_Elasticsearch7}

 

php bin/magento setup:install –search-engine=elasticsearch7 –elasticsearch-host=”cg-7950-elasticsearch.us-west-1.nxcli.net” –elasticsearch-port=26305

Reference: https://magento.stackexchange.com/questions/318831/magento-2-4-0-getting-error-could-not-validate-a-connection-to-elasticsearch

Leave a Reply

Your email address will not be published. Required fields are marked *