Kibana does not create .kibana index

(Alek) #1

Upgraded to kibana 4.6.1 and elasticsearch 2.4.1. Before installing Kibana deleted an old version of .kibana index.
Elasticsearch seems to work OK after the upgrade:

root@lablogstash:~/softshop# curl -XGET "localhost:9200"
"name" : "Savage Steel",
"cluster_name" : "labelastic",
"cluster_uuid" : "OCiX4Yi5QMKGVfrjQve7YQ",
"version" : {
"number" : "2.4.1",
"build_hash" : "c67dc32e24162035d18d6fe1e952c4cbcbe79d16",
"build_timestamp" : "2016-09-27T18:57:55Z",
"build_snapshot" : false,
"lucene_version" : "5.5.2"
"tagline" : "You Know, for Search"

However, when starting kibana, it fails with:

root@lablogstash:~/softshop# curl -XGET "localhost:9200"
{"@timestamp":"2016-10-06T15:43:26.711Z","level":"fatal","message":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","":".kibana"}],"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","":".kibana"},"node_env":"production","error":{"message":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","":".kibana"}],"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","":".kibana"},"name":"Error","stack":"Error: [object Object]\n at respond (/root/softshop/kibana/src/node_modules/elasticsearch/src/lib/transport.js:235:15)\n at checkRespForFailure (/root/softshop/kibana/src/node_modules/elasticsearch/src/lib/transport.js:203:7)\n at HttpConnector. (/root/softshop/kibana/src/node_modules/elasticsearch/src/lib/connectors/http.js:156:7)\n at IncomingMessage.bound (/root/softshop/kibana/src/node_modules/elasticsearch/node_modules/lodash-node/modern/internals/baseBind.js:56:17)\n at IncomingMessage.emit (events.js:117:20)\n at _stream_readable.js:944:16\n at process._tickCallback (node.js:442:13)\n"}}

kibana.yml file:

root@lablogstash:/opt/kibana/config# cat kibana.yml | grep -v "^#" | grep -v "^$"
server.port: 5601 ""
elasticsearch.url: "http://localhost:9200"
kibana.index: ".kibana"
kibana.defaultAppId: "discover"
logging.dest: /opt/kibana/config/kibana.log
logging.verbose: true

I have no idea how to fix the issue. All previous Kibana installations just created .kibana index with no problem. I have no security plug-ins installed.

Thanks a lot for help.

(Alek) #2

Created .kibana manually. Now kibana process fails because it cannot find mappings. Please, HELP!!!

Thank you,

(Alek) #3

After creating .kibana manually, I started Kibana by running ./kibana and it did create proper mapping. I guess something did not work when I was starting kibana as "nohup" process:

nohup /opt/kibana/bin/kibana &

Interesting... However, now Kibana is running fine.


(Lee Drengenberg) #4

Hi Alek,

I'm glad you got past the problem and have it working now.

I've never started Kibana with nohup. When running on Linux I usually install the deb package and start the service. Can you help me understand the how and why you use nohup to start Kibana?
What OS are you on?
Do you install the package using a package manager, of get the tar.gz and uncompress it (sounds like this one)?

If it's an important use case and there's a problem I want to understand and start testing it that way. And filing bugs if it doesn't work.


(Alek) #5

Hi, Lee.

Thanks a lot for your reply. I used a very old version of Kibana prior to upgrading to the latest one. As far as I remember, I could not start the old version as a service, i.e. in background. So I used to start it with:

Nohup ./kibana &

After I upgraded, I used the same method by habit. However, it did not work.

The previous version was a tar file. The new version was installed as package from .deb file. I use latesr Debian as OS.

Best regards,


Get Outlook for Android

(system) #6