# Compatibility issue Elastic - X-Pack

**URL:** https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736
**Category:** Elasticsearch
**Created:** [June 28, 2018, 6:10am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736 "2018-06-28T06:10:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)
#### Post date: [June 28, 2018, 6:10am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/1 "2018-06-28T06:10:21Z")

</div>

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](https://www.elastic.co/support/matrix#matrix_compatibility) 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?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 28, 2018, 6:13am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/2 "2018-06-28T06:13:41Z")

</div>

You need to remove any plugins and then reinstall them 🙂

---

<div class="post-metadata">

### Author: ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)
#### Post date: [June 28, 2018, 6:17am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/3 "2018-06-28T06:17:47Z")

</div>

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](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](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.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 28, 2018, 6:30am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/4 "2018-06-28T06:30:10Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)
#### Post date: [June 28, 2018, 6:33am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/5 "2018-06-28T06:33:35Z")

</div>

That is not what [https://www.elastic.co/support/matrix#matrix\_compatibility](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.

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [June 28, 2018, 6:56am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/6 "2018-06-28T06:56:46Z")

</div>

> [@pjanzen](#):
>
> . It jumps from 5.6.9 to 6.0.1

[https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.10.zip](https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.10.zip)

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 28, 2018, 7:00am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/7 "2018-06-28T07:00:13Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 26, 2018, 7:00am UTC](https://discuss.elastic.co/t/compatibility-issue-elastic-x-pack/137736/8 "2018-07-26T07:00:22Z")

</div>

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