I want to rebuild the old runtime environment

I want to install an old plugin for 1.5.x to reproduce an old validation environment, but I could not install the plugin from the command line.

Are there any pre-built plugin URLs left?

  • Elasticsearch-cloud-aws 2.5.x
  • Elasticsearch-head 1.x
  • Elasticsearch-mapper-attachments 2.5.x

I don't remember what was the url at this time. I think it is printed when you are using the plugin command.
Could you share it?

I tried it.(on docker run --rm -it elasticsearch:1.5.2 bash)

plugin --install mobz/elasticsearch-head/1.x
-> Installing mobz/elasticsearch-head/1.x...
Trying http://download.elasticsearch.org/mobz/elasticsearch-head/elasticsearch-head-1.x.zip...
Downloading .DONE
failed to extract plugin [/usr/share/elasticsearch/plugins/head.zip]: ZipException[error in opening zip file]
curl -IL http://download.elasticsearch.org/mobz/elasticsearch-head/elasticsearch-head-1.x.zip
HTTP/1.1 308 unknown
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Referrer-Policy: no-referrer
Location: https://download.elasticsearch.org/mobz/elasticsearch-head/elasticsearch-head-1.x.zip
Content-Length: 282
Date: Tue, 22 Feb 2022 08:28:58 GMT

HTTP/1.1 404 Not Found
Date: Tue, 22 Feb 2022 08:28:58 GMT
Content-Length: 0
Strict-Transport-Security: max-age=15724800; includeSubDomains
Via: 1.1 google
Alt-Svc: clear

I was able to confirm the existence of the following two with curl -IL, so it looks like I can install them.

plugin --url plugin_zip_url --install plugin_name

plugin --install elasticsearch/elasticsearch-mapper-attachments/2.5.0
-> Installing elasticsearch/elasticsearch-mapper-attachments/2.5.0...
Trying http://download.elasticsearch.org/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-2.5.0.zip...
Downloading .DONE
failed to extract plugin [/usr/share/elasticsearch/plugins/mapper-attachments.zip]: ZipException[error in opening zip file]

plugin --install elasticsearch/elasticsearch-cloud-aws/2.5.0
-> Installing elasticsearch/elasticsearch-cloud-aws/2.5.0...
Trying http://download.elasticsearch.org/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-2.5.0.zip...
Downloading .DONE
failed to extract plugin [/usr/share/elasticsearch/plugins/cloud-aws.zip]: ZipException[error in opening zip file]

Head

For head, the documentation says to use:

sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/1.x

But I understand that it gives an expected 404 error as this project is located on Github.
May be a bug with this old 1.5 plugin command.

May be you could run it using the other methods like:

docker run -p 9100:9100 mobz/elasticsearch-head:1

Mapper attachments

For Elasticsearch 1.5.2, you can get the distribution at

wget https://download.elasticsearch.org/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-2.5.0.zip

Then install the plugin manually with:

bin/plugin --url file:///path/to/elasticsearch-mapper-attachments-2.5.0.zip --install mapper-attachments

Cloud AWS

For Elasticsearch 1.5.2, you can get the distribution at

wget https://download.elasticsearch.org/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-2.5.0.zip

Then install the plugin manually with:

bin/plugin --url file:///path/to/elasticsearch-cloud-aws-2.5.0.zip --install cloud-aws

Elasticsearch 1.5 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

oh..., I gave up on installing the head plug-in from the command line.

Thank you so much.

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