Unable to install elasticsearch-mapper-attachments plugin

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

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

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

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

Yes I am behind a firewall.

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

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

You did not read the thread did you?

I posted the right link to use.

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

You don't need this version .

Read this again: Unable to install elasticsearch-mapper-attachments plugin

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

So you are using elasticsearch 2.2.0, right?

The old README 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 which states:

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 which is again:

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.

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.

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.

I believe that Elasticsearch 1.7 worked well.

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

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 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 :slight_smile:

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

windows: plugin install mapper-attachments

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 ...
Downloading ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Verifying 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 ...
Trying 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 ...
Trying https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/3.2.0.zip ...
Trying https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/master.zip ...
Downloading ........................................................................................................................................................................................................................................................................................................................................................................................................DONE
Verifying 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

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

David.

Hi David,

Thanks for response. It works.

Hi David,
great Explanations..
I have error when trying to use this plugin

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

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

Apart from that, restart your node.

1 Like