Compatibility issue Elastic - X-Pack


(Pjanzen) #1

Hi All,

I am in the process of upgrade a elasticsearch cluster from 5.3.0 to 5.6.10. According to the upgrade matrix this should not be a problem. And the installation of elastic goes with a problem. However if I want to install x-pack I am running into issues.

The Compatibility matrix is here.

First error I am getting:

root@esearchr6:/usr/share/elasticsearch# bin/elasticsearch-plugin install file:///var/tmp/x-pack-5.6.9.zip
-> Downloading file:///var/tmp/x-pack-5.6.9.zip
[=================================================] 100%��
Exception in thread "main" java.lang.IllegalArgumentException: plugin [x-pack] is incompatible with version [5.6.10]; was designed for version [5.6.9]

Ok, sound reasonable, this accoring to the matrix should work I think. Downloaded next version and tried to install that..

root@esearchr6:/usr/share/elasticsearch# bin/elasticsearch-plugin install file:///var/tmp/x-pack-6.0.1.zip
-> Downloading file:///var/tmp/x-pack-6.0.1.zip
[=================================================] 100%��
Exception in thread "main" java.lang.IllegalArgumentException: plugin [x-pack] is incompatible with version [5.6.10]; was designed for version [6.0.1]

Is it me? Am I missing something here?
Could some please advice how to continue?


(Mark Walkom) #2

You need to remove any plugins and then reinstall them :slight_smile:


(Pjanzen) #3

Hmm I did that..

root@esearchr6:/usr/share/elasticsearch# bin/elasticsearch-plugin remove x-pack
-> Removing x-pack...
-> Preserving plugin config files [/etc/elasticsearch/x-pack] in case of upgrade, delete manually if not needed

The process I followed so far is this:

export https_proxy=<internal proxy server>
wget https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.9.zip
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.10.deb

cd /usr/share/elasticsearch/
bin/elasticsearch-plugin remove xpack

dpkg -i /var/tmp/elasticsearch-5.6.10.deb
bin/elasticsearch-plugin install file:///var/tmp/x-pack-5.6.9.zip

And then error occured.


(David Pilato) #4

You can't install a 5.6.9 plugin on a 5.6.10 version. Plugins should have the same exact version.


(Pjanzen) #5

That is not what https://www.elastic.co/support/matrix#matrix_compatibility is showing me... also there is not x-pack 5.6.10 version.. It jumps from 5.6.9 to 6.0.1
Again, I could be missing some information here but never the less it is not very clearly documented.


(Ioannis Kakavas) #6

https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.10.zip


(David Pilato) #7

I understand the confusion in this page. Let's see if we can make it more explicit.
That said, from 6.3.0, xpack is bundled by default so that should not be an issue anymore.

The good thing is that the error message is explicit IMOz


(system) #8

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