Upgradation process from version 7.x to 8.5

Hi Team,

Expecting the Upgradation process in detail.

Thanks in advance.

which version of 7.x ?

you need minimum 7.17 to upgrade to 8.5

I just upgraded mine, 7.17.1 to 8.5.3
shutdown elasticsearch cluster, all logstash, all kibana
save all config for refrence
upgraded elasticsearch
started elastic cluster, once up
upgraded kibana
started kibana(you will most problem here as some config option change, you will have to check log file for it)
started logstash

Thanks Sachin.

It would be helpful if we get detailed information about upgradation from 7.16 to 7.17

We have installed ELK on our local machine (with no clusters and having single node) having ELK version 7.16.

Planning to upgrade from 7.16 to 7.17 first and then ultimately need to upgrade to the latest version 8.5.

While upgrading from 7.16 to 7.17, we are stuck with repository creation.

Which one to choose as highlighted above and expecting steps to registering the repository.

Thanks in advance.

Hello @Abj_Ins,

If you are confused about the snapshot creation option, before starting the upgrade, enable the snapshot repository via the Kibana UI or via dev tools in Kibana using the following queries:

Shared file system repository:

PUT /_snapshot/my_fs_backup
  "type": "fs",
  "settings": {
    "location": "/mount/backups/my_fs_backup_location",
    "compress": true

Read-only URL repository

PUT /_snapshot/my_read_only_url_repository
  "type": "url",
  "settings": {
    "url": "file:/mount/backups/my_fs_backup_location"

You can refer here for more details:
Snapshot and restore and here

if this system is not in production and you have done minimum work.
then I will suggest just upgrade without running backup.

you have not even said more about your installation

systmctl stop elasticsearch
systemctl stop kibana
systemctl stop logstash

use rpm and upgrade all three and start in same fashion
systemctl start elasticsearch ( make sure it is up by using curl)
curl -u user:passwd -XGET http://servername:9200/_cluster/health?pretty
systemctl start kibana ( go to kibana page and make sure it works)
systemctl start logstash

Thanks @jeeva042 for the update.

Tried with File Shared file System Repository code as mentioned above then all existing user created objects are not able to see (Dashboards/data view) in Kibana. ELK setup looks like fresh installation.

  1. What could be the cause for such a behavior.
  2. How can we restore it back.

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