laravel-elasticsearch-demo icon indicating copy to clipboard operation
laravel-elasticsearch-demo copied to clipboard

No alive nodes found in your cluster

Open sonalmhatre opened this issue 7 years ago • 3 comments

how to solve this error?? please help me thank you

sonalmhatre avatar Jul 04 '17 04:07 sonalmhatre

Your should be run php artisan search:reindex to index existing articles to Elasticsearch.

harini-ua avatar Jul 07 '17 16:07 harini-ua

Thanks for reply, when i ran 'php artisan search:reindex' command it show " [Symfony\Component\Console\Exception\CommandNotFoundException] Command "search:reindex" is not defined. Did you mean this? search:articles:rebuild" like this error.

and when i ran 'php artisan search:articles:rebuild' it again show ' [Elasticsearch\Common\Exceptions\NoNodesAvailableException] No alive nodes found in your cluster' error

sonalmhatre avatar Jul 08 '17 05:07 sonalmhatre

The command should be php artisan search:articles:rebuild, yes. This error looks like you don't have Elasticsearch running or something is missing in your .env configuration. Did you follow the article or did a checkout of this repo?

tonysm avatar Jul 08 '17 18:07 tonysm