Upgrade from ELK 5.4 to 7.6

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

Welcome.

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

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.

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

Just start from scratch a new cluster.

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

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.

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

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