Hi Community,
I have a Plesk server with Docker and I'm trying to install version 7.4 and I'm getting this error on startup.
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/docker-cluster.log
I'm using the settings below:
Volume Mapping: /var/www/elasticsearch/config/elasticsearch.yml
Host: /var/www/elasticsearch/elasticsearch.yml
PATH: /usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ELASTIC_CONTAINER: true
The elasticsearch.yml file is configured this way, I've tried different ways, but today it looks like this:
cluster.name: appuni-elastic
node.name: prod-appuni
network.host: 127.0.0.1
discovery.seed_hosts:
- 127.0.0.1:9300
cluster.initial_master_nodes:
- lweb01.appuni.com.br