# Custom plugin installation error

**URL:** <https://discuss.elastic.co/t/custom-plugin-installation-error/139097>\
**Category:** Elasticsearch\
**Created:** [July 9, 2018, 7:16am UTC](https://discuss.elastic.co/t/custom-plugin-installation-error/139097 "2018-07-09T07:16:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyansh](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Divyansh](https://discuss.elastic.co/u/Divyansh)\
**Post date:** [July 9, 2018, 7:16am UTC](https://discuss.elastic.co/t/custom-plugin-installation-error/139097/1 "2018-07-09T07:16:37Z")

</div>

The command is - sudo bin/elasticsearch-plugin install file:///home/divyansh/Documents/AwesomePlugin/target/release/elasticsearch-AwesomePlugin-6.3.1.zip run in /usr/share/elasticsearch

Error-  
Downloading file:///home/divyansh/Documents/AwesomePlugin/target/release/elasticsearch-AwesomePlugin-6.3.1.zip  
[=================================================] 100%  
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-7984475393588723719/plugin-descriptor.properties  
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)  
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)  
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)  
at java.nio.file.Files.newByteChannel(Files.java:361)  
at java.nio.file.Files.newByteChannel(Files.java:407)  
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)  
at java.nio.file.Files.newInputStream(Files.java:152)  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:163)  
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:592)  
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:717)  
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:641)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:225)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:210)  
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:79)  
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:48)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 9, 2018, 7:21am UTC](https://discuss.elastic.co/t/custom-plugin-installation-error/139097/2 "2018-07-09T07:21:09Z")

</div>

That looks like a file is missing from the plugin. Which plugin is it?

---

<div class="post-metadata">

**Author:** ![Divyansh](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Divyansh](https://discuss.elastic.co/u/Divyansh)\
**Post date:** [July 9, 2018, 7:22am UTC](https://discuss.elastic.co/t/custom-plugin-installation-error/139097/3 "2018-07-09T07:22:50Z")

</div>

I am making a plugin of myself, it's just a basic plugin from blogs that I found online.

Edit: I was not building the package correctly, creating issue in elasticsearch version in plugin-descriptor.properties file that was created in zip package. That issue sorted. Thanks anyway.

---

<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:** [August 6, 2018, 7:34am UTC](https://discuss.elastic.co/t/custom-plugin-installation-error/139097/5 "2018-08-06T07:34:31Z")

</div>

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