# Downgrade ELK stack from 6.5.1 to 6.4.3

**URL:** <https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580>\
**Category:** Elasticsearch\
**Created:** [November 28, 2018, 1:44pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580 "2018-11-28T13:44:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 1:44pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/1 "2018-11-28T13:44:23Z")

</div>

I want to downgrade ELK to lower version from 6.5.1 as some of the plugins not supported in 6.5.1. Help me with the process of downgrading without any index and dashboards loss

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 1:49pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/2 "2018-11-28T13:49:21Z")

</div>

Have you already started your nodes in 6.5.1, i.e. are your indices already migrated to the newer Lucene format?

As explained on the [upgrade documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)

> - [Back up your data](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html) before upgrading. You **cannot roll back** to an earlier version unless you have a backup of your data.

Do you have a backup of your data?

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 1:54pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/3 "2018-11-28T13:54:22Z")

</div>

Hi Val,

I have already started my nodes in 6.5.1 and I have taken backup. Help me with the process of downgrading

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 2:01pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/4 "2018-11-28T14:01:18Z")

</div>

You first need to reinstall an empty 6.4.3 cluster with the desired configuration. Then you have to [recreate the repository](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_repositories) where your snapshot is backed up. Your mileage may vary here depending on where your repository is stored (filesystem, S3, etc).

```
PUT /_snapshot/my_repo
{
  "type": "fs",
  "settings": {
    "location": "/path/to/your/repository"
  }
}

```

Finally, you can simply [restore your snapshot](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_restore) from that repository you configured in the previous step:

```
POST /_snapshot/my_repo/snapshot_backup_name/_restore
```

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 4:28pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/5 "2018-11-28T16:28:20Z")

</div>

Hi Val,

I have taken ES snapshot from 6.5.1 and if I restore the same in 6.4.x will it create any problem like version issues etc.

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 4:30pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/6 "2018-11-28T16:30:22Z")

</div>

Of course that won't work !!! You needed to back up your date **BEFORE** attempting the upgrade...

If you remove the plugins that don't work with 6.5.1 and start your cluster, what happens?  
Which plugins are we talking about by the way?

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 4:33pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/7 "2018-11-28T16:33:51Z")

</div>

As of now I haven't installed any plugins in 6.5.1 as most of the plugins are not supported 6.5.1. Right now in my ES I have only my indexes and I have taken snapshot of them. Now if I restore the same will it cause an issue.

I want to install Enhanced-Table Plugin which has support till 6.4.3

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 4:36pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/8 "2018-11-28T16:36:15Z")

</div>

But that's a Kibana plugin, not an ES one, right?

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 4:36pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/9 "2018-11-28T16:36:46Z")

</div>

Exactly..but both Kibana and ES has to stay in same versions right..

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 4:37pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/10 "2018-11-28T16:37:55Z")

</div>

Yes, but apparently the [developer is working on it](https://github.com/fbaligand/kibana-enhanced-table/issues/19), so if you can wait until that's done, I think it's much less of a hassle than trying to downgrade (since you'll have to reindex everything)...

Can 't you get away without that plugin for a few more days?

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 4:40pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/11 "2018-11-28T16:40:06Z")

</div>

For sure I will wait, but I just want to know if in any case I need to downgrade my ELK stack by taking proper snapshot will it work the same way after restoring in the minor version or will I have to face any issues.

If Yes, what kind of issues will happen and how to resolve them..

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 4:42pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/12 "2018-11-28T16:42:17Z")

</div>

You had to take the snapshot **BEFORE** upgrading. Now that you are on 6.5.1 with a 6.5.1 snapshot, you cannot restore that snapshot on a 6.4.3 cluster, that won't work.

If you really want to downgrade, you need to install a new 6.4.3 cluster and reindex your data.

Next time, make sure to take snapshot of your data **BEFORE** upgrading your nodes.

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 4:44pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/13 "2018-11-28T16:44:07Z")

</div>

Ok. Then for upgrading from minor version to major version will minor snapshots will work for major version clusters?

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 4:47pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/14 "2018-11-28T16:47:08Z")

</div>

Yes, that's why you need to backup your data before upgrading. In case something goes wrong, you can always go back to your earlier version and restore the data.

There is one catch though. It only works if you upgrade from one major version, i.e. 5 to 6 or 6 to 7, but not from 2 to 5 or 2 to 6. That's not your case, but just so you know. Read the link I gave you above, everything is explained in details.

---

<div class="post-metadata">

**Author:** ![Venkata\_Naresh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_naresh/32/51355_2.png) [@Venkata\_Naresh](https://discuss.elastic.co/u/Venkata_Naresh)\
**Post date:** [November 28, 2018, 4:48pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/15 "2018-11-28T16:48:05Z")

</div>

Thank you so much Val

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [November 28, 2018, 4:48pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/16 "2018-11-28T16:48:30Z")

</div>

Sure, always glad to help!

---

<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:** [December 26, 2018, 4:48pm UTC](https://discuss.elastic.co/t/downgrade-elk-stack-from-6-5-1-to-6-4-3/158580/17 "2018-12-26T16:48:34Z")

</div>

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