ES 2.2 How To Upgrade Elasticsearch 7.x for Xenforo on CentOS

HappyWorld

Well-known member
This is tutorial for upgrading elasticsearch 7.* on centos, WHM.

If I am missing something, please post here.


I tried to upgrade from 7.5.* to latest version at this moment (7.17.19) in WHM, using rpm

This is what i did

  1. Download latest version at this moment which is 7.17.19
    Code:
    curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.19-x86_64.rpm
  2. Stop the old one
    Code:
    sudo service elasticsearch stop
  3. Upgrade
    Code:
    sudo rpm -Uvh elasticsearch-7.17.19-x86_64.rpm
  4. Restart the elasticsearch
    Code:
    systemctl daemon-reload
    sudo service elasticsearch start
  5. Verify the latest version is installed
    Code:
    curl -X GET "localhost:9200"

(tested with XenForo Enhanced Search 2.2.2)
 
Top Bottom