# Kibana server failed to start

**URL:** <https://discuss.elastic.co/t/kibana-server-failed-to-start/202979>\
**Category:** Kibana\
**Created:** [October 10, 2019, 8:39am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979 "2019-10-10T08:39:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alecz](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@alecz](https://discuss.elastic.co/u/alecz)\
**Post date:** [October 10, 2019, 8:39am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/1 "2019-10-10T08:39:13Z")

</div>

Could you please help check below error?  
Thank you in advance.

LOG

{"type":"log","@timestamp":"2019-10-10T08:10:06Z","tags":["info","migrations"],"pid":9,"message":"Creating index .kibana\_1."}  
{"type":"log","@timestamp":"2019-10-10T08:10:06Z","tags":\*\*info","Sentinl","init\_indices"],"pid":9,"message":"creating .kibana index ..."}  
{"type":"log","@timestamp":"2019-10-10T08:10:07Z","tags":["info","migrations"],"pid":9,"message":"Pointing alias .kibana to .kibana\_1."}  
{"type":"log","@timestamp":"2019-10-10T08:10:07Z","tags":["info","Sentinl","init\_indices"],"pid":9,"message":"checking watcher\_alarms-2019.10.10 index ..."}  
{"type":"log","@timestamp":"2019-10-10T08:10:07Z","tags":["info","Sentinl","init\_indices"],"pid":9,"message":"creating watcher\_alarms-2019.10.10 index ..."}  
{"type":"error","@timestamp":"2019-10-10T08:10:07Z","tags":["fatal","root"],"pid":9,"level":"fatal","error":{"message":"[invalid\_alias\_name\_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index\_uuid="LU9AvG3BQ0av3eawyiPf6w" & index=".kibana" }","name":"Error","stack":"[invalid\_alias\_name\_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index\_uuid="LU9AvG3BQ0av3eawyiPf6w" & index=".kibana" } :: {"path":"/\_aliases","query":{},"body":"{\"actions\":[{\"add\":{\"index\":\".kibana\_1\",\"alias\":\".kibana\"}}]}","statusCode":400,"response":"{\"error\":{\"root\_cause\":[{\"type\":\"invalid\_alias\_name\_exception\",\"reason\":\"Invalid alias name [.kibana], an index exists with the same name as the alias\",\"index\_uuid\":\"LU9AvG3BQ0av3eawyiPf6w\",\"index\":\".kibana\"}],\"type\":\"invalid\_alias\_name\_exception\",\"reason\":\"Invalid alias name [.kibana], an index exists with the same name as the alias\",\"index\_uuid\":\"LU9AvG3BQ0av3eawyiPf6w\",\"index\":\".kibana\"},\"status\":400}"}\n at respond (/usr/share/kibana/node\_modules/elasticsearch/src/lib/transport.js:308:15)\n at checkRespForFailure (/usr/share/kibana/node\_modules/elasticsearch/src/lib/transport.js:267:7)\n at HttpConnector. (/usr/share/kibana/node\_modules/elasticsearch/src/lib/connectors/http.js:165:7)\n at IncomingMessage.wrapper (/usr/share/kibana/node\_modules/elasticsearch/node\_modules/lodash/lodash.js:4949:19)\n at emitNone (events.js:111:20)\n at IncomingMessage.emit (events.js:208:7)\n at endReadableNT (\_stream\_readable.js:1064:12)\n at \_combinedTickCallback (internal/process/next\_tick.js:139:11)\n at process.\_tickCallback (internal/process/next\_tick.js:181:9)"},"message":"[invalid\_alias\_name\_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index\_uuid="LU9AvG3BQ0av3eawyiPf6w" & index=".kibana" }"}

FATAL [invalid\_alias\_name\_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index\_uuid="LU9AvG3BQ0av3eawyiPf6w" & index=".kibana" } :: {"path":"/\_aliases","query":{},"body":"{"actions":[{"add":{"index":".kibana\_1","alias":".kibana"}}]}","statusCode":400,"response":"{"error":{"root\_cause":[{"type":"invalid\_alias\_name\_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index\_uuid":"LU9AvG3BQ0av3eawyiPf6w","index":".kibana"}],"type":"invalid\_alias\_name\_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index\_uuid":"LU9AvG3BQ0av3eawyiPf6w","index":".kibana"},"status":400}"}

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 10, 2019, 6:59pm UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/2 "2019-10-10T18:59:33Z")

</div>

What version of Kibana are you running and where did you download it from? If you're upgrading, what version are you upgrading from?

Can you also provide the following results from elasticsearch:

- [http://localhost:9200/\_cat/indices/.kibana\*](http://localhost:9200/_cat/indices/.kibana*)
- [http://localhost:9200/\_cat/aliases/.kibana\*](http://localhost:9200/_cat/aliases/.kibana*)

---

<div class="post-metadata">

**Author:** ![alecz](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@alecz](https://discuss.elastic.co/u/alecz)\
**Post date:** [October 11, 2019, 1:00am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/3 "2019-10-11T01:00:29Z")

</div>

Hi,  
Thanks for your response.

_Kibana version:_  
bash-4.2$ kibana --version  
6.5.4

_Elasticsearch version:_  
"version" : {  
"number" : "6.5.4",

_There is no upgrade._

_Docker environment_

# curl -XGET [https://10.254.13.99:9200/\_cat/aliases/.kibana\*](https://10.254.13.99:9200/_cat/aliases/.kibana*)

//no alias. it may be caused by pointing alias to index unsuccessfully.

# curl -XGET [https://10.254.13.99:9200/\_cat/indices/.kibana\*](https://10.254.13.99:9200/_cat/indices/.kibana*)

green open .kibana\_1 9YgQDYZ6QF23i5CC6PN0KQ 1 0 0 0 261b 261b  
yellow open .kibana\_viewer BNOMWT2cTDyFmw-R4EAIAA 5 1 360 0 643kb 643kb  
yellow open .kibana LU9AvG3BQ0av3eawyiPf6w 5 1 376 0 879.3kb 879.3kb

# 

_Reproduce step_

1. helm install es
2. helm install kibana
3. kubectl logs kibana-pod, we will see above error.

Migration would like porints .kibana alias to .kibana\_1 index, but an index exists with the same name as the alias.  
Sentinl created .kibana index before migration point .kibana alias to .kibana\_1 index.

_LOG_  
["info","migrations"],"pid":9,"message":"Creating index .kibana\_1."}  
{"type":"log","@timestamp":"2019-10-10T08:10:06Z","tags":\*\*info","Sentinl","init\_indices"],"pid":9,"message":"creating .kibana index ..."}  
{"type":"log","@timestamp":"2019-10-10T08:10:07Z","tags":["info","migrations"],"pid":9,"message":"Pointing alias .kibana to .kibana\_1."}

Should migratioin check the alias before pointing to index?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 11, 2019, 1:11am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/4 "2019-10-11T01:11:53Z")

</div>

Couple questions:

Are you using these helm charts? [https://github.com/elastic/helm-charts/](https://github.com/elastic/helm-charts/)  
Do you have something that also created a Kibana index?  
Do you have a Kibana plugin you're using?  
Where did `.kibana_viewer` from?

This is all pretty strange. If you're installing 6.5.4 fresh, than you shouldn't have a `.kibana`. Additionally, if you were coming from a previous version where you did have a `.kibana`, the migration would create `.kibana_1`, which was a copy, then `.kibana_2` which was the migrations. Then we create the alias and atomically delete `.kibana`.

---

<div class="post-metadata">

**Author:** ![alecz](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@alecz](https://discuss.elastic.co/u/alecz)\
**Post date:** [October 11, 2019, 1:18am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/5 "2019-10-11T01:18:17Z")

</div>

we made change in helm chart.

Sentinl plugin creates .kibana index.  
pls see below log  
{"type":"log","@timestamp":"2019-10-10T08:10:06Z","tags":\*\*info","Sentinl","init\_indices"],"pid":9,"message":"creating .kibana index ..."}

my question is .kibana index shoud be created by any plugin?

i will have check where .kibana\_view comes from.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 11, 2019, 1:21am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/6 "2019-10-11T01:21:10Z")

</div>

No, that's not going to work. A plugin shouldn't be creating the index, that's going to create all sorts of issues. We provide an API for plugins to persist data through Elasticsearch, or they can use our import/export API.

---

<div class="post-metadata">

**Author:** ![alecz](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@alecz](https://discuss.elastic.co/u/alecz)\
**Post date:** [October 11, 2019, 8:52am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/7 "2019-10-11T08:52:13Z")

</div>

Thanks for your information.

---

<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:** [November 8, 2019, 8:52am UTC](https://discuss.elastic.co/t/kibana-server-failed-to-start/202979/8 "2019-11-08T08:52:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
