# Plugin \[x-pack-security\] is incompatible with version \[6.2.4\]; was designed for version \[6.2.3\]

**URL:** https://discuss.elastic.co/t/plugin-x-pack-security-is-incompatible-with-version-6-2-4-was-designed-for-version-6-2-3/129319
**Category:** Elasticsearch
**Created:** [April 24, 2018, 2:11pm UTC](https://discuss.elastic.co/t/plugin-x-pack-security-is-incompatible-with-version-6-2-4-was-designed-for-version-6-2-3/129319 "2018-04-24T14:11:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mguttula](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mguttula/32/78256_2.png) [@mguttula](https://discuss.elastic.co/u/mguttula)
#### Post date: [April 24, 2018, 2:11pm UTC](https://discuss.elastic.co/t/plugin-x-pack-security-is-incompatible-with-version-6-2-4-was-designed-for-version-6-2-3/129319/1 "2018-04-24T14:11:30Z")

</div>

Hi,  
I have upgrade ELK to 6.2.3 couple of weeks back. As part of Linux OS patching (I think), the Elasticsearch is upgraded to 6.2.4 and Elasticsearch is not coming up. ELK log file (lpl-elk.log) has below error:

[root@d01nsvl-aelkt01 elasticsearch]# vi lpl-elk.log  
[2018-04-23T12:18:27,241][ERROR][o.e.b.Bootstrap] Exception  
java.lang.IllegalArgumentException: plugin [x-pack-security] is incompatible with version [6.2.4]; was designed for version [6.2.3]  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:237) ~[elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:184) ~[elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Spawner.spawnNativePluginControllers(Spawner.java:75) ~[elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) [elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) [elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) [elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.2.4.jar:6.2.4]  
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-6.2.4.jar:6.2.4]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) [elasticsearch-6.2.4.jar:6.2.4]

I have reindex all the indices as part of 6.2.3 upgrade.

Questions:

1. How do we avoid the automatic upgrade of ELK as part of OS patching?
2. Is there was way to fix this issue without removal and installing x-pack? If not,
3. What all I have to do so that I don’t loose our data before removal and installation of x-pack?

Thanks,  
Mohan

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [April 27, 2018, 2:42pm UTC](https://discuss.elastic.co/t/plugin-x-pack-security-is-incompatible-with-version-6-2-4-was-designed-for-version-6-2-3/129319/2 "2018-04-27T14:42:19Z")

</div>

You need to uninstall and install the `x-pack` plugin. Removing and uninstalling a plugin does not lead to loosing your data - why do you think so?

Most package managers support the pinning of packages, so that those packages need to be upgraded manually.

---

<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: [May 25, 2018, 2:47pm UTC](https://discuss.elastic.co/t/plugin-x-pack-security-is-incompatible-with-version-6-2-4-was-designed-for-version-6-2-3/129319/3 "2018-05-25T14:47:18Z")

</div>

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