# Kibana server is not ready yet

**URL:** https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212
**Category:** Kibana
**Created:** [September 28, 2020, 2:56pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212 "2020-09-28T14:56:35Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Israel\_Braga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/israel_braga/32/46368_2.png) [@Israel\_Braga](https://discuss.elastic.co/u/Israel_Braga)
#### Post date: [September 28, 2020, 2:56pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/1 "2020-09-28T14:56:35Z")

</div>

After upgrade elk to 7.9.2:

root@log:/# systemctl status kibana  
● kibana.service - Kibana  
Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)  
Active: active (running) since Mon 2020-09-28 10:06:25 -03; 1h 45min ago  
Main PID: 9089 (node)  
Tasks: 11 (limit: 4915)  
Memory: 1016.2M  
CGroup: /system.slice/kibana.service  
└─9089 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli

set 28 10:07:54 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:54Z","tags":["warning","plugins","reporting","config"],"pid":9089,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent sessions fr  
set 28 10:07:54 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:54Z","tags":["warning","plugins","encryptedSavedObjects","config"],"pid":9089,"message":"Generating a random key for xpack.encryptedSavedObjects.encryptionKey  
set 28 10:07:54 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:54Z","tags":["warning","plugins","ingestManager"],"pid":9089,"message":"Fleet APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral e  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["warning","plugins","actions","actions"],"pid":9089,"message":"APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral enc  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["warning","plugins","alerts","plugins","alerting"],"pid":9089,"message":"APIs are disabled due to the Encrypted Saved Objects plugin using an eph  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["info","plugins","monitoring","monitoring"],"pid":9089,"message":"config sourced from: production cluster"}  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["info","savedobjects-service"],"pid":9089,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objec  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["info","savedobjects-service"],"pid":9089,"message":"Starting saved objects migrations"}  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["warning","plugins","reporting","config"],"pid":9089,"message":"Chromium sandbox provides an additional layer of protection, but is not supported  
set 28 10:07:55 log kibana[9089]: {"type":"log","@timestamp":"2020-09-28T13:07:55Z","tags":["warning","savedobjects-service"],"pid":9089,"message":"Unable to connect to Elasticsearch. Error: [search\_phase\_execution\_exception] all shards  
lines 1-19/19 (END)

---

<div class="post-metadata">

### Author: ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)
#### Post date: [September 28, 2020, 3:09pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/2 "2020-09-28T15:09:09Z")

</div>

> [@Israel\_Braga](#):
>
> message":"Unable to connect to Elasticsearch. Error: [search\_phase\_execution\_exception] all shards  
> lines 1-19/19 (END)

It looks like your Kibana cannot access Elasticsearch, can you check that part?

Best,  
Oleg

---

<div class="post-metadata">

### Author: ![Israel\_Braga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/israel_braga/32/46368_2.png) [@Israel\_Braga](https://discuss.elastic.co/u/Israel_Braga)
#### Post date: [September 28, 2020, 3:29pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/3 "2020-09-28T15:29:21Z")

</div>

exactly! my elk was working pretty good, but when i decided to upgrade it. It started to fail. elastic and logstsh are working, but kibana cannot connect to elastic.

Do you know if is this due to different versions of them? how can i fix it?

---

<div class="post-metadata">

### Author: ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)
#### Post date: [September 28, 2020, 3:38pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/4 "2020-09-28T15:38:15Z")

</div>

> Do you know if is this due to different versions of them?

Well, Kibana and ES versions should match, see [Support Matrix | Elastic](https://www.elastic.co/support/matrix#matrix_compatibility). But it's hard to tell what the actual failure reason in your case is without full debug logs and configuration. Usually Kibana tells in the logs that it detected wrong ES version, but `Error: [search_phase_execution_exception` bit likely means the issue is somewhere else. Try to enable `--logging.verbose: true` and see what you can notice in the logs, feel free to share them here as well (once you remove all sensitive info from there).

Best,  
Oleg

---

<div class="post-metadata">

### Author: ![Israel\_Braga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/israel_braga/32/46368_2.png) [@Israel\_Braga](https://discuss.elastic.co/u/Israel_Braga)
#### Post date: [September 28, 2020, 5:33pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/5 "2020-09-28T17:33:24Z")

</div>

Hi, oleg!  
Does it help? thank you!

set 28 14:15:37 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:37Z","tags":["debug","plugins","fileUpload"],"pid":16245,"message":""/usr/share/kibana/x-pack/plugins/file\_upload/server" does not export "config"."}  
set 28 14:15:37 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:37Z","tags":["debug","config"],"pid":16245,"message":"Marking config path as handled: xpack,eventLog"}  
set 28 14:15:38 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:38Z","tags":["debug","config"],"pid":16245,"message":"Marking config path as handled: xpack,graph"}  
set 28 14:15:38 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:38Z","tags":["debug","plugins","grokdebugger"],"pid":16245,"message":""/usr/share/kibana/x-pack/plugins/grokdebugger/server" does not export "config"."}  
set 28 14:15:39 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:39Z","tags":["debug","config"],"pid":16245,"message":"Marking config path as handled: xpack,index\_management"}  
set 28 14:15:39 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:39Z","tags":["debug","plugins","globalSearchProviders"],"pid":16245,"message":""/usr/share/kibana/x-pack/plugins/global\_search\_providers/server" does not e  
set 28 14:15:39 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:39Z","tags":["debug","plugins","ingestPipelines"],"pid":16245,"message":""/usr/share/kibana/x-pack/plugins/ingest\_pipelines/server" does not export "confi  
set 28 14:15:45 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:45Z","tags":["debug","config"],"pid":16245,"message":"Marking config path as handled: xpack,infra"}  
set 28 14:15:45 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:45Z","tags":["debug","config"],"pid":16245,"message":"Marking config path as handled: xpack,ilm"}  
set 28 14:15:46 log kibana[16245]: {"type":"log","@timestamp":"2020-09-28T17:15:46Z","tags":["debug","config"],"pid":16245,"message":"Marking config path as handled: xpack,lens"}

---

<div class="post-metadata">

### Author: ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)
#### Post date: [September 29, 2020, 6:32am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/6 "2020-09-29T06:32:56Z")

</div>

> [@Israel\_Braga](#):
>
> Hi, oleg!  
> Does it help? thank you!

Nope, unfortunately. It just excerpt from the logs, we really need a _full_ log, from the start of the KIbana till a couple of minutes later to make sure it tried to bootstrap and stuck and not just slowly bootstrapping.

Best,  
Oleg

---

<div class="post-metadata">

### Author: ![Israel\_Braga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/israel_braga/32/46368_2.png) [@Israel\_Braga](https://discuss.elastic.co/u/Israel_Braga)
#### Post date: [September 29, 2020, 1:47pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/7 "2020-09-29T13:47:21Z")

</div>

Ok, sorry! I'm new with these tools, but now i got it. here we go... I stopped ELK and then started in the following order: first elastic, kibana and logstash.

the following doc contains the logs after minutes that i started the services.

> **[logs\_israel](https://docs.google.com/document/d/1ZQpZ8ZwTuUJ45ui9WraGy_LH6BoC2B6_r0Xd8bwP8dk/edit?usp=sharing)**
>
> Sep 29 10:29:00 log systemd\[1\]: Started Elasticsearch. Sep 29 10:29:06 log metricbeat\[560\]: 2020-09-29T10:29:06.115-0300#011ERROR#011\[publisher\_pipeline\_output\]#011pipeline/output.go:154#011Failed to connect to...

Any idea?

---

<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: [October 27, 2020, 1:47pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/250212/8 "2020-10-27T13:47:25Z")

</div>

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