My Elasticsearch diesEdit on GitHub
You can get the following error:
[Elastica\Exception\Connection\HttpException] Couldn't connect to host, Elasticsearch down?
# find out which Elasticsearch you are using: grep -r ELASTICA_PARAMETER__PORT /data/shop/development/current/config/Shared # If you have port 10005 sudo -i service elasticsearch-development restart # Older VMs used port 9200 sudo -i service elasticsearch restart
Do you have more than one Elasticsearch instances running? Do the following:
sudo -i service elasticsearch status sudo -i service elasticsearch-development status sudo -i service elasticsearch-testing status # Stop some of them ... (see above on how to figure out which one) sudo -i service elasticsearch... stop # ... and disable them sudo -i update-rc.d elasticsearch... disable
For submitting the form