Kibana server is not ready yet

Have a 3 node cluster for elasticsearch on docker
server1(recently upgraded to 7.17.6),
server2(On 7.10.1),
server3(On 7.10.1) and a single Kibana(recently upgraded to 7.17.6) instance on server1. All 3 ES nodes & kibana containers comes up fine.

Error:
Kibana container started fine but frontend throws error "Kibana server is not ready yet".

Troubleshooting steps performed but no luck:
Resolution 1) sudo curl -k -XDELETE https://<Host-Name>:<Kib-PortNo>/*kibana* -u username:password
Output: Kibana server is not ready yet -- On terminal

Resolution 2) Checked Kibana.yml & elasticsearch.yml. Changed to below settings as suggested in a forum.

elasticsearch.yml
network.host: 0.0.0.0

changed kibana.yml From

server.name: kibana
server.host: "0"
elasticsearch.hosts: [ "http://elasticsearch:9200" ]
monitoring.ui.container.elasticsearch.enabled: true

To

server.name: kibana
server.host: "0"
#elasticsearch.hosts: [ "http://elasticsearch:9200" ]
elasticsearch.hosts: 0.0.0.0
monitoring.ui.container.elasticsearch.enabled: true
  1. sudo curl -u username:password https:// <Host_Name>:<elastic_PortNo> -k gives the outcome
 "name" : "<name>",
  "cluster_name" : "<cluster-name>",
  "cluster_uuid" : "<uuid-number>",
  "version" : {
    "number" : "7.17.6",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : " ",
    "build_date" : "",
    "build_snapshot" : false,
    "lucene_version" : "8.11.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },

below docker-compose.yml file for kibana.

version: '2.2'

services:
  kib11:
    image: docker.elastic.co/kibana/kibana:${VERSION}
    container_name: kib11
    ports:
      - 5602:5601
    environment:
      SERVERNAME: localhost
      ELASTICSEARCH_URL: https://<>: 9200
      ELASTICSEARCH_HOSTS: https://<>: 9200
      ELASTICSEARCH_USERNAME: <>
      ELASTICSEARCH_PASSWORD: <>
      ELASTICSEARCH_SSL_CERTIFICATE_AUTHORITIES: <>
      ELASTICSEARCH_SSL_VERIFICATIONMODE: none
      SERVER_SSL_ENABLED: "true"
      SERVER_SSL_KEYSTORE_PATH: <>
    volumes:
      - kib-config:/usr/share/kibana/config
      - kib-data:/usr/share/kibana/data
      - kib-log:/usr/share/kibana/logs
    networks:
      - elastic

Check /usr/share/kibana/logs

Why are you running mixed versions like this?

don't see kibana folder under /usr/share/. There is another at location <....>/kib11/log/ but no file in it.

I get another error while trying to upgrade server2 so I'm stuck in the middle of upgrade.
Server1 upgrade went fine without any other error except this on kibana.

I think we should start with solving this issue. Could you please paste it here?

you can check in your Kibana.yml where your logs are being saved. it could be /kibana/logs

don't see the location as mentioned. someone asked to check the logs in /var/log/messages. not sure if it captures.
P.S. The issue in description is resolved but still would be interested if it's the right location. Thanks

Thanks, Resolved the issue on server2 and upgraded all nodes fine to 7.17.6. Later 'Kibana server is not ready yet' got resolved as well. so may be Kibana lookes for all nodes to be on the same upgraded version for it to be up.Thanks

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