# Failed installing file:///tmp/analysis-phonetic-7.17.7.zip

**URL:** <https://discuss.elastic.co/t/failed-installing-file-tmp-analysis-phonetic-7-17-7-zip/330988>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 27, 2023, 9:39pm UTC](https://discuss.elastic.co/t/failed-installing-file-tmp-analysis-phonetic-7-17-7-zip/330988 "2023-04-27T21:39:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markedperf](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@markedperf](https://discuss.elastic.co/u/markedperf)\
**Post date:** [April 27, 2023, 9:39pm UTC](https://discuss.elastic.co/t/failed-installing-file-tmp-analysis-phonetic-7-17-7-zip/330988/1 "2023-04-27T21:39:54Z")

</div>

I am trying to install the analysis-phonetic plugin from a downloaded .zip file. I have copied the files to the local filesystem /tmp directory and inside the container to the /tmp directory. Below is the dockerfile that I am running to install the plugin:

FROM elasticsearch:7.17.7  
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file:///tmp/analysis-phonetic-7.17.7.zip

Below is the error I am getting while running the following command: docker build -t elasticsearch\_mm .

## [+] Building 1.8s (5/8) =\> [internal] load .dockerignore 0.0s =\> =\> transferring context: 2B 0.0s =\> [internal] load build definition from dockerfile 0.0s =\> =\> transferring dockerfile: 540B 0.0s =\> [internal] load metadata for [Docker Hub Container Image Library | App Containerization](http://docker.io/library/elasticsearch:7.17.7) 0.3s =\> CACHED [1/5] FROM [Docker Hub Container Image Library | App Containerization](http://docker.io/library/elasticsearch:7.17.7@sha256:bb22e1ef1707314b30020c84f29e25bc0aa80a50616a196526e38069fbd95c1f) 0.0s =\> ERROR [2/5] RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file:///tmp/analysis-phonetic-7.17.7.zip 1.4s

> [2/5] RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file:///tmp/analysis-phonetic-7.17.7.zip:  
> #0 1.349 -\> Installing file:///tmp/analysis-phonetic-7.17.7.zip  
> #0 1.349 -\> Downloading file:///tmp/analysis-phonetic-7.17.7.zip  
> #0 1.352 -\> Failed installing file:///tmp/analysis-phonetic-7.17.7.zip  
> #0 1.352 -\> Rolling back file:///tmp/analysis-phonetic-7.17.7.zip  
> #0 1.352 -\> Rolled back file:///tmp/analysis-phonetic-7.17.7.zip  
> #0 1.353 Exception in thread "main" java.io.FileNotFoundException: /tmp/analysis-phonetic-7.17.7.zip (No such file or directory)

Any idea why it can't find the file?

---

<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:** [May 25, 2023, 9:40pm UTC](https://discuss.elastic.co/t/failed-installing-file-tmp-analysis-phonetic-7-17-7-zip/330988/2 "2023-05-25T21:40:15Z")

</div>

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