Kibana启动失败问题处理

启动本地Kibana连接测试环境ElasticSearch,启动报错:

[warning][migrations] 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_37 and restarting Kibana.

根据日志提示信息,有另一个Kibana示例在合并索引,等待合并完成。如果确定没有实例,可忽略该信息,删除.kibana_37索引并重启Kibana

通过Postman工具,执行DELETE http://ip:port/.kibana_37删除索引。

重启Kibana仍然失败,报错日志:

output:
   { statusCode: 422,
     payload:
      { statusCode: 422,
        error: 'Unprocessable Entity',
        message:
         'Document "a9f8ad60-b8f1-11ee-8779-7b8b538205d4" has property "search" which belongs to a more recent version of Kibana (7.4.0).' },
     headers: {} }
 FATAL  Error: Document "a9f8ad60-b8f1-11ee-8779-7b8b538205d4" has property "search" which belongs to a more recent version of Kibana (7.4.0).

查询资料了解,Kibana会使用.kibana开头的系统索引,存储到ElasticSearch供界面相关功能使用,提示信息看上去是索引写入因版本不兼容报错。
ElasticSearch版本为7.4.0,Kibana版本为7.3.2。

通过https://mirrors.huaweicloud.com/kibana/7.4.0/下载7.4.0版本的Kibana
停止低版本Kibana实例,并拷贝config/kibana.yml里内容,重启新版本Kibana,启动成功并且通过Web界面访问功能正常。

参考

posted @ 2024-02-19 21:29  cdfive  阅读(212)  评论(0编辑  收藏  举报