# I want to rebuild the old runtime environment

**URL:** <https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829>\
**Category:** Elasticsearch\
**Created:** [February 22, 2022, 3:00am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829 "2022-02-22T03:00:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TANIGUCHIK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taniguchik/32/102104_2.png) [@TANIGUCHIK](https://discuss.elastic.co/u/TANIGUCHIK)\
**Post date:** [February 22, 2022, 3:00am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/1 "2022-02-22T03:00:48Z")

</div>

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

---

<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 22, 2022, 8:09am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/2 "2022-02-22T08:09:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![TANIGUCHIK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taniguchik/32/102104_2.png) [@TANIGUCHIK](https://discuss.elastic.co/u/TANIGUCHIK)\
**Post date:** [February 22, 2022, 8:32am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/3 "2022-02-22T08:32:07Z")

</div>

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

```nohighlight
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]

```

```nohighlight
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_

```nohighlight
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]

```

```nohighlight
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]

```

---

<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 22, 2022, 11:32am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/4 "2022-02-22T11:32:52Z")

</div>

# Head

For head, [the documentation](https://github.com/mobz/elasticsearch-head#running-as-a-plugin-of-elasticsearch-deprecated) says to use:

```auto
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](https://github.com/mobz/elasticsearch-head#running) like:

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

```

# Mapper attachments

For elasticsearch 1.5.2, you can get the distribution at

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

```

Then install the plugin manually with:

```auto
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

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

```

Then install the plugin manually with:

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

```

---

<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:** [February 22, 2022, 11:32am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/5 "2022-02-22T11:32:52Z")

</div>

Elasticsearch 1.5 is [EOL](https://www.elastic.co/support/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: )

---

<div class="post-metadata">

**Author:** ![TANIGUCHIK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taniguchik/32/102104_2.png) [@TANIGUCHIK](https://discuss.elastic.co/u/TANIGUCHIK)\
**Post date:** [February 24, 2022, 1:49am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/6 "2022-02-24T01:49:20Z")

</div>

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

Thank you so much.

---

<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:** [March 24, 2022, 1:49am UTC](https://discuss.elastic.co/t/i-want-to-rebuild-the-old-runtime-environment/297829/7 "2022-03-24T01:49:21Z")

</div>

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