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","resource.id":".kibana"}],"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","resource.id":".kibana"},"node_env":"production","error":{"message":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","resource.id":".kibana"}],"type":"index_not_found_exception","reason":"no such index","index":".kibana","resource.type":"index_or_alias","resource.id":".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
server.host: "127.0.0.1"
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.