OpenNMS / elasticsearch-drift-plugin

Elasticearch plugin that helps generate time series data from flow data
Apache License 2.0
3 stars 4 forks source link

Intermediate elasticsearch dir prevents from installing from ZIP #9

Closed indigo423 closed 5 years ago

indigo423 commented 5 years ago

I've downloaded the ZIP file compatible with Elasticsearch 6.5.4 from the release page and tried to install it I get the following error message:

 ./elasticsearch-plugin install file:///apps_nms/InstallFiles/elasticsearch-drift-plugin-1.1.0-SNAPSHOT.zip
-> Downloading file:///apps_nms/InstallFiles/elasticsearch-drift-plugin-1.1.0-SNAPSHOT.zip
[=================================================] 100%
ERROR: This plugin was built with an older plugin structure. Contact the plugin author to remove the intermediate "elasticsearch" directory within the plugin zip.

The ZIP file should be build without the intermediate directory "elasticsearch".

mmahacek commented 5 years ago

Same thing happened to me when testing 1.1.0-SNAPSHOT. Can confirm repackaging without a folder installs on my test server.

j-white commented 5 years ago

Fixed with https://github.com/OpenNMS/elasticsearch-drift-plugin/pull/10