Elasticsearch-keystore: not found during attempt to configure elasticsearch 7.16.2

I'm trying to upgrade to the latest version of Elasticsearch 7.16.2 inside docker. During the setup I see the following error:

docker logs -f emr_cloud_elasticsearch
/usr/local/bin/docker-entrypoint.sh: line 14: exec: Elasticsearch-keystore: not found

I started the containter and I see that this file exists in bin/ folder inside docker.
Did anyone see this problem in Elasticsearch 7.16.2?

It appears that /usr/share/Elasticsearch/bin was not part of the PATH and it caused this problem. I'm not sure why it is different from 7.10 setup but adding export PATH=/usr/share/Elasticsearch:$PATH before running docker-entrypoint.sh resolved the problem

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.