# Kibana Shard Issue

**URL:** https://discuss.elastic.co/t/kibana-shard-issue/263203
**Category:** Kibana
**Created:** [February 4, 2021, 7:17am UTC](https://discuss.elastic.co/t/kibana-shard-issue/263203 "2021-02-04T07:17:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_J1996](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@Daniel\_J1996](https://discuss.elastic.co/u/Daniel_J1996)
#### Post date: [February 4, 2021, 7:17am UTC](https://discuss.elastic.co/t/kibana-shard-issue/263203/1 "2021-02-04T07:17:43Z")

</div>

Hey all,

I'm trying to build a test cluster pertaining to 1 master node and 2 data nodes. The master node runs elasticsearch and Kibana while the other two nodes only run elasticsearch. I am running into an issue with Kibana where it only shows the following error:

Kibana server is not ready yet

I checked the logs using journalctl -xe and the initial problem I saw was that the .kibana\_1 and .kibana\_task\_manager\_1 needed to be removed and kibana needed to be restarted. I removed those indices and now I see the following error outputted by Kibana:

`kibana[15543]: {"type":"log","@timestamp":"2021-02-04T07:11:10Z","tags":["error","elasticsearch","data"],"pid":15543,"message":"[search_phase_execution_exception]: all shards failed"}`

Here is the output to the /\_cat/indices command:

```auto
red open .apm-custom-link 9DO_YCXKSo2WtqC3gUwRiw 1 1    
red open .kibana_task_manager_1 nbVlHINHQhypvQgJ5SuXrQ 1 1    
red open .apm-agent-configuration 6o3KlrSwQ76V7lCIw2_7bQ 1 1    
red open .kibana_1 xtfQb5A-Ta6Hbb65tNGl4g 1 1    
red open .kibana-event-log-7.10.2-000001 rYRJYmH0QaO41h81e4c_iQ 1 1

```

And the /\_cat/health command:

```auto
1612422784 07:13:04 ES_Test red 1 0 0 0 0 0 11 0 - 0.0%

```

Elasticsearch.yml from master:

```auto
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
network.host: [_local_, _site_]
#
# Set a custom port for HTTP:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
discovery.seed_hosts: ["x.x.x.x"] (x.x.x.x denotes the master node IP)
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes: ["master-1"]
#
# For more information, consult the discovery and cluster formation module documentation.
#

kibana.yml from master:

# Kibana is served by a back end server. This setting specifies the port to use.
server.port: 5601

# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
server.host: "master-1"

# Enables you to specify a path to mount Kibana at if you are running behind a proxy.
# Use the `server.rewriteBasePath` setting to tell Kibana if it should remove the basePath
# from requests it receives, and to prevent a deprecation warning at startup.
# This setting cannot end in a slash.
#server.basePath: ""

# Specifies whether Kibana should rewrite requests that are prefixed with
# `server.basePath` or require that they are rewritten by your reverse proxy.
# This setting was effectively always `false` before Kibana 6.3 and will
# default to `true` starting in Kibana 7.0.
#server.rewriteBasePath: false

# The maximum payload size in bytes for incoming server requests.
#server.maxPayloadBytes: 1048576

# The Kibana server's name. This is used for display purposes.
server.name: "master-1"

# The URLs of the Elasticsearch instances to use for all your queries.
elasticsearch.hosts: ["http://localhost:9200"]

# Kibana uses an index in Elasticsearch to store saved searches, visualizations and
# dashboards. Kibana creates a new index if the index doesn't already exist.
#kibana.index: ".kibana"

# The default application to load.
#kibana.defaultAppId: "home"

```

I have been unable to find a forum for this issue, so any guidance here would be greatly appreciated. Let me know if you need more information from me.

Thanks so much,

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [February 4, 2021, 4:23pm UTC](https://discuss.elastic.co/t/kibana-shard-issue/263203/2 "2021-02-04T16:23:56Z")

</div>

Did you perform an upgrade from an earlier version?

Is it possible for you to delete all indices, restart all Kibana & ES nodes?

---

<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: [March 4, 2021, 4:24pm UTC](https://discuss.elastic.co/t/kibana-shard-issue/263203/3 "2021-03-04T16:24:07Z")

</div>

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