Cannot install X-pack plugin


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/
-> Downloading file:///opt/downloads/
[=================================================] 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(
at org.elasticsearch.plugins.InstallPluginCommand.verify(
at org.elasticsearch.plugins.InstallPluginCommand.install(
at org.elasticsearch.plugins.InstallPluginCommand.execute(
at org.elasticsearch.plugins.InstallPluginCommand.execute(
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.MultiCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.Command.main(
at org.elasticsearch.plugins.PluginCli.main(


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.

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

Thanks :slight_smile:

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