# Unknown provider loading Marvel

**URL:** <https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [August 2, 2016, 3:00pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027 "2016-08-02T15:00:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaume\_Puigserver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaume_puigserver/32/70143_2.png) [@Jaume\_Puigserver](https://discuss.elastic.co/u/Jaume_Puigserver)\
**Post date:** [August 2, 2016, 3:00pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/1 "2016-08-02T15:00:19Z")

</div>

Hi,

I'm using Elasticsearch 2.3.4, Kibana 4.5.3 and Marvel 2.3.4 and when I try to load Marvel Agent I get the folling error and I get a blank screen on browser.

Do you have any idea what it could be??

Thnks,

INFO: 2016-08-02T14:00:59Z  
Adding connection to [http://elkhost.domain.com/elasticsearch](http://elkhost.domain.com/elasticsearch)

Error: [$injector:unpr] Unknown provider: $routeProvider \<- $route \<- kbnUrl \<- courier  
[http://errors.angularjs.org/1.4.7/$injector/unpr?p0=%24routeProvider%20\<-%20%24route%20\<-%20kbnUrl%20\<-%20courier](http://errors.angularjs.org/1.4.7/%24injector/unpr?p0=%24routeProvider%20%3C-%20%24route%20%3C-%20kbnUrl%20%3C-%20courier)  
at commons.bundle.js?v=9910:27187  
at commons.bundle.js?v=9910:31408  
at Object.getService [as get] (commons.bundle.js?v=9910:31556)  
at commons.bundle.js?v=9910:31413  
at getService (commons.bundle.js?v=9910:31556)  
at Object.invoke (commons.bundle.js?v=9910:31588)  
at instantiate (commons.bundle.js?v=9910:64468)  
at get (commons.bundle.js?v=9910:64486)  
at Private (commons.bundle.js?v=9910:64506)  
at new (marvel.bundle.js?v=9910:60909)

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [August 2, 2016, 3:15pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/2 "2016-08-02T15:15:31Z")

</div>

Hi Jaume,

How did you install the plugins? Elasticsearch uses the Marvel Agent and it's not Javascript-based.

Let us know

---

<div class="post-metadata">

**Author:** ![Jaume\_Puigserver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaume_puigserver/32/70143_2.png) [@Jaume\_Puigserver](https://discuss.elastic.co/u/Jaume_Puigserver)\
**Post date:** [August 3, 2016, 8:24am UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/3 "2016-08-03T08:24:53Z")

</div>

HI,

It not works since I updated last version on former updates I had no problem.

I performed the following steps

cd /usr/share/elasticsearch/bin  
./plugin remove license  
./plugin remove marvel-agent  
./plugin install license  
./plugin install marvel-agent

and restarted elasticsearch and kibana services

Rgds,  
Jaume.

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [August 3, 2016, 3:59pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/4 "2016-08-03T15:59:42Z")

</div>

Hi Jaume,

This error:

```auto
Error: [$injector:unpr] Unknown provider: $routeProvider <- $route <- kbnUrl <- courier
http://errors.angularjs.org/1.4.7/$injector/unpr?p0=%24routeProvider%20%3C-%20%24route%20%3C-%20kbnUrl%20%3C-%20courier
at commons.bundle.js?v=9910:27187
at commons.bundle.js?v=9910:31408
at Object.getService as get
at commons.bundle.js?v=9910:31413
at getService (commons.bundle.js?v=9910:31556)
at Object.invoke (commons.bundle.js?v=9910:31588)
at instantiate (commons.bundle.js?v=9910:64468)
at get (commons.bundle.js?v=9910:64486)
at Private (commons.bundle.js?v=9910:64506)
at new (marvel.bundle.js?v=9910:60909)

```

implies that the Marvel UI plugin is having issues. Have you ensured that it was updated with Kibana?

```auto
bin/kibana plugin --remove marvel
bin/kibana plugin --install elasticsearch/marvel/2.3.4

```

Let us know

---

<div class="post-metadata">

**Author:** ![Jaume\_Puigserver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaume_puigserver/32/70143_2.png) [@Jaume\_Puigserver](https://discuss.elastic.co/u/Jaume_Puigserver)\
**Post date:** [August 3, 2016, 5:45pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/5 "2016-08-03T17:45:30Z")

</div>

Hi,

It's all installed in the same host so it's installed as elastic plugin as mentioned above not as kibana plugin

Rgds,  
Jaume.

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [August 3, 2016, 6:21pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/6 "2016-08-03T18:21:36Z")

</div>

Hi Jaume,

Okay, Marvel is really two separate plugins:

- Marvel Agent
  - This is used by Elasticsearch to collect and send (if necessary) stats

- Marvel UI
  - This is used by Kibana to display the information created by the Marvel Agent

In order to get the Marvel UI, the _Kibana_ plugin must be installed within Kibana.

Can you verify that you **didn't** install the marvel agent into Kibana somehow? And if you did, delete the fake-plugin. Then install the Marvel UI plugin.

Let us know

---

<div class="post-metadata">

**Author:** ![Jaume\_Puigserver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaume_puigserver/32/70143_2.png) [@Jaume\_Puigserver](https://discuss.elastic.co/u/Jaume_Puigserver)\
**Post date:** [August 4, 2016, 8:12am UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/7 "2016-08-04T08:12:59Z")

</div>

Hi,

Thank you very much!!! I've update to kibana 4.5.4 and peformed steps yo mentioned and installed as kibana plugin and now it works fine.

Rgds,  
Jaume.

---

<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 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/unknown-provider-loading-marvel/57027/8 "2017-07-06T13:42:30Z")

</div>


