Elasticsearch - which version?

sps-forum

Member
hi,

if we install elasticsearch on our server to use it with XF enhanced search - which version should we use?

I have seen that it must be at least 2.0
...and that some people not happy with 7.11

so.. wich one should i use?
thank you !
 
There are so many version 7.x before the 8.x but i see it's better to install version 7, but which version 7? Any version ?
thank you
 
The install on the later versions has gotten a bit more complex as they've pushed SSL certs IMHO. I recently did a new install and had to deal with a TON more steps to get it working than in the past. Just my 2c.
 
That's an option. Just set the security to false and the installation of v8 is the same as v7.

On Alma9 it won't even install properly until you've manually generated and installed all kinds of certificates. The installation is quite lengthy and speaking as a Linux system admin who's been doing this since 1994..... a bit daunting and tedious. I ended up disabling the requirements in ElasticSearch config file and going back to non SSL. That took 15 minutes of searching though to figure out how to do as well :)

I should note, that this was on a CentminMod Alma 9 install, it may be much easier on a vanilla Alma 9 install. It took me about 30 minutes of tinkering to get it to work in the non SSL mode. I gave up on the SSL mode after I saw 35 steps needed, since it's only available to localhost and no one else is on this machine, it is unnecessary to have SSL.
 
On Alma9 I bypassed ES / A9 security issues by:
Code:
xpack.security.enabled: false
xpack.security.transport.ssl.enabled: false
xpack.security.http.ssl.enabled: false

Also UNCHECK Use HTTPS connection

Note: this should not be done on multi node ES installs but if your ES service is local to XF, your server security will handle external connections (CSF).
 
On Alma9 I bypassed ES / A9 security issues by:
Code:
xpack.security.enabled: false
xpack.security.transport.ssl.enabled: false
xpack.security.http.ssl.enabled: false

Also UNCHECK Use HTTPS connection

Note: this should not be done on multi node ES installs but if your ES service is local to XF, your server security will handle external connections (CSF).
Same with Alma 8. Takes less than 10 minutes to install and setup a new install of Elasticsearch 8.15+ for XenForo.
 
Same with Alma 8. Takes less than 10 minutes to install and setup a new install of Elasticsearch 8.15+ for XenForo.
Yep, technically Alma8 only needs
xpack.security.enabled: false
But disabling the other two functions does not hurt anything.
 
Last edited:
To be fair, ChatGPT makes installing this so easy. Took me 5 mins with the right commands given by ChatGPT.
 
Back
Top Bottom