# Install elasticsearch-mapper-attachments plugin failed

**URL:** <https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511>\
**Category:** Elasticsearch\
**Created:** [February 23, 2016, 4:01pm UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511 "2016-02-23T16:01:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlosq](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@carlosq](https://discuss.elastic.co/u/carlosq)\
**Post date:** [February 23, 2016, 4:01pm UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/1 "2016-02-23T16:01:48Z")

</div>

when I try to install elasticsearch/elasticsearch-mapper-attachments/3.1.2 for elasticsearch version 2.2.0,  
I got following error:  
ERROR: Plugin [mapper-attachments] is incompatible with Elasticsearch [2.2.0]. Was designed for version [2.1.2]

so which version should be used for elasticsearch version 2.2.0?

---

<div class="post-metadata">

**Author:** ![carlosq](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@carlosq](https://discuss.elastic.co/u/carlosq)\
**Post date:** [February 23, 2016, 4:17pm UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/2 "2016-02-23T16:17:39Z")

</div>

problem has been solved.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 23, 2016, 6:51pm UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/3 "2016-02-23T18:51:25Z")

</div>

How did you solve it?

---

<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 24, 2016, 1:29am UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/4 "2016-02-24T01:29:13Z")

</div>

I guess:

```
  bin/plugin install mapper-attachments
```

---

<div class="post-metadata">

**Author:** ![carlosq](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@carlosq](https://discuss.elastic.co/u/carlosq)\
**Post date:** [February 25, 2016, 3:19pm UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/5 "2016-02-25T15:19:50Z")

</div>

Yes, it is. Thanks!

---

<div class="post-metadata">

**Author:** ![Adrian\_M](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Adrian\_M](https://discuss.elastic.co/u/Adrian_M)\
**Post date:** [December 11, 2016, 2:58am UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/6 "2016-12-11T02:58:32Z")

</div>

I tried installing a plugin (on 1 windows box) mapper-attachments plugin on ES 1.7: plugin.bat install mapper-attachments  
(also from zip file too as well as unzipping and placing the contents in plugins/mapper-attachments)

The error I get:

C:\el\elasticsearch-1.7.3\elasticsearch-1.7.3\bin\>plugin install mapper-attachments --verbose  
-\> Installing mapper-attachments...  
Trying [https://github.com/null/mapper-attachments/archive/master.zip](https://github.com/null/mapper-attachments/archive/master.zip)...  
Failed: IOException[Can't get [https://github.com/null/mapper-attachments/archive](https://github.com/null/mapper-attachments/archive)  
/master.zip to C:\el\elasticsearch-1.7.3\elasticsearch-1.7.3\plugins\mapper-atta  
chments.zip]; nested: FileNotFoundException[[https://github.com/null/mapper-attac](https://github.com/null/mapper-attac)  
hments/archive/master.zip]; nested: FileNotFoundException[[https://github.com/nul](https://github.com/nul)  
l/mapper-attachments/archive/master.zip];  
Failed to install mapper-attachments, reason: failed to download out of all poss  
ible locations..., use --verbose to get detailed information

---

<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 11, 2016, 6:39am UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/7 "2016-12-11T06:39:26Z")

</div>

Have a look at: [https://github.com/elastic/elasticsearch-mapper-attachments/blob/master/README.md](https://github.com/elastic/elasticsearch-mapper-attachments/blob/master/README.md)

---

<div class="post-metadata">

**Author:** ![Adrian\_M](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Adrian\_M](https://discuss.elastic.co/u/Adrian_M)\
**Post date:** [December 12, 2016, 2:15am UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/8 "2016-12-12T02:15:48Z")

</div>

thanks!

---

<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, 10:05pm UTC](https://discuss.elastic.co/t/install-elasticsearch-mapper-attachments-plugin-failed/42511/9 "2017-07-05T22:05:04Z")

</div>


