# Can't upgrade x-pack and ingest-geoip to 6.2

**URL:** <https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090>\
**Category:** Elasticsearch\
**Created:** [February 8, 2018, 4:35pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090 "2018-02-08T16:35:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![coda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/coda/32/9930_2.png) [@coda](https://discuss.elastic.co/u/coda)\
**Post date:** [February 8, 2018, 4:35pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090/1 "2018-02-08T16:35:38Z")

</div>

If I try to install x-pack it fails saying that it's incompatible. If I try to remove x-pack to install 6.2 and it says it's incompatible also:

```auto
/usr/share/elasticsearch# ES_PATH_CONF=/etc/elasticsearch bin/elasticsearch-plugin remove x-pack
Exception in thread "main" java.lang.IllegalArgumentException: plugin [x-pack] is incompatible with version [6.2.0]; was designed for version [6.1.3]
        at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:224)
        at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:329)
        at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:89)
        at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:67)
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
        at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
        at org.elasticsearch.cli.Command.main(Command.java:90)
        at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)

```

Please help ☹

---

<div class="post-metadata">

**Author:** ![coda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/coda/32/9930_2.png) [@coda](https://discuss.elastic.co/u/coda)\
**Post date:** [February 8, 2018, 4:45pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090/2 "2018-02-08T16:45:55Z")

</div>

I had to downgrade elasticsearch to 6.1.3, uninstal both plugins, upgrade to 6.2 and install them again.. really annoying.. ☹

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [February 8, 2018, 4:47pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090/3 "2018-02-08T16:47:11Z")

</div>

did you specify `--purge` when uninstalling?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 8, 2018, 4:48pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090/4 "2018-02-08T16:48:16Z")

</div>

See

> <https://github.com/elastic/elasticsearch/issues/28538>

And [How to downgrade ES from 6.2 to 6.1.3](https://discuss.elastic.co/t/how-to-downgrade-es-from-6-2-to-6-1-3/118904)

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [February 8, 2018, 5:23pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090/5 "2018-02-08T17:23:34Z")

</div>

We shipped [Elasticsearch 6.2.1](https://www.elastic.co/blog/elasticsearch-6-2-1-released) today with a fix for this [issue](https://github.com/elastic/elasticsearch/issues/28538).

---

<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:** [March 8, 2018, 5:23pm UTC](https://discuss.elastic.co/t/cant-upgrade-x-pack-and-ingest-geoip-to-6-2/119090/6 "2018-03-08T17:23:35Z")

</div>

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