Unknown provider loading Marvel

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

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

Hi Jaume,

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

Let us know

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.

Hi Jaume,

This error:

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?

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

Let us know

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.

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

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.