# Unable to install elasticsearch-mapper-attachments plugin

**URL:** <https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829>\
**Category:** Elasticsearch\
**Created:** [October 23, 2015, 8:45am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829 "2015-10-23T08:45:16Z")\
**Posts on this page:** 20\
**Page:** 2

<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 17, 2016, 4:02am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/21 "2016-02-17T04:02:17Z")

</div>

Just look at the plugins doc. It's there.

---

<div class="post-metadata">

**Author:** ![Sriram\_Narayanan1](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sriram\_Narayanan1](https://discuss.elastic.co/u/Sriram_Narayanan1)\
**Post date:** [February 17, 2016, 6:41am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/22 "2016-02-17T06:41:50Z")

</div>

Looked into the plugins documentation. Also tried the default plugin installation method. But getting the following error.

![](https://us1.discourse-cdn.com/elastic/original/2X/c/c5f4bc42a39f3025aac43795e9750ca65593811d.png)

and this is the verbose results.

`C:\dev\elasticsearch-2.2.0\elasticsearch-2.2.0\bin>plugin install mapper-attachments -verbose -> Installing mapper-attachments... Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/2.2.0/mapper-attachments-2.2.0.zip ... Failed: ConnectException[Connection refused: connect] ERROR: failed to download out of all possible 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:** [February 17, 2016, 10:40am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/23 "2016-02-17T10:40:10Z")

</div>

Are you behind a firewall?

This URL works for me: [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/2.2.0/mapper-attachments-2.2.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/2.2.0/mapper-attachments-2.2.0.zip)

---

<div class="post-metadata">

**Author:** ![Sriram\_Narayanan1](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sriram\_Narayanan1](https://discuss.elastic.co/u/Sriram_Narayanan1)\
**Post date:** [February 17, 2016, 2:47pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/24 "2016-02-17T14:47:55Z")

</div>

Yes I am behind a firewall.

Thanks for the link. I downloaded the zip and installed.

![](https://us1.discourse-cdn.com/elastic/original/2X/0/03d991082116ca2e98f670ddc797b7b00a3dfaad.png)

---

<div class="post-metadata">

**Author:** ![Ferhat\_Ozturk](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Ferhat\_Ozturk](https://discuss.elastic.co/u/Ferhat_Ozturk)\
**Post date:** [February 25, 2016, 8:38pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/25 "2016-02-25T20:38:19Z")

</div>

> [@Sriram\_Narayanan1](#):
>
> d a firewall.

Hi David,  
I am having problem while installing mapper attacment plugin as below. which version of mapper attachment i should install for the Elasticsearch version 2.2.0 which i think is the latest one at the website.

the error i got:

Apples-MacBook-Air:bin apple$ sudo ./plugin install file:///Users/apple/elasticsearch-mapper-attachments-3.1.0.zip  
Password:  
-\> Installing from file:/Users/apple/elasticsearch-mapper-attachments-3.1.0.zip...  
Trying file:/Users/apple/elasticsearch-mapper-attachments-3.1.0.zip ...  
Downloading .................................................................................................................................................................................................................................................................................DONE  
Verifying file:/Users/apple/elasticsearch-mapper-attachments-3.1.0.zip checksums if available ...  
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)  
ERROR: Plugin [mapper-attachments] is incompatible with Elasticsearch [2.2.0]. Was designed for version [2.1.0]

PS: when i search about the error, i see there is something called as "ingest-pluging", should i use it or keep trying on mapper attachment?

thank you

---

<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 26, 2016, 1:00am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/26 "2016-02-26T01:00:06Z")

</div>

You did not read the thread did you?

I posted the right link to use.

---

<div class="post-metadata">

**Author:** ![Ferhat\_Ozturk](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Ferhat\_Ozturk](https://discuss.elastic.co/u/Ferhat_Ozturk)\
**Post date:** [February 26, 2016, 9:20pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/27 "2016-02-26T21:20:27Z")

</div>

> [@dadoonet](#):
>
> Try this: [https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip](https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip)

Yes, i read the thread, that is how i downloaded 3.1.0.zip via the link you gave. am i missing something here?

this is the link i hv downloaded:  
Try this: [https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip25](https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip25)

---

<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 26, 2016, 9:34pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/28 "2016-02-26T21:34:07Z")

</div>

You don't need this version .

Read this again: [Unable to install elasticsearch-mapper-attachments plugin](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/23)

---

<div class="post-metadata">

**Author:** ![Ferhat\_Ozturk](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Ferhat\_Ozturk](https://discuss.elastic.co/u/Ferhat_Ozturk)\
**Post date:** [February 26, 2016, 9:40pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/29 "2016-02-26T21:40:50Z")

</div>

i had 2.x.x version before and i had problem about indexing word documents, that is why i am trying to install the latest (i guess it is 3.xx version) version.  
pls dont misunderstand me, i am not choosing the easy way, i am first searching on several pages, if i cant find the solution, i am asking to you on here.  
Thanks in advance

---

<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 26, 2016, 10:49pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/30 "2016-02-26T22:49:58Z")

</div>

So you are using elasticsearch 2.2.0, right?

The [old README](https://github.com/elastic/elasticsearch-mapper-attachments/blob/master/README.md) says at the very first lines:

> **IMPORTANT** : this project now moved to elasticsearch repository (from elasticsearch 2.2.0):

Then there is a link to [the documentation](https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html) which states:

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

```

As you can see, no version is needed as we know that 2.2.0 must be downloaded.

If it does not work and you want to install manually (because of firewall or other network issues), use [the link I provided](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/23) which is again:

[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/2.2.0/mapper-attachments-2.2.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/2.2.0/mapper-attachments-2.2.0.zip)

I hope this is clear now.

---

<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 26, 2016, 11:03pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/31 "2016-02-26T23:03:32Z")

</div>

> [@Ferhat\_Ozturk](#):
>
> i had problem about indexing word documents, that is why i am trying to install the latest version.

BTW, if you have an issue with `.docx` documents, this update won't fix it as IIRC I have seen some users reporting this. Did not find time to look at it in details for now but I believe it's caused by the fact we have reduced the number of dependencies embedded within the plugin...

Need to be confirmed though.

---

<div class="post-metadata">

**Author:** ![Ferhat\_Ozturk](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Ferhat\_Ozturk](https://discuss.elastic.co/u/Ferhat_Ozturk)\
**Post date:** [February 27, 2016, 8:58pm UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/32 "2016-02-27T20:58:15Z")

</div>

> [@dadoonet](#):
>
> BTW, if you have an issue with .docx documents, this update won't fix it as IIRC I have seen some users reporting this. Did not find time to look at it in details for now but I believe it's caused by the fact we have reduced the number of dependencies embedded within the plugin...

Yes i am using 2.2.0 version and i hv installed mapper attachment with the below command. Indexing document is working for pdf, txt etc., however it is not working for doc, docx documents.

> bin/elasticsearch-plugin install mapper-attachments

Would you kindly let me know, which version of elasticsearch is OK about indexing doc, docx document and which would be the suitable mapperattachment version for that elasticsearch installation? I am a totally new to Elasticsearch and i can admit that i am confused about this version issue.

Thanks for your understanding.

---

<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 28, 2016, 12:03am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/33 "2016-02-28T00:03:58Z")

</div>

I believe that Elasticsearch 1.7 worked well.

As I said, this is something we need to investigate and fix.

---

<div class="post-metadata">

**Author:** ![ASN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asn/32/10535_2.png) [@ASN](https://discuss.elastic.co/u/ASN)\
**Post date:** [May 5, 2016, 1:23am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/34 "2016-05-05T01:23:02Z")

</div>

Hi David,

I tried to install the mapper plugin using the below link

> plugin install elasticsearch/elasticsearch-mapper-attachments/3.1.2

And then it gives me this error.

> Verifying [https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.2.zip](https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.2.zip) checksums if available ...  
> Downloading .DONE  
> ERROR: Plugin [mapper-attachments] is incompatible with Elasticsearch [2.3.1]. Was designed for version [2.1.2]

And I see the elastic site says that mapper attachment is deprecated and is replaced by \> ingest-attachment. Am i missing something here?

TIA 🙂

---

<div class="post-metadata">

**Author:** ![ASN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asn/32/10535_2.png) [@ASN](https://discuss.elastic.co/u/ASN)\
**Post date:** [May 5, 2016, 1:47am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/35 "2016-05-05T01:47:14Z")

</div>

I think this link below will help to install the latest mapper attachment plugin

[https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html](https://www.elastic.co/guide/en/elasticsearch/plugins/master/mapper-attachments.html)

windows: plugin install mapper-attachments

---

<div class="post-metadata">

**Author:** ![richag](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@richag](https://discuss.elastic.co/u/richag)\
**Post date:** [May 17, 2016, 3:59am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/36 "2016-05-17T03:59:45Z")

</div>

Hi, I am using elasticsearch latest version 2.3.2. When I tried to insatll elastic search mapper plugin using commnad ./bin/plugin install elasticsearch/elasticsearch-mapper-attachments/3.1.0 it gives error as:

-\> Installing elasticsearch/elasticsearch-mapper-attachments/3.1.0...  
Trying [https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip](https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip) ...  
Downloading ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE  
Verifying [https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip](https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.1.0.zip) checksums if available ...  
Downloading .DONE  
ERROR: Plugin [mapper-attachments] is incompatible with Elasticsearch [2.3.2]. Was designed for version [2.1.0]

Which version should I install?

When I try to install using master.zip it gives same error :  
./bin/plugin install elasticsearch/elasticsearch-mapper-attachments/3.2.0  
-\> Installing elasticsearch/elasticsearch-mapper-attachments/3.2.0...  
Trying [https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.2.0.zip](https://download.elastic.co/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-3.2.0.zip) ...  
Trying [https://search.maven.org/remotecontent?filepath=elasticsearch/elasticsearch-mapper-attachments/3.2.0/elasticsearch-mapper-attachments-3.2.0.zip](https://search.maven.org/remotecontent?filepath=elasticsearch/elasticsearch-mapper-attachments/3.2.0/elasticsearch-mapper-attachments-3.2.0.zip) ...  
Trying [https://oss.sonatype.org/service/local/repositories/releases/content/elasticsearch/elasticsearch-mapper-attachments/3.2.0/elasticsearch-mapper-attachments-3.2.0.zip](https://oss.sonatype.org/service/local/repositories/releases/content/elasticsearch/elasticsearch-mapper-attachments/3.2.0/elasticsearch-mapper-attachments-3.2.0.zip) ...  
Trying [https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/3.2.0.zip](https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/3.2.0.zip) ...  
Trying [https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/master.zip](https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/master.zip) ...  
Downloading ........................................................................................................................................................................................................................................................................................................................................................................................................DONE  
Verifying [https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/master.zip](https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/master.zip) checksums if available ...  
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)  
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

---

<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:** [May 17, 2016, 5:28am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/37 "2016-05-17T05:28:20Z")

</div>

Read [https://www.elastic.co/guide/en/elasticsearch/plugins/current/mapper-attachments.html](https://www.elastic.co/guide/en/elasticsearch/plugins/current/mapper-attachments.html)

David.

---

<div class="post-metadata">

**Author:** ![richag](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@richag](https://discuss.elastic.co/u/richag)\
**Post date:** [May 17, 2016, 10:23am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/38 "2016-05-17T10:23:08Z")

</div>

Hi David,

Thanks for response. It works.

---

<div class="post-metadata">

**Author:** ![Ramya](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Ramya](https://discuss.elastic.co/u/Ramya)\
**Post date:** [February 10, 2017, 7:37am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/39 "2017-02-10T07:37:18Z")

</div>

Hi David,  
great Explanations..  
I have error when trying to use this plugin  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/d/d431707f7e7c81e00aeec146f4b0405653909174.PNG)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/e/e431ff96132a07a203d1a94cc38cdf4075a4a2ad.PNG)

And also i used GET /\_cat/plugins?v  
it results as  
name component version type url  
Slapstick license 2.4.4 j  
please help me to find solution

---

<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 10, 2017, 11:22am UTC](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829/40 "2017-02-10T11:22:55Z")

</div>

Open a new thread please.  
Don't post images but text.

Apart from that, restart your node.

[Previous page](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829.md?page=1)

[Next page](https://discuss.elastic.co/t/unable-to-install-elasticsearch-mapper-attachments-plugin/32829.md?page=3)
