# Plugin is incompatible with Elasticsearch \[2.1.0\]. Was designed for version \[2.0.0\]

**URL:** <https://discuss.elastic.co/t/plugin-is-incompatible-with-elasticsearch-2-1-0-was-designed-for-version-2-0-0/36238>\
**Category:** Elasticsearch\
**Created:** [December 3, 2015, 3:06am UTC](https://discuss.elastic.co/t/plugin-is-incompatible-with-elasticsearch-2-1-0-was-designed-for-version-2-0-0/36238 "2015-12-03T03:06:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewwwooster](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@andrewwwooster](https://discuss.elastic.co/u/andrewwwooster)\
**Post date:** [December 3, 2015, 3:06am UTC](https://discuss.elastic.co/t/plugin-is-incompatible-with-elasticsearch-2-1-0-was-designed-for-version-2-0-0/36238/1 "2015-12-03T03:06:48Z")

</div>

I am upgrading my custom plugin (named magellan) from 2.0 to 2.1. But when I try to install the plug-in I get the following error:

```auto
-> Installing from file:/Users/Andrew/Source/Repos/Magellan/magellan-es-plugin/target/releases/magellan-es-plugin-1.0-SNAPSHOT.zip...
Trying file:/Users/Andrew/Source/Repos/Magellan/magellan-es-plugin/target/releases/magellan-es-plugin-1.0-SNAPSHOT.zip ...
Downloading ..................................................................................................................................................................................................................................................................................................................................................................................................DONE
Verifying file:/Users/Andrew/Source/Repos/Magellan/magellan-es-plugin/target/releases/magellan-es-plugin-1.0-SNAPSHOT.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Plugin [magellan] is incompatible with Elasticsearch [2.1.0]. Was designed for version [2.0.0]

```

I recompiled using the 2.1 jar. I also converted my provider constructor signature from:

```auto
 @Inject
 public IndexTagAnalyzerProvider(Index index, @IndexSettings Settings indexSettings,
           Environment env, @Assisted String name, @Assisted Settings settings) throws IOException {
       super(index, indexSettings, name, settings);
  }

```

to

```auto
   @Inject
    public IndexTagAnalyzerProvider(Index index, IndexSettingsService indexSettingsService,
            @Assisted String name, @Assisted Settings settings) {
        super(index, indexSettingsService.indexSettings(), name, settings);
        analyzer.setVersion(version);
    }

```

Where can I find information on:

- What changes do I need to make to a 2.0 plug-in to make it 2.1 compatible?
- How to get more verbose debug from plug install? --verbose did not give me any more info.

---

<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:** [December 3, 2015, 6:04am UTC](https://discuss.elastic.co/t/plugin-is-incompatible-with-elasticsearch-2-1-0-was-designed-for-version-2-0-0/36238/2 "2015-12-03T06:04:46Z")

</div>

You need to update the descriptor file as well.

---

<div class="post-metadata">

**Author:** ![andrewwwooster](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@andrewwwooster](https://discuss.elastic.co/u/andrewwwooster)\
**Post date:** [December 3, 2015, 1:41pm UTC](https://discuss.elastic.co/t/plugin-is-incompatible-with-elasticsearch-2-1-0-was-designed-for-version-2-0-0/36238/3 "2015-12-03T13:41:50Z")

</div>

Thanks David. That was it. I forgot about the plugin-descriptor.properties file.

---

<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:** [July 5, 2017, 11:33pm UTC](https://discuss.elastic.co/t/plugin-is-incompatible-with-elasticsearch-2-1-0-was-designed-for-version-2-0-0/36238/4 "2017-07-05T23:33:52Z")

</div>


