cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

 
12 REPLIES 12

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

@shoppingebc69b if you have enable elastic search on your magento instance, then try to run the below commands and check the result.

 

sudo systemctl restart elasticsearch
php bin/magento indexer:reindex
php bin/magento cache:flush

Thanks

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

First I would check if the service is running. Mine was dead today, no idea why

 

/etc/init.d/elasticsearch status

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

@meineapo Once your service will restart just run the reindex command.

 

Hope it helps.

 

Thanks

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

Thanks to help!

But Same Error on runing your commands 

 

Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster

 

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

@shoppingebc69b Can you please run this command and check the status of your elastic search.

 

sudo /etc/init.d/elasticsearch status

Thanks

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

Hiii,

Thanks for keeping patience with my case !!

a0e5yh3e6a6e@sg2plcpnl0188 [~/public_html]$ bin sudo /etc/init.d/elasticsearch status
bash: bin: command not found

 

a0e5yh3e6a6e@sg2plcpnl0188 [~/public_html]$ bin/magento sudo /etc/init.d/elasticsearch status


  Command "sudo" is not defined.

This Error are coming out Sir?

 

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration



+---------------------------+----------------------+------------------+-----------+-----------------+------------------+ | ID | Title | Status | Update On | Schedule Status | Schedule Updated | +---------------------------+----------------------+------------------+-----------+-----------------+------------------+ | catalogrule_product | Catalog Product Rule | Ready | Save | | | | catalogrule_rule | Catalog Rule Product | Ready | Save | | | | catalogsearch_fulltext | Catalog Search | Reindex required | Save | | | | catalog_category_product | Category Products | Ready | Save | | | | customer_grid | Customer Grid | Ready | Save | | | | design_config_grid | Design Config Grid | Ready | Save | | | | inventory | Inventory | Ready | Save | | | | catalog_product_category | Product Categories | Ready | Save | | | | catalog_product_attribute | Product EAV | Ready | Save | | | | catalog_product_price | Product Price | Ready | Save | | | | cataloginventory_stock | Stock | Ready | Save | | | +---------------------------+----------------------+------------------+-----------+-----------------+------------------+

 catalogsearch_fulltext  Catalog Search Reindex required  Save 

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

Hi,

Can you please let me know the table name to check these configurations.

 

Regards,

WhitespaceIT

Re: Magento 2.4.0 / No Alive nodes in your cluster what to do /ON elasticsearch configration

@shoppingebc69b Please don't use bin/magento before sudo and then check the status of elastic search with the command which i have shared with you.

 

And if it is inactive then try to restart it using below command and then do reindexing.

 

sudo systemctl restart elasticsearch.service

Hope it helps!

 

Thanks