-
Notifications
You must be signed in to change notification settings - Fork 447
Elasticsearch 7.x support #95
Comments
any news? |
Does it depend of version? |
Hey guys. I have tried changing the tag in the environment to match 7.2.0 however I am getting the same error as ewoks. |
The error seems to cascade from this line:
Basically the newer images seems to be missing To get it to work just do something like this: diff --git a/scripts/setup-elasticsearch.sh b/scripts/setup-elasticsearch.sh
index a88222a..0648ea0 100755
--- a/scripts/setup-elasticsearch.sh
+++ b/scripts/setup-elasticsearch.sh
@@ -37,6 +37,10 @@ if [[ -n "$ELASTIC_PASSWORD" ]]; then
echo "CA directory exists, removing..."
rm -rf /config/ssl/ca
fi
+ echo "Install unzip if needed..."
+ if ! command -v unzip &>/dev/null; then
+ yum -qy install unzip
+ fi
echo "Unzip ca files..."
unzip /config/ssl/docker-cluster-ca.zip -d /config/ssl
|
In order to get 7.2.0 to work for me I had to make the change @sikevux shows above, and these:
Add to docker-compose.yml (line 23)
Add to elasticsearch.yml (line 4)
Change kibana.yml (line 5):
new
Change setup-elasticsearch.sh (line 10):
new
I should note that I was only interested in getting elasticsearch and kibana up and running at this point so I removed all of the other services this brings up and didn’t work through any issues you may encounter with them. After making the above changes though I was able to successfully login to the kibana from a browser. |
I still get the same error after trying the above changes mentioned by kinzleb and sikevux. It does try to create the keystore and crt files but fails. Did anyone else find a way to get this working? |
I tried to update this for 7.3.2 and I get the crt errors too. I tried all of the fixes listed here and it just causes more issues. Is anyone maintaining this? I would love to be able to run this for a POC. |
Add the unzip elastic#95
i still get the same error when i install elasticsearch:7.4.1 docker image. it's seem that this current version can not support 7.X . if you want continue use 7.X ,you can delete all about sercurty configure in docker-compose.yaml and other config file. then restart elasticsearch service. |
I need to deploy the more or less compelte ELK stack on one machine, just for testing purposes so this docker-compose.yml here seemed to incldue about everything needed for testing but its for an older 6.x version. Does anyone have a docker-compose.yml for the 7.x versio navailable for testing purposes? |
I have one but need to push it to a github repo. Will add later the link |
I ran through the changes in this post, I still can't get it to work @LouisLetcher any chance you have pushed that docker-compose.yml anywhere? |
Missing support for Elasticsearch 7.x which is the newest version. Simple update of versions in .ENV file to 7.0.1 renders following error:
ERROR: for elasticsearch Cannot create container for service elasticsearch: invalid mount config for type "bind": bind source path does not exist: /Users/<CurrentUser>/temp/es-docker-full/stack-docker/config/ssl/ca/ca.crt
The text was updated successfully, but these errors were encountered: