Error : Could not find plugin descriptor while Installing plugin manually by downloading .zip file


#1

What should be the location of file - 'plugin-descriptor.properties'?

/bin/plugin install file:/downloads/elasticsearch-csv-master.zip
-> Installing from file:/downloads/elasticsearch-csv-master.zip...
Trying file:/downloads/elasticsearch-csv-master.zip ...
Downloading .DONE
Verifying file:/downloads/elasticsearch-csv-master.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip


#2

I have run into this recently, too, while upgrading from ES 1.3.9 to 2.2. The properties file needs to be in the root folder of the plugin.

[plugin descriptor file](https://www.elastic.co/guide/en/elasticsearch/plugins/2.2/plugin-authors.html#_plugin_descriptor_file plugin_descriptor_file)


#3

Looks like the problem I am facing is very common when

  • deploying a plugin from local destination
  • when server cannot access github / outside servers (due to security)
  • new users (like myself)

The plugin owner / ElasticSearch should have a standard solution for such an issue, as I see so many people asking same question again and again. Especially new users like me.

At present I don't have solution to issue that I have posted.


(David Pilato) #4

Or may be the plugins you are trying to install are incompatible with elasticsearch version you are using?


#5

I checked the version of plugin - cvs-master.
This version development is specifically started for version ElasticSearch 2.x.

elasticsearch-csv-master.zip


#6

there must be something in my setup.


(Jörg Prante) #7

This source code is not an Elasticsearch plugin at all.


#8

oh...
Do you have any suggestion on loading csv data into ElasticSearch.
The google search and search within github is showing too many options.


(David Pilato) #9

This could help: http://david.pilato.fr/blog/2015/04/28/exploring-capitaine-train-dataset/

But you have many other alternatives...


(Lokesh Jangir) #10

I was also facing the same issue but spending an entire day what I found that the plugin which i am trying to install is not compatible with the version of Elasticsearch.
Elasticsearch(2.4.5) was installed from repository and plugin was downloaded directly from site, it was 5.4. I extracted plugin.zip and opened plugin-descriptor.properties to check what version of elasticsearch is mentioned and compiled against, I found 5.4

So, removed ES and installed using the Deb package downloaded from site .
It works (y)


(system) #11