# Upgrade from ELK 5.4 to 7.6

**URL:** <https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721>\
**Category:** Elasticsearch\
**Created:** [April 19, 2020, 10:45am UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721 "2020-04-19T10:45:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![111320](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111320/32/66612_2.png) [@111320](https://discuss.elastic.co/u/111320)\
**Post date:** [April 19, 2020, 10:45am UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/1 "2020-04-19T10:45:51Z")

</div>

I need to upgrade my system (linux) from ELK 5.4 to 7.6.  
I saw several guides about using Upgrade Assistant but it is not exist in Kibana 5.4.  
I don't need the old indices and I already delete all indices.  
The system consist of 5 hosts. On the master host I have Elasticsearch, Kibana and Logstash. On other 4 hosts I have only Elasticsearch.  
What is the right way for doing it?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 19, 2020, 12:04pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/2 "2020-04-19T12:04:53Z")

</div>

Welcome.

You need to upgrade first to the latest 5.x version. Then you will see the upgrade assistant.

---

<div class="post-metadata">

**Author:** ![111320](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111320/32/66612_2.png) [@111320](https://discuss.elastic.co/u/111320)\
**Post date:** [April 19, 2020, 12:11pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/3 "2020-04-19T12:11:45Z")

</div>

Thank you!  
But if I don't need the current data, is there a problem to just upgrade directly to 7.6?  
In addition, I don't have any plugin installed.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 19, 2020, 1:38pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/4 "2020-04-19T13:38:52Z")

</div>

If you don't need any data, why do you want to upgrade?

Just start from scratch a new cluster.

---

<div class="post-metadata">

**Author:** ![111320](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111320/32/66612_2.png) [@111320](https://discuss.elastic.co/u/111320)\
**Post date:** [April 19, 2020, 2:36pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/5 "2020-04-19T14:36:58Z")

</div>

Sounds good to me.  
Uninstall version 5.4 and install 7.6?

---

<div class="post-metadata">

**Author:** ![111320](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111320/32/66612_2.png) [@111320](https://discuss.elastic.co/u/111320)\
**Post date:** [April 19, 2020, 2:46pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/6 "2020-04-19T14:46:55Z")

</div>

Meantime I already upgrade to 7.6.  
Now I get the error with the \_state:  
`ElasticsearchException[java.io.IOException: failed to read /data/disk05/nodes/0/_state/global-447.st]; nested: IOException[failed to read /data/disk05/nodes/0/_state/global-447.st]; nested: IllegalArgumentException[Index patterns must not be null or empty; got null];`

Do you think it is better to uninstall and reinstall or maybe somehow to fix this error?

I'm asking since I don't want to delete all config files.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 19, 2020, 6:05pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/7 "2020-04-19T18:05:11Z")

</div>

Just remove the old data dir before starting.  
But this will remove all existing templates

---

<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:** [May 17, 2020, 6:05pm UTC](https://discuss.elastic.co/t/upgrade-from-elk-5-4-to-7-6/228721/8 "2020-05-17T18:05:12Z")

</div>

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