# How to upgrade elasticsearch version 5.6.2 to 6.8 without use of X-PACK?

**URL:** <https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847>\
**Category:** Elasticsearch\
**Created:** [May 27, 2019, 6:53am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847 "2019-05-27T06:53:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![savan\_karathiya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/savan_karathiya/32/46197_2.png) [@savan\_karathiya](https://discuss.elastic.co/u/savan_karathiya)\
**Post date:** [May 27, 2019, 6:53am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/1 "2019-05-27T06:53:29Z")

</div>

I want to upgrade my elasticsearch from version 5.6.2 to 6.8, but I don't want to use X-PACK.  
So how I can migrate all indices version 5.6.2 to 6.8?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 27, 2019, 7:04am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/2 "2019-05-27T07:04:53Z")

</div>

The upgrade process is the same for any version of Elasticsearch. If you want to stick to the open source release then just pick the relevant `-oss` package.

> [@savan\_karathiya](#):
>
> but I don't want to use X-PACK

Can you share why? The Basic level has a heap of free functionality.

---

<div class="post-metadata">

**Author:** ![savan\_karathiya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/savan_karathiya/32/46197_2.png) [@savan\_karathiya](https://discuss.elastic.co/u/savan_karathiya)\
**Post date:** [May 27, 2019, 7:19am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/3 "2019-05-27T07:19:53Z")

</div>

Yes, I am using elasticsearch-oss (6.8).  
Do I need to install X-PACK in kibana and elasticsearch both? or Is it good with only kibana and I can migrate those indices?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 27, 2019, 7:21am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/4 "2019-05-27T07:21:05Z")

</div>

If you want to use any of the X-Pack features you need to install the default distribution of both Elasticsearch and Kibana.

---

<div class="post-metadata">

**Author:** ![savan\_karathiya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/savan_karathiya/32/46197_2.png) [@savan\_karathiya](https://discuss.elastic.co/u/savan_karathiya)\
**Post date:** [May 27, 2019, 7:26am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/5 "2019-05-27T07:26:06Z")

</div>

Elasticsearch default with X-PACK in which X-PACK contains the elasticsearch license, it doesn't contain apache2.0 license.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 27, 2019, 7:29am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/6 "2019-05-27T07:29:13Z")

</div>

Correct, the default distribution contain elements licensed under a non-Apache 2.0 license. This is required in order to use any of the X-Pack features. If you have a policy to only use Apache 2.0 licensed code you need to use the OSS distribution.

---

<div class="post-metadata">

**Author:** ![savan\_karathiya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/savan_karathiya/32/46197_2.png) [@savan\_karathiya](https://discuss.elastic.co/u/savan_karathiya)\
**Post date:** [May 27, 2019, 7:39am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/7 "2019-05-27T07:39:31Z")

</div>

Exactly, I am using elasticsearch-oss (6.8) that's why I want suggestion for index migration without use of X-PACK.  
So please suggest me good way for migration if any.  
I know it can be possible manually to rewrite mappings and dump docs in new elasticsearch but it will take too much time for me, because I've big number of indices in my elasticsearch(5.6.2).

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 27, 2019, 7:47am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/8 "2019-05-27T07:47:24Z")

</div>

As far as I am aware there is no automatic migration tool. X-Pack contains an upgrade assistant, but you can probably not use that as I believe it requires the default distribution.

---

<div class="post-metadata">

**Author:** ![savan\_karathiya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/savan_karathiya/32/46197_2.png) [@savan\_karathiya](https://discuss.elastic.co/u/savan_karathiya)\
**Post date:** [May 27, 2019, 7:54am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/9 "2019-05-27T07:54:33Z")

</div>

@warkolm and @Christian_Dahlqvist Thank you so much for your suggestions and your precious time.

---

<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:** [June 24, 2019, 7:54am UTC](https://discuss.elastic.co/t/how-to-upgrade-elasticsearch-version-5-6-2-to-6-8-without-use-of-x-pack/182847/10 "2019-06-24T07:54:34Z")

</div>

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