# Elastic Upgrade Issue

**URL:** <https://discuss.elastic.co/t/elastic-upgrade-issue/325470>\
**Category:** Elasticsearch\
**Created:** [February 14, 2023, 12:12pm UTC](https://discuss.elastic.co/t/elastic-upgrade-issue/325470 "2023-02-14T12:12:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cobdeng](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@cobdeng](https://discuss.elastic.co/u/cobdeng)\
**Post date:** [February 14, 2023, 12:12pm UTC](https://discuss.elastic.co/t/elastic-upgrade-issue/325470/1 "2023-02-14T12:12:19Z")

</div>

Hi

We are currently using Elasticsearch 7.16.2 and are now looking at the upgrade process to 7.16.3 and upwards.

When we initially installed Elasticsearch, we used the msi installers that were then available as we are using windows. This ‘defaulted’ the config/data/log files to the ProgramData folder, as opposed to residing in the Elasticsearch folder.

As the msi installer is no longer available what is the best way to now install Elasticsearch as we need to upgrade. Should we update the above registry keys to point to the config/data/logs directories now residing under the install directory?? Should we overwrite them in the current locations??

Thanks in advance

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [February 14, 2023, 5:35pm UTC](https://discuss.elastic.co/t/elastic-upgrade-issue/325470/2 "2023-02-14T17:35:48Z")

</div>

Hi @cobdeng ,

Welcome to the community! To upgrade from 7.16 to the latest (8.6) you need to upgrade to 7.17 first and then [use the upgrade assistant](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html) from there. Looking at [7.17 installation steps](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/install-elasticsearch.html) it looks like Windows zip is the best way to install on Windows from the [past releases page](https://www.elastic.co/downloads/past-releases/).

I'm not sure regarding the updating of registry keys, but hopefully someone will be able to share their experience there.

---

<div class="post-metadata">

**Author:** ![cobdeng](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@cobdeng](https://discuss.elastic.co/u/cobdeng)\
**Post date:** [February 14, 2023, 6:12pm UTC](https://discuss.elastic.co/t/elastic-upgrade-issue/325470/3 "2023-02-14T18:12:55Z")

</div>

Hi  
Appreciate your comment and know that we have to upgrade in steps

My issue is that because we used the installers the config files etc are not where they would be if we installed straight from the zip file

So what do we do for the upgrade?

---

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [February 15, 2023, 7:30am UTC](https://discuss.elastic.co/t/elastic-upgrade-issue/325470/4 "2023-02-15T07:30:44Z")

</div>

You can define the path to your config using environment variable `ES_PATH_CONF` and others like path.data and path.logs can be configured in elasticsearch.yml itself. Please refer: [Install Elasticsearch with .zip on Windows | Elasticsearch Guide [8.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html)

---

<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:** [March 15, 2023, 7:30am UTC](https://discuss.elastic.co/t/elastic-upgrade-issue/325470/5 "2023-03-15T07:30:45Z")

</div>

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