https://gist.github.com/citizenrich/430415e418613cbb36ccf9cae459959e
Heyo brewers.
Brew services list is reporting that Elasticsearch has started but it's not (connection refused from curl -X GET http://localhost:9200). The errors suggest that there's some strange path. But, the plugins path exists (/usr/local/Cellar/elasticsearch/5.0.2/libexec/plugins) and the dir is empty. Thoughts?
Errors extracted from stdout:
ignoring unsupported logging configuration file [/usr/local/Cellar/elasticsearch/5.0.2/libexec/config/logging.yml], logging is configured via [/usr/local/Cellar/elasticsearch/5.0.2/libexec/config/log4j2.properties
uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [path.plugins] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
Found issue. Blow away previous config file, per:
https://github.com/elastic/elasticsearch/issues/21162
rm /usr/local/etc/elasticsearch/elasticsearch.yml
Then all is fine!
Most helpful comment
Found issue. Blow away previous config file, per:
https://github.com/elastic/elasticsearch/issues/21162
rm /usr/local/etc/elasticsearch/elasticsearch.yml
Then all is fine!