I'm experiencing a few issues trying to install x-pack into Kibana 5.1.x.
The latest release of Kibana 5.1.x is 5.1.3, whereas the latest published x-pack artifact found under https://artifacts.elastic.co/downloads/packs/x-pack/ is x-pack-5.1.2.zip. Trying to install x-pack 5.1.2 into Kibana 5.1.3 gives me the following error:
Plugin installation was unsuccessful due to error "Incorrect Kibana version in plugin [x-pack]. Expected [5.1.3]; found [5.1.2]
Which makes sense, but why is there no corresponding x-pack 5.1.3 published?
I then try and downgrade my Kibana to Kibana 5.1.2 to match the latest published x-pack version, however now installing fails with:
Plugin installation was unsuccessful due to error "child "xpack" fails because [child "monitoring" fails because ["ui" is not allowed]]
I should mention I'm using the kibana-docker image to try and build my kibana instance.
There is something weird with your kibana-docker image. Latest released version of Kibana 5.1.x is 5.1.2 so it shouldn't be 5.1.3.
You can view this in the 5.1.x Kibana Docker documentation: https://www.elastic.co/guide/en/kibana/5.1/_pulling_the_image.html
This will bring you the 5.1.2 image which should work just fine with x-pack 5.1.2
Looking at the 5.1 branch of Kibana on Github I see the latest version there is 5.1.3: https://github.com/elastic/kibana/tree/5.1, added over 2 months ago. Was this version never actually "released"?
My goal is to build a slightly modified Kibana from source with a stock release of x-pack. If I reset the Kibana 5.1 branch to the 5.1.2 release and use x-pack 5.1.2 I get the second error I described: Plugin installation was unsuccessful due to error "child "xpack" fails because [child "monitoring" fails because ["ui" is not allowed]]
Version is bumped automatically after a patch fix is released, just to make sure it's ready if any release is done later.
That error is because you're using 5.1.x branch which doesn't have the container monitoring capability yet. (That was part of the 5.2.0 release)
So you need to remove this line: xpack.monitoring.ui.container.elasticsearch.enabled: true
from: kibana-docker/build/kibana/config/kibana.yml
on the master branch for kibana-docker.
Or just use the kibana-docker 5.1 branch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.