# Can't install ingest attachment plugin from zip file

**URL:** <https://discuss.elastic.co/t/cant-install-ingest-attachment-plugin-from-zip-file/158616>\
**Category:** Elasticsearch\
**Created:** [November 28, 2018, 4:17pm UTC](https://discuss.elastic.co/t/cant-install-ingest-attachment-plugin-from-zip-file/158616 "2018-11-28T16:17:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geppo](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@geppo](https://discuss.elastic.co/u/geppo)\
**Post date:** [November 28, 2018, 4:17pm UTC](https://discuss.elastic.co/t/cant-install-ingest-attachment-plugin-from-zip-file/158616/1 "2018-11-28T16:17:27Z")

</div>

I'm trying to install a plugin from zip file in this way:

```
michele@michele-Inspiron-5570:/usr/share/elasticsearch$ sudo bin/elasticsearch-plugin install file:///home/michele/Scaricati/ingest-attachment-6.5.0.zip
[sudo] password di michele: 
-> Downloading file:///home/michele/Scaricati/ingest-attachment-6.5.0.zip
[=================================================] 100%   
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-15874184844213691217/plugin-descriptor.properties
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:215)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:369)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:415)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
	at java.base/java.nio.file.Files.newInputStream(Files.java:154)
	at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:162)
	at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:713)
	at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:792)
	at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:775)
	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:231)
	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
	at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
	at org.elasticsearch.cli.Command.main(Command.java:90)
	at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

```

I have seen that this issue is often related with a mismatching version between plugin and server , but It seems not:

```
michele@michele-Inspiron-5570:/usr/share/tesseract-ocr$ curl -XGET 'localhost:9200'
{
  "name" : "ING8Rxm",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "QuOBj5pMRcGqqcWV57NOgA",
  "version" : {
    "number" : "6.5.0",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "816e6f6",
    "build_date" : "2018-11-09T18:58:36.352602Z",
    "build_snapshot" : false,
    "lucene_version" : "7.5.0",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

```

What could I try now?  
Thanks in advance

---

<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:** [November 28, 2018, 5:17pm UTC](https://discuss.elastic.co/t/cant-install-ingest-attachment-plugin-from-zip-file/158616/2 "2018-11-28T17:17:13Z")

</div>

Where did you get the zip from?

---

<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:** [December 26, 2018, 5:17pm UTC](https://discuss.elastic.co/t/cant-install-ingest-attachment-plugin-from-zip-file/158616/3 "2018-12-26T17:17:16Z")

</div>

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