Hi,
I'm trying to upgrade ES from 2.3 to 5.0 via RPM on a RHEL server. I followed the instructions and installed via RPM, but when I try to upgrade the plugins, I'm getting the following error:
$ sudo bin/elasticsearch-plugin install analysis-icu
-> Downloading analysis-icu from elastic
[=================================================] 100%
Exception in thread "main" java.lang.IllegalArgumentException: Plugin [analysis-icu] is incompatible with Elasticsearch [5.0.0]. Was designed for version [2.3.3]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:108)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:370)
at org.elasticsearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:446)
at org.elasticsearch.plugins.InstallPluginCommand.verify(InstallPluginCommand.java:427)
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:469)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:207)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:190)
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96)
at org.elasticsearch.cli.Command.main(Command.java:62)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:42)
Any idea what I'm doing wrong? Am I missing a configuration somewhere?
I will note that when I installed ES 5.0.0, I got the following warning:
1:elasticsearch warning: /etc/elasticsearch/elasticsearch.yml created as /etc/elasticsearch/elasticsearch.yml.rpmnew
warning: /etc/sysconfig/elasticsearch created as /etc/sysconfig/elasticsearch.rpmnew
I then manually renamed the new files to their original names. Not sure that screwed things up.