User Tools

Site Tools


wiki:kibana_troubleshooting

Kibana troubleshooting

FATAL Error: Unable to complete saved object migrations for the [.kibana] index: The .kibana alias is pointing to a newer version of Kibana: v7.17.5

Make sure the kibana version matches the elasticsearch version. To find ES version run

curl http://127.0.0.1:9200

If elasticsearch is running on localhost port 9200.

Tested on

  • Kibana migration from 7.10.0 to 7.17.5, with ES already at version 7.17.5
  • Dockerized Kibana 7.10.0
  • Dockerized Elasticsearch

Index migration already running

If you get a similar error like below

...
{"type":"log","@timestamp":"2022-10-10T08:19:10Z","tags":["info","savedobjects-service"],"pid":7,"message":"Creating index .kibana_2."}
{"type":"log","@timestamp":"2022-10-10T08:19:10Z","tags":["info","savedobjects-service"],"pid":7,"message":"Detected mapping change in \"properties.task\""}
{"type":"log","@timestamp":"2022-10-10T08:19:10Z","tags":["error","elasticsearch","data"],"pid":7,"message":"[resource_already_exists_exception]: index [.kibana_2/7OQprmYSRFyDsriszsannw] already exists"}
{"type":"log","@timestamp":"2022-10-10T08:19:10Z","tags":["warning","savedobjects-service"],"pid":7,"message":"Unable to connect to Elasticsearch. Error: resource_already_exists_exception"}
{"type":"log","@timestamp":"2022-10-10T08:19:10Z","tags":["warning","savedobjects-service"],"pid":7,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_2 and restarting Kibana."}
{"type":"log","@timestamp":"2022-10-10T08:19:12Z","tags":["info","savedobjects-service"],"pid":7,"message":"Detected mapping change in \"properties.task\""}
{"type":"log","@timestamp":"2022-10-10T08:19:13Z","tags":["info","savedobjects-service"],"pid":7,"message":"Detected mapping change in \"properties.task\""}
...

it can be resolved by deleting the mentioned index, e.g.

curl -XDELETE 'localhost:9200/.kibana_2?pretty'

Tested on

  • Dockerized Kibana 7.10.0
  • Dockerized Elasticsearch

See also

References

wiki/kibana_troubleshooting.txt · Last modified: 2022/10/10 13:37 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki