# Missing plugin-descriptor.properties

**URL:** <https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122>\
**Category:** Elasticsearch\
**Created:** [February 16, 2018, 8:36am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122 "2018-02-16T08:36:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryext](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@ryext](https://discuss.elastic.co/u/ryext)\
**Post date:** [February 16, 2018, 8:36am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/1 "2018-02-16T08:36:19Z")

</div>

hey, i am trying to install x-pack plugin.  
Here is my command:  
`./elasticsearch-plugin install file:///home/admin/Downloads/x-pack-6.2.1.zip`

Once i execute i get the following error:

```auto
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-1923361234913937038/plugin-descriptor.properties
	at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
	at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source)
	at java.nio.file.Files.newByteChannel(Unknown Source)
	at java.nio.file.Files.newByteChannel(Unknown Source)
	at java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
	at java.nio.file.Files.newInputStream(Unknown Source) 
	at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:123) 
	at org.elasticsearch.plugins.InstallPluginCommand.verify(InstallPluginCommand.java:532)
	at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:601)
	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:215)
	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:204)
	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:75)
	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)

```

PS: the directory .installing-1923361234913937038 is random so on every execution i get a different directory

thank you

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 16, 2018, 8:44am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/2 "2018-02-16T08:44:08Z")

</div>

hey,

which operating system is this? Which link did you download for the 6.2.1 zip file? Are you running with internet enabled/disabled when you install the plugin?

--Alex

---

<div class="post-metadata">

**Author:** ![ryext](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@ryext](https://discuss.elastic.co/u/ryext)\
**Post date:** [February 16, 2018, 8:46am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/3 "2018-02-16T08:46:36Z")

</div>

internet is disabled i have to simulate an offline installation.  
running it on Centos 7  
i downloaded the Zip from the x-path install guideline

[https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-6.2.1.zip](https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-6.2.1.zip)

and thank you for your fast reply.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 16, 2018, 8:59am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/4 "2018-02-16T08:59:59Z")

</div>

A see some weirdness going on with the above error message (the mentioned line numbers do not match with 6.2.1, as if another/older version of Elasticsearch is installed).

Have you upgraded Elasticsearch as well? If so, which version were you on before? Can you run the following command?

```auto
find /usr/share/elasticsearch/ -type f

```

and paste the output here?

In case you upgraded Elasticsearch, which commands did you run?

Thank you!

---

<div class="post-metadata">

**Author:** ![ryext](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@ryext](https://discuss.elastic.co/u/ryext)\
**Post date:** [February 16, 2018, 9:06am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/5 "2018-02-16T09:06:39Z")

</div>

here is the result i got. does it mean i am on ES 6.1.3 ?

```auto
/usr/share/elasticsearch/lib/lucene-spatial3d-7.1.0.jar
/usr/share/elasticsearch/lib/jopt-simple-5.0.2.jar
/usr/share/elasticsearch/lib/securesm-1.2.jar
/usr/share/elasticsearch/lib/lucene-spatial-extras-7.1.0.jar
/usr/share/elasticsearch/lib/lucene-backward-codecs-7.1.0.jar
/usr/share/elasticsearch/lib/t-digest-3.0.jar
/usr/share/elasticsearch/lib/lucene-queries-7.1.0.jar
/usr/share/elasticsearch/lib/jackson-dataformat-cbor-2.8.10.jar
/usr/share/elasticsearch/lib/elasticsearch-6.1.3.jar
/usr/share/elasticsearch/lib/lucene-spatial-7.1.0.jar
/usr/share/elasticsearch/lib/lucene-queryparser-7.1.0.jar
/usr/share/elasticsearch/lib/lucene-grouping-7.1.0.jar
/usr/share/elasticsearch/lib/snakeyaml-1.17.jar
/usr/share/elasticsearch/lib/lucene-join-7.1.0.jar
/usr/share/elasticsearch/lib/elasticsearch-cli-6.1.3.jar
/usr/share/elasticsearch/lib/lucene-misc-7.1.0.jar
/usr/share/elasticsearch/lib/lucene-sandbox-7.1.0.jar
/usr/share/elasticsearch/lib/log4j-1.2-api-2.9.1.jar
/usr/share/elasticsearch/lib/lucene-suggest-7.1.0.jar
/usr/share/elasticsearch/lib/spatial4j-0.6.jar
/usr/share/elasticsearch/lib/plugin-cli-6.1.3.jar
/usr/share/elasticsearch/lib/log4j-core-2.9.1.jar
/usr/share/elasticsearch/lib/jackson-dataformat-yaml-2.8.10.jar
/usr/share/elasticsearch/lib/jackson-core-2.8.10.jar
/usr/share/elasticsearch/lib/jackson-dataformat-smile-2.8.10.jar
/usr/share/elasticsearch/lib/joda-time-2.9.5.jar
/usr/share/elasticsearch/lib/lucene-core-7.1.0.jar
/usr/share/elasticsearch/lib/lucene-highlighter-7.1.0.jar
/usr/share/elasticsearch/lib/jts-1.13.jar
/usr/share/elasticsearch/lib/lucene-memory-7.1.0.jar
/usr/share/elasticsearch/lib/jna-4.4.0-1.jar
/usr/share/elasticsearch/lib/log4j-api-2.9.1.jar
/usr/share/elasticsearch/lib/lucene-analyzers-common-7.1.0.jar
/usr/share/elasticsearch/lib/java-version-checker-6.1.3.jar
/usr/share/elasticsearch/lib/HdrHistogram-2.1.9.jar
/usr/share/elasticsearch/lib/hppc-0.7.1.jar
/usr/share/elasticsearch/plugins/plugin-descriptor.properties
/usr/share/elasticsearch/plugins/.installing-962109684491818750/plugin-descriptor.properties
/usr/share/elasticsearch/modules/parent-join/plugin-descriptor.properties
/usr/share/elasticsearch/modules/parent-join/parent-join-6.1.3.jar
/usr/share/elasticsearch/modules/lang-expression/lucene-expressions-7.1.0.jar
/usr/share/elasticsearch/modules/lang-expression/asm-tree-5.0.4.jar
/usr/share/elasticsearch/modules/lang-expression/plugin-descriptor.properties
/usr/share/elasticsearch/modules/lang-expression/plugin-security.policy
/usr/share/elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar
/usr/share/elasticsearch/modules/lang-expression/lang-expression-6.1.3.jar
/usr/share/elasticsearch/modules/lang-expression/asm-5.0.4.jar
/usr/share/elasticsearch/modules/lang-expression/antlr4-runtime-4.5.1-1.jar
/usr/share/elasticsearch/modules/lang-mustache/lang-mustache-6.1.3.jar
/usr/share/elasticsearch/modules/lang-mustache/plugin-descriptor.properties
/usr/share/elasticsearch/modules/lang-mustache/plugin-security.policy
/usr/share/elasticsearch/modules/lang-mustache/compiler-0.9.3.jar
/usr/share/elasticsearch/modules/ingest-common/plugin-descriptor.properties
/usr/share/elasticsearch/modules/ingest-common/jcodings-1.0.12.jar
/usr/share/elasticsearch/modules/ingest-common/joni-2.1.6.jar
/usr/share/elasticsearch/modules/ingest-common/ingest-common-6.1.3.jar
/usr/share/elasticsearch/modules/tribe/plugin-descriptor.properties
/usr/share/elasticsearch/modules/tribe/tribe-6.1.3.jar
/usr/share/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties
/usr/share/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-6.1.3.jar
/usr/share/elasticsearch/modules/lang-painless/antlr4-runtime-4.5.3.jar
/usr/share/elasticsearch/modules/lang-painless/plugin-descriptor.properties
/usr/share/elasticsearch/modules/lang-painless/plugin-security.policy
/usr/share/elasticsearch/modules/lang-painless/lang-painless-6.1.3.jar
/usr/share/elasticsearch/modules/lang-painless/asm-debug-all-5.1.jar
/usr/share/elasticsearch/modules/mapper-extras/plugin-descriptor.properties
/usr/share/elasticsearch/modules/mapper-extras/mapper-extras-6.1.3.jar
/usr/share/elasticsearch/modules/percolator/plugin-descriptor.properties
/usr/share/elasticsearch/modules/percolator/percolator-6.1.3.jar
/usr/share/elasticsearch/modules/transport-netty4/netty-codec-http-4.1.13.Final.jar
/usr/share/elasticsearch/modules/transport-netty4/netty-handler-4.1.13.Final.jar
/usr/share/elasticsearch/modules/transport-netty4/plugin-descriptor.properties
/usr/share/elasticsearch/modules/transport-netty4/plugin-security.policy
/usr/share/elasticsearch/modules/transport-netty4/netty-common-4.1.13.Final.jar
/usr/share/elasticsearch/modules/transport-netty4/netty-transport-4.1.13.Final.jar
/usr/share/elasticsearch/modules/transport-netty4/netty-codec-4.1.13.Final.jar
/usr/share/elasticsearch/modules/transport-netty4/transport-netty4-6.1.3.jar
/usr/share/elasticsearch/modules/transport-netty4/netty-buffer-4.1.13.Final.jar
/usr/share/elasticsearch/modules/transport-netty4/netty-resolver-4.1.13.Final.jar
/usr/share/elasticsearch/modules/analysis-common/plugin-descriptor.properties
/usr/share/elasticsearch/modules/analysis-common/analysis-common-6.1.3.jar
/usr/share/elasticsearch/modules/reindex/commons-codec-1.10.jar
/usr/share/elasticsearch/modules/reindex/httpasyncclient-4.1.2.jar
/usr/share/elasticsearch/modules/reindex/plugin-descriptor.properties
/usr/share/elasticsearch/modules/reindex/plugin-security.policy
/usr/share/elasticsearch/modules/reindex/elasticsearch-rest-client-6.1.3.jar
/usr/share/elasticsearch/modules/reindex/httpclient-4.5.2.jar
/usr/share/elasticsearch/modules/reindex/httpcore-4.4.5.jar
/usr/share/elasticsearch/modules/reindex/httpcore-nio-4.4.5.jar
/usr/share/elasticsearch/modules/reindex/commons-logging-1.1.3.jar
/usr/share/elasticsearch/modules/reindex/reindex-6.1.3.jar
/usr/share/elasticsearch/modules/repository-url/plugin-descriptor.properties
/usr/share/elasticsearch/modules/repository-url/plugin-security.policy
/usr/share/elasticsearch/modules/repository-url/repository-url-6.1.3.jar
/usr/share/elasticsearch/bin/elasticsearch-env
/usr/share/elasticsearch/bin/elasticsearch
/usr/share/elasticsearch/bin/elasticsearch-keystore
/usr/share/elasticsearch/bin/elasticsearch-translog
/usr/share/elasticsearch/bin/elasticsearch-plugin
/usr/share/elasticsearch/NOTICE.txt
/usr/share/elasticsearch/LICENSE.txt
/usr/share/elasticsearch/README.textile

```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 16, 2018, 9:14am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/6 "2018-02-16T09:14:14Z")

</div>

That looks good.

Can you run

```auto
/usr/share/elasticsearch/bin/elasticsearch-plugin install file:///home/admin/Downloads/x-pack-6.2.1.zip

```

I just want to make sure, the path is the right one (sorry for debugging this kind of simple failures, but I just want to exclude a bunch of things and be sure the right code is called).

What about the other upgrade questions?

---

<div class="post-metadata">

**Author:** ![ryext](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@ryext](https://discuss.elastic.co/u/ryext)\
**Post date:** [February 16, 2018, 9:18am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/7 "2018-02-16T09:18:04Z")

</div>

```auto
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-5733003099348288587/plugin-descriptor.properties
	at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
	at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source)
	at java.nio.file.Files.newByteChannel(Unknown Source)
	at java.nio.file.Files.newByteChannel(Unknown Source)
	at java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
	at java.nio.file.Files.newInputStream(Unknown Source)
	at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:123)
	at org.elasticsearch.plugins.InstallPluginCommand.verify(InstallPluginCommand.java:532)
	at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:601)
	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:215)
	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:204)
	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:75)
	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)

```

i get the same message error.

no upgrade was done it was a fresh install.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 16, 2018, 9:24am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/8 "2018-02-16T09:24:03Z")

</div>

Hey,

so you are on 6.1.3 locally according to the find call, but try to install x-pack 6.2.1 here. What does `rpm -q elasticsearch` return?

This is the version mismatch, that I was searching for. I didnt correctly read it for the first time.

Can you try to install x-pack 6.1.3 together with elasticsearch 6.1.3 or x-pack 6.2.1 with Elasticsearch 6.2.1 RPM?

--Alex

---

<div class="post-metadata">

**Author:** ![ryext](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@ryext](https://discuss.elastic.co/u/ryext)\
**Post date:** [February 16, 2018, 9:27am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/9 "2018-02-16T09:27:56Z")

</div>

```auto
elasticsearch-6.1.3-1.noarch

```

that is the return .  
so i need to install x-pack 6.1.3 ?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 16, 2018, 9:28am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/10 "2018-02-16T09:28:30Z")

</div>

yes, each plugin needs to resemble the version of ES, x-pack is no exception.

---

<div class="post-metadata">

**Author:** ![ryext](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@ryext](https://discuss.elastic.co/u/ryext)\
**Post date:** [February 16, 2018, 9:30am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/11 "2018-02-16T09:30:12Z")

</div>

Thank you for your support.

Keep up the awsome work.

---

<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 16, 2018, 9:30am UTC](https://discuss.elastic.co/t/missing-plugin-descriptor-properties/120122/12 "2018-03-16T09:30:29Z")

</div>

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