Closed ghost closed 6 years ago
The directory /usr/share/elasticsearch/data
in your host must exist and must be owned by 1000:1000.
Run :
mkdir /usr/share/elasticsearch/data
chown 1000:1000 /usr/share/elasticsearch/data
I close the issue, reopen it if this doesn't solve your problem.
The directory
/usr/share/elasticsearch/data
in your host must exist and must be owned by 1000:1000. Run :mkdir /usr/share/elasticsearch/data chown 1000:1000 /usr/share/elasticsearch/data
I close the issue, reopen it if this doesn't solve your problem.
The above issue and Host VM needing more virtual memory map was my issue, thanks !
chown -R /var/lib/elasticsearch/
and
sysctl -w vm.max_map_count=262144
https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
Request Type
Bug
Work Environment
Problem Description
Elasticsearch failed to create node environment, so it exits itself with code 1
Steps to Reproduce
Possible Solutions
N/A
Complementary information
Whole log after executing sudo docker-compose up: