Cannot install X-pack plugin

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

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
x-pack

Thanks :slight_smile:
Manish

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