This page has moved to Adobe Experience League and will be redirected soon.
Elasticsearch service not running
Elasticsearch service not running
This article provides solutions for errors you can experience when the Elasticsearch (ES) service is not running (usually as a result of crashing). Symptoms can include errors when running health checks using curl, reindexing using the command line, Exception and PHP errors, and errors on product pages. The table lists errors and links to resources to attempt to solve them. One symptom can have a range of different causes.
Elasticsearch version compatibility with Adobe Commerce
Symptoms when ES service is not running |
Details |
Resources |
Exception errors |
{"0":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"Fielddata is disabled on text fields by default. Set fielddata=true on [%attribute_code%]] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.\"}]
|
Elasticsearch 5 is configured, but search page does not load with "Fielddata is disabled..." error in our support knowledge base.
|
Elasticsearch\Common\Exceptions\NoNodesAvailableException: Noticed exception 'Elasticsearch\Common\Exceptions\NoNodesAvailableException' with message 'No alive nodes found in your cluster' in /app/<projectid>/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php:51
|
Elasticsuite indices not being deleted. See ElasticSuite tracking indices causes problems with Elasticsearch in our support knowledge base.
|
PHP error |
No alive nodes found in your cluster","1":"#0 /app/<projectid>/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php
|
- Resources for insufficient disk space:
- If your disk has not run out of storage but you are still getting the error messages in the left column, submit a support ticket.
|
Curl error |
Running the curl command to check Elasticsearch health:curl -m1 localhost:9200/_cluster/health?pretty (orcurl -m1 elasticsearch.internal:9200/_cluster/health?pretty for Starter accounts) produces this error: Error: curl: (7) Failed to connect to localhost port 9200: Connection refused |
Command-line error |
Running $ bin/magento indexer:reindex catalogsearch_fulltext produces this error Catalog Search indexer process unknown error:
No alive nodes found in your cluster
|
Error on product pages
|
There has been an error processing your request.
Exception printing is disabled by default for security reasons
|