Kibana doesnt work

I've installed Logstash, Elasticsearch and kibana on a Ubuntu Server 16.04

I only discomment this parameters in file:
/etc/elasticsearch/elasticsearch.yml
network.host: localhost http.port: 9200

/opt/kibana/config/kibana.yml
server.port: 5601 server.host: "0.0.0.0" elasticsearch.url: "http://localhost:9200" logging.dest: /var/log/kibana/kibana.log logging.verbose: true

I dont understand why I can't pass to this page:

Kibana's log:

hi @rpoveda,

it seems you are connecting correctly, as you are hitting the Kibana loading screen.

The server-log seems OK too.

What happens? Does the loading screen never complete?

Can you try again and wait for a few minutes? The first time on startup Kibana needs to compile resources, which may take a while.

If the loading screen still does not disappear, look at the browser debugger (in Chrome, open this with Ctrl-Shift-J) and let me know what is in there.

yes, the page takes 4 hours without finish loading...

the file is here:
/opt/kibana/optimize/bundles/commons.bundle.js

I'm watching inside, but I don't find anything that explain me this problem...

Thank, thank you so much for the quickly answer!!

Interesting.

Try first:

  • clear your browser-cache
  • restart Kibana

If this still does not work, let me know.

What version of Kibana are you using?

Same...

Kibana 4.6

this are the repositories that I've installed:

Oracle JAVA
sudo -E add-apt-repository ppa:webupd8team/java

ELK
echo "deb https://packages.elastic.co/logstash/2.4/debian stable main" | sudo tee -a /etc/apt/sources.list
echo "deb https://packages.elastic.co/kibana/4.6/debian stable main" | sudo tee -a /etc/apt/sources.list.d/kibana.list
echo "deb https://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list

Yes, Kibana uses these bundled files, so that is expected.

I haven't seen this. Does it occur when installing the packages manually? https://www.elastic.co/downloads/kibana https://www.elastic.co/downloads/elasticsearch

Here:
https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
https://www.elastic.co/guide/en/kibana/current/setup-repositories.html
https://www.elastic.co/guide/en/logstash/current/installing-logstash.html

this's bad?
I always try to install it all from repositories, if I can.

yes, it is fine to install from the repos. I was really hoping to see if it is something with your particular environment as I'm having trouble reproducing this.

Do you have the same issue connecting over 0.0.0.0/localhost and not by IP? Perhaps it is related to your machines network settings?

Don't worry, currently I am working with elastic 5.0 and now kibana works.
We will never know what happened....

but, I'll open a new thread because, logstash show me funny errors:

xD

1 Like