I tried running an offline RPM upgrade of the new Elasticsearch 6.4 on top of my existing 6.2.1 environment. The original environment has X-pack installed on it, configured to provide just a basic licence (so no Watcher, Machine learning etc.).
Unfortunately, after the upgrade when I try to restart Elasticsearch I see this error:
[2018-08-24T14:41:28,557][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [OVF_SharedServices_ElasticNode_gbdocldibgdap02] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Could not load plugin descriptor for plugin directory [x-pack]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:140) ~[elasticsearch-6.4.0.jar:6.4.0]
with, a few lines further down:
Caused by: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/x-pack/plugin-descriptor.properties
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) ~[?:?]
I also see a similar error when trying to list the plugins:
[root@gbdocldibgdap02 bin]# ./elasticsearch-plugin list
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/x-pack/plugin-descriptor.properties
I know that from 6.3 onwards ELK came with more x-pack goodness included, so there was no additional install anymore. Does this mean I should have removed the x-pack plugin from my 6.2.1 environment before doing the RPM upgrade?
All help appreciated!