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

**URL:** <https://discuss.elastic.co/t/elasticsearch-keystore-not-found-during-attempt-to-configure-elasticsearch-7-16-2/293805>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [January 8, 2022, 4:07pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-not-found-during-attempt-to-configure-elasticsearch-7-16-2/293805 "2022-01-08T16:07:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicole\_Hirshler](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicole_hirshler/32/77268_2.png) [@Nicole\_Hirshler](https://discuss.elastic.co/u/Nicole_Hirshler)\
**Post date:** [January 8, 2022, 4:07pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-not-found-during-attempt-to-configure-elasticsearch-7-16-2/293805/1 "2022-01-08T16:07:55Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Nicole\_Hirshler](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicole_hirshler/32/77268_2.png) [@Nicole\_Hirshler](https://discuss.elastic.co/u/Nicole_Hirshler)\
**Post date:** [January 8, 2022, 6:04pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-not-found-during-attempt-to-configure-elasticsearch-7-16-2/293805/2 "2022-01-08T18:04:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 5, 2022, 6:04pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-not-found-during-attempt-to-configure-elasticsearch-7-16-2/293805/3 "2022-02-05T18:04:37Z")

</div>

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