0

我将 ElasticSearch 5.4.1 更新到 5.6.3 但是当我想运行它时出现一些错误并且不知道如何解决它!

Starting laradock_applications_1 ...
Starting laradock_applications_1 ... done
laradock_workspace_1 is up-to-date
laradock_php-fpm_1 is up-to-date
Recreating laradock_elasticsearch_1 ...
Recreating laradock_elasticsearch_1 ... done
Attaching to laradock_elasticsearch_1
elasticsearch_1        | [2018-02-14T05:45:40,907][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
elasticsearch_1        | org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: plugin [ingest-geoip] is incompatible with version [5.6.3]; was designed for version [5.4.1]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        | Caused by: java.lang.IllegalArgumentException: plugin [ingest-geoip] is incompatible with version [5.6.3]; was designed for version [5.4.1]
elasticsearch_1        |        at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:146) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Spawner.spawnNativePluginControllers(Spawner.java:76) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:168) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.3.jar:5.6.3]
elasticsearch_1        |        ... 6 more
laradock_elasticsearch_1 exited with code 1

我该如何解决?:(

4

2 回答 2

0

在我的情况下,删除弹性搜索容器使用的卷解决了它。当然,它会删除您的数据,因此您必须先进行备份。

于 2018-03-06T15:22:06.610 回答
0
plugin [ingest-geoip] is incompatible with version [5.6.3]; was designed for version [5.4.1]

看看这条消息,它是直截了当的。我可以假设删除ingest-geoip 插件可以解决问题。

这是如何做到的

于 2018-02-14T06:45:58.970 回答