• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.

How to install Elasticsearch v8.5


Staff member
Before installing Elasticsearch on your server, make sure you have a minimum of 4GB of memory.



Note: when you install Elasticsearch, ignore the error messages shown during installation.

Once Elasticsearch is installed you will need to execute the following command:

systemctl daemon-reload

To start Elasticsearch issue the following command:

service elasticsearch start

To verify Elasticsearch is running issue the following command:

service elasticsearch status

To stop Elasticsearch issue the following command:

service elasticsearch stop

Install XenForo Enhanced Search and create an index, then you can use the commands below:

curl -XGET 'localhost:9200'

You can verify Elasticsearch is running with this command:

curl http://localhost:9200/_cluster/health?pretty


Staff member
To upgrade Elasticsearch to a newer version, I recommend first uninstalling the current version, then installing the latest version of Elasticsearch using the instruction from the above post.
  1. Disable Enhanced search in XenForo.
  2. Stop Elasticsearch from command line service elasticsearch stop
  3. Uninstall Elasticsearch from command line yum remove elasticsearch
  4. Install latest version of Elasticsearch using above instructions.
  5. Enable Enhanced search in XenForo and rebuild the index.