# Exceptions after upgrading elasticsearch

**URL:** https://discuss.elastic.co/t/exceptions-after-upgrading-elasticsearch/84680
**Category:** Elasticsearch
**Created:** [May 5, 2017, 9:02am UTC](https://discuss.elastic.co/t/exceptions-after-upgrading-elasticsearch/84680 "2017-05-05T09:02:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nbrys](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nbrys/32/17374_2.png) [@nbrys](https://discuss.elastic.co/u/nbrys)
#### Post date: [May 5, 2017, 9:02am UTC](https://discuss.elastic.co/t/exceptions-after-upgrading-elasticsearch/84680/1 "2017-05-05T09:02:13Z")

</div>

I got the following exceptions after upgrading elasticsearch to 5.4.0

Caused by: java.lang.IllegalArgumentException: plugin [ingest-user-agent] is incompatible with version [5.4.0]; was designed for version [5.3.0]  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:146) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Spawner.spawnNativePluginControllers(Spawner.java:86) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:360) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.4.0.jar:5.4.0]  
... 6 more

After seeing these exceptions i did the following:

root@elk-production:/usr/share/elasticsearch/bin# ./elasticsearch-plugin remove ingest-geoip  
-\> removing [ingest-geoip]...  
-\> preserving plugin config files [/etc/elasticsearch/ingest-geoip] in case of upgrade; delete manually if not needed  
root@elk-production:/usr/share/elasticsearch/bin# ./elasticsearch-plugin install ingest-geoip  
-\> Downloading ingest-geoip from elastic  
[=================================================] 100%  
Exception in thread "main" java.lang.IllegalArgumentException: plugin [ingest-user-agent] is incompatible with version [5.4.0]; was designed for version [5.3.0]  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:146)  
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:314)  
at org.elasticsearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:470)  
at org.elasticsearch.plugins.InstallPluginCommand.verify(InstallPluginCommand.java:452)  
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:495)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:215)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:199)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.Command.main(Command.java:88)  
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

So it seems like this plugin is not compatible?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 2, 2017, 9:16am UTC](https://discuss.elastic.co/t/exceptions-after-upgrading-elasticsearch/84680/2 "2017-06-02T09:16:31Z")

</div>

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