# Installing X-pack breaks Kibana

**URL:** <https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610>\
**Category:** Kibana\
**Created:** [June 15, 2017, 6:49pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610 "2017-06-15T18:49:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diggy](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Diggy](https://discuss.elastic.co/u/Diggy)\
**Post date:** [June 15, 2017, 6:49pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610/1 "2017-06-15T18:49:57Z")

</div>

Hello, all.

I've just set up the ELK 5.4 stack on Ubuntu 16.04 LTS. I works fine. However, when I try to install X-pack for Elasticsearch and for Kibana, then refresh Kibana, I get this in my browser:

Error: Error: [$injector:unpr] Unknown provider: sessionTimeoutProvider \<- sessionTimeout \<- $http \<- config  
[http://errors.angularjs.org/1.4.7/$injector/unpr?p0=sessionTimeoutProvider%20\<-%20sessionTimeout%20\<-%20%24http%20\<-%20config](http://errors.angularjs.org/1.4.7/%24injector/unpr?p0=sessionTimeoutProvider%20%3C-%20sessionTimeout%20%3C-%20%24http%20%3C-%20config) ([https://elk01.netatlantic.com.backend/bundles/commons.bundle.js?v=15104:35](https://elk01.netatlantic.com.backend/bundles/commons.bundle.js?v=15104:35))  
[2491]/window.onerror@[https://elk01.netatlantic.com.backend/bundles/commons.bundle.js?v=15104:91:17941](https://elk01.netatlantic.com.backend/bundles/commons.bundle.js?v=15104:91:17941)

I then restart the stack, and get this in my browser:

Firefox has detected that the server is redirecting the request for this address in a way that will never complete (particular browser makes no difference).

If I then uninstall X-pack for Kibana, I get this:

ui settings Elasticsearch plugin is red  
plugin:kibana@5.4.1 Ready  
plugin:elasticsearch@5.4.1 Authentication Exception

If I then uninstall X-pack for Elasticsearch, I'm all good again. What's going on? Do I need to install X-pack for Elasticsearch, Logstash, and Kibana? What's the purpose of X-pack for each? And, finally, the most important question - How do I successfully install X-pack in my system?

Many thanks.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [June 15, 2017, 9:56pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610/2 "2017-06-15T21:56:14Z")

</div>

This sounds like there may have been an issue with transpiling the kibana source code when installing x-pack in kibana. Could you try the recommended steps in [this comment](https://github.com/elastic/kibana/issues/9369#issuecomment-264896049)?

To answer your other question, the x-pack plugin for each system provides functionality specific to that system. Take monitoring for example. X-pack for elasticsearch adds a collector for monitoring data. X-pack for logstash adds functionality that sends more monitoring data to elasticsearch. X-pack for kibana adds a monitoring UI which consumes the data provided by x-pack for elasticsearch and logstash. It's a similar story for each piece of x-pack.

---

<div class="post-metadata">

**Author:** ![Diggy](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Diggy](https://discuss.elastic.co/u/Diggy)\
**Post date:** [June 15, 2017, 10:13pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610/3 "2017-06-15T22:13:57Z")

</div>

Thanks, Bargs. I'll follow the steps recommended in the comment. That seems to relate to Kibana. Must I do something similar for Elasticsearch and Logstash X-pack?

---

<div class="post-metadata">

**Author:** ![Diggy](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Diggy](https://discuss.elastic.co/u/Diggy)\
**Post date:** [June 15, 2017, 10:35pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610/4 "2017-06-15T22:35:32Z")

</div>

Alas, no joy. I followed the steps in the comment, although I never found a file named "babel-cache.json" anywhere. I rebooted the machine, and note that, while kibana reports as started, no port 5601 has been opened. What else should I try?

---

<div class="post-metadata">

**Author:** ![Diggy](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Diggy](https://discuss.elastic.co/u/Diggy)\
**Post date:** [June 15, 2017, 10:43pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610/5 "2017-06-15T22:43:05Z")

</div>

Bargs, I take it all back. It did work. I had to install the elasticsearch x-pack, then reboot, then wait several minutes. Looks like Kibana with X-pack is all good now. Thanks so much!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 13, 2017, 10:43pm UTC](https://discuss.elastic.co/t/installing-x-pack-breaks-kibana/89610/6 "2017-07-13T22:43:11Z")

</div>

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