# Cannot install X-pack plugin

**URL:** <https://discuss.elastic.co/t/cannot-install-x-pack-plugin/91600>\
**Category:** Elasticsearch\
**Created:** [July 3, 2017, 7:38am UTC](https://discuss.elastic.co/t/cannot-install-x-pack-plugin/91600 "2017-07-03T07:38:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)\
**Post date:** [July 3, 2017, 7:38am UTC](https://discuss.elastic.co/t/cannot-install-x-pack-plugin/91600/1 "2017-07-03T07:38:21Z")

</div>

Hi,

So slightly higher version of X-pack wont work with ELK ?

root@deb0:/opt/sw/elasticsearch-5.4.1# bin/elasticsearch-plugin install file:///opt/downloads/x-pack-5.4.3.zip  
-\> Downloading file:///opt/downloads/x-pack-5.4.3.zip  
[=================================================] 100%  
Exception in thread "main" java.lang.IllegalArgumentException: plugin [x-pack] is incompatible with version [5.4.1]; was designed for version [5.4.3]  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:146)  
at org.elasticsearch.plugins.InstallPluginCommand.verify(InstallPluginCommand.java:428)  
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:495)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:215)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:199)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.Command.main(Command.java:88)  
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

Regards,  
-Manish

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 3, 2017, 8:07am UTC](https://discuss.elastic.co/t/cannot-install-x-pack-plugin/91600/2 "2017-07-03T08:07:45Z")

</div>

The error message shows, you are downloading x-pack for version `5.4.3`, where as you need to use the same version as your elasticsearch version, which in this case is `5.4.1`.

If you just run `bin/elasticsearch-plugin install x-pack`, there is no need to download specific versions, the tool will pick the right version for you.

---

<div class="post-metadata">

**Author:** ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)\
**Post date:** [July 3, 2017, 8:26am UTC](https://discuss.elastic.co/t/cannot-install-x-pack-plugin/91600/3 "2017-07-03T08:26:33Z")

</div>

Hi Alexander,

My ELK is offline. anyway I just modified x-pack download url to download 5.4.1 version.  
I have installed it now

root@deb0:/opt/sw/elasticsearch-5.4.1# bin/elasticsearch-plugin list  
x-pack

Thanks 🙂  
Manish

---

<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 31, 2017, 8:27am UTC](https://discuss.elastic.co/t/cannot-install-x-pack-plugin/91600/4 "2017-07-31T08:27:27Z")

</div>

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