Upgrade to ES 7.15.2 and Kibana not working

I have upgraded ES/Kibana/Logstash from v7.62. to v7.15.2.
All installations are success but KIBANA services started with error.

Can someone help me with the below error? I have no idea how to resolved it.

Kibana log
{"type":"log","@timestamp":"2021-12-07T16:42:21+08:00","tags":["error","savedobjects-service"],"pid":2031,"message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]"}

Thanks for replying. ES cluster is working now. But Kibana is not working.....the web show "server is not ready yet".

You should ask this question in the Elasticsearch section as it looks like there may be a problem with your cluster and not with logstash.

What is the output from calling ELKNode:9200/?

you'r right...I delete old version xpack license. And ES cluster is working!! However, Kibana still not work...

When I upgraded ES successfully, it is output below message.

{
"name": "ELKNode:9200",
"cluster_name": "elk1",
"cluster_uuid": "PameJ7p",
"version": {
"number": "7.15.2",
"build_flavor": "default",
"build_type": "deb",
"build_hash": "93d5a7f6192e8",
"build_date": "2021-11-04T14:04:42.515624022Z",
"build_snapshot": false,
"lucene_version": "8.9.0",
"minimum_wire_compatibility_version": "6.8.0",
"minimum_index_compatibility_version": "6.0.0-beta1"
},
"tagline": "You Know, for Search"
}

You should try to restart Kibana then. If it's not working please post the log from when the process starts to whatever the latest entry is.

I have restarted Kibana many times...not working
message as below >_<

{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["warning","plugins","alerting"],"pid":1146,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["info","plugins","ruleRegistry"],"pid":1146,"message":"Write is disabled; not installing common resources shared between all indices"}
{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["info","plugins","ruleRegistry"],"pid":1146,"message":"Write is disabled; not installing resources for index .alerts-observability.uptime.alerts"}
{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["info","plugins","ruleRegistry"],"pid":1146,"message":"Write is disabled; not installing resources for index .alerts-observability.logs.alerts"}
{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["info","plugins","ruleRegistry"],"pid":1146,"message":"Write is disabled; not installing resources for index .alerts-observability.metrics.alerts"}
{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["info","plugins","ruleRegistry"],"pid":1146,"message":"Write is disabled; not installing resources for index .alerts-observability.apm.alerts"}
{"type":"log","@timestamp":"2021-12-08T09:04:16+08:00","tags":["info","savedobjects-service"],"pid":1146,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-12-08T09:04:17+08:00","tags":["error","savedobjects-service"],"pid":1146,"message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]"}

Kibana.yml

elasticsearch.requestTimeout: 300000
server.host: "0.0.0.0"
elasticsearch.hosts: ["https://ELKMASTER:9200"]
logging.dest: stdout
#xpack.security.enabled: true
elasticsearch.ssl.verificationMode: full

server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/2022.crt
server.ssl.key: /etc/kibana/2022.key

Take a look at Configure Kibana | Kibana Guide [8.11] | Elastic

Specifically - elasticsearch.username: and elasticsearch.password:

1 Like

OMG....It's work now!!!!!!!!!
Thanks for your helping!!!

2 Likes

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