Installation of delete by query plugin fails

Hello,

I am trying to install the delete by query plugin for an Elasticsearch 2.4.6 instance. I have encountered the following issue:

sudo bin/plugin install delete-by-query --verbose
-> Installing delete-by-query...
Trying https://github.com/null/delete-by-query/archive/master.zip...
Failed: IOException[Can't get https://github.com/null/delete-by-query/archive/master.zip to /usr/share/elasticsearch/plugins/delete-by-query.zip]; nested: FileNotFoundException[https://github.com/null/delete-by-query/archive/master.zip]; nested: FileNotFoundException[https://github.com/null/delete-by-query/archive/master.zip];
Failed to install delete-by-query, reason: failed to download out of all possible locations..., use --verbose to get detailed information

Attempting to install it from my local system also fails:

sudo bin/plugin install ~/delete-by-query-2.4.6.zip --verbose
-> Installing /root/delete-by-query-2.4.6.zip...
Trying http://download.elasticsearch.org//root/root-delete-by-query-2.4.6.zip.zip...
Failed: IOException[Can't get http://download.elasticsearch.org//root/root-delete-by-query-2.4.6.zip.zip to /usr/share/elasticsearch/plugins/root.zip]; nested: FileNotFoundException[http://download.elasticsearch.org//root/root-delete-by-query-2.4.6.zip.zip]; nested: FileNotFoundException[http://download.elasticsearch.org//root/root-delete-by-query-2.4.6.zip.zip];
Trying http://search.maven.org/remotecontent?filepath=/root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip...
Failed: IOException[Can't get http://search.maven.org/remotecontent?filepath=/root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip to /usr/share/elasticsearch/plugins/root.zip]; nested: IOException[Server returned HTTP response code: 503 for URL: http://search.maven.org/remotecontent?filepath=/root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip]; nested: IOException[Server returned HTTP response code: 503 for URL: http://search.maven.org/remotecontent?filepath=/root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip];
Trying https://oss.sonatype.org/service/local/repositories/releases/content//root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip...
Failed: IOException[Can't get https://oss.sonatype.org/service/local/repositories/releases/content//root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip to /usr/share/elasticsearch/plugins/root.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content//root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content//root/delete-by-query-2.4.6.zip/root-delete-by-query-2.4.6.zip.zip];
Trying https://github.com//root/archive/delete-by-query-2.4.6.zip.zip...
Failed: IOException[Can't get https://github.com//root/archive/delete-by-query-2.4.6.zip.zip to /usr/share/elasticsearch/plugins/root.zip]; nested: FileNotFoundException[https://github.com//root/archive/delete-by-query-2.4.6.zip.zip]; nested: FileNotFoundException[https://github.com//root/archive/delete-by-query-2.4.6.zip.zip];
Trying https://github.com//root/archive/master.zip...
Failed: IOException[Can't get https://github.com//root/archive/master.zip to /usr/share/elasticsearch/plugins/root.zip]; nested: FileNotFoundException[https://github.com//root/archive/master.zip]; nested: FileNotFoundException[https://github.com//root/archive/master.zip];
Failed to install /root/delete-by-query-2.4.6.zip, reason: failed to download out of all possible locations..., use --verbose to get detailed information

Could you please help me? What should I do?

Thank you!

Documentation on how to install from a local file: https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/plugin-management-custom-url.html

Hi,

Thank you for the resource, but I already tried it - please see the second block of ouput I quoted. Did I do something wrong there? The command was sudo bin/plugin install ~/delete-by-query-2.4.6.zip --verbose. The file path is correct.

Thank you!

Yes it's incorrect. That's why I linked to the doc.

Missing file://

I see. Thank you, that bit looked like part of the placeholder.

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