cancel
Showing results for 
Search instead for 
Did you mean: 

What is the correct way to configure Magento, so that products will be visible on storefront?

What is the correct way to configure Magento, so that products will be visible on storefront?

Hello,

 

I am completely new to magento. Trying to add some products on store, product saved successfully. But it is not visible on storefront. Checked all the configuration settings, all are correct.

 

I found some solutions saying reindexing and cache flushing. While reindexing it shows -
' Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster '

 

Is that related to elasticsearch. If so, what should be the correct way to configure elasticsearch.

 

Also, sometimes reindexing worked successfully without any exception as above. However product was not visible.

 

Using latest version of Magento i.e 2.4.2-p1.

 

Any help on that would be greatly appreciated.

 

Thank you.

3 REPLIES 3

Re: What is the correct way to configure Magento, so that products will be visible on storefront?

Hello @infoevaris2fd8 

 

That seems elastic search issue for sure. Please check elastic search configuration and make sure its running, 
You can check by running commands and restart it if required.

https://magento.stackexchange.com/questions/251807/no-alive-nodes-found-in-your-cluster-error-in-mag...

https://magento.stackexchange.com/questions/208822/reindex-command-error-no-alive-nodes-found-in-you...

 

Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer

Re: What is the correct way to configure Magento, so that products will be visible on storefront?

Hello @infoevaris2fd8 ,

 

Assuming that you already had installed Elasticsearch on your server or any other server.

you may need few things from server :

 

IP : where there elastic search is installed

Port : on which port the elasticsearch is running, usually it's 9200 (you can check by command : lsof -i:9200 )

 

If you need help how you can configure above details in Magento, you can refer below doc : 

https://docs.magento.com/user-guide/catalog/search-configuration.html

 

If you want to configure elasticsearch on server :

https://devdocs.magento.com/guides/v2.4/install-gde/prereq/elasticsearch.html

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: What is the correct way to configure Magento, so that products will be visible on storefront?

Hi,

 

Tried all the things. Connection fails saying 'No alive node found in your cluster' in catalog search configuration.

 

Is there any other solution to this.