X-Pack 5.1.3?


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.

Any help would be greatly appreciated.

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

Thanks for getting back to me so quickly.

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]]

I'm using https://github.com/elastic/kibana-docker except with line 8 in https://github.com/elastic/kibana-docker/blob/master/build/kibana/Dockerfile changed to use my locally built Kibana 5.1.2 archive.


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
on the master branch for kibana-docker.
Or just use the kibana-docker 5.1 branch.

1 Like

That was it! Thank you so much, I've been struggling with this for a little while now.

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