ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 528 forks source link

Error while installing for Elasticsearch 2.3.3 #523

Open goshatch opened 4 years ago

goshatch commented 4 years ago

General information

Issue Description

I'm trying to install Elasticsearch-HQ in my custom docker image based on elasticsearch:2.3.3. Other plugins I'm installing work, but HQ's install fails with the log below. This matches the error in #205, but nothing recent.

I've tested a couple of tagged versions, but they all end up downloading master.zip which seems to be the cause of the problem.

Could you please help point me in the right direction?

Source Code / Logs

Step 4/4 : RUN bin/plugin install ElasticHQ/elasticsearch-HQ
 ---> Running in 2c1f59e60dd2
-> Installing ElasticHQ/elasticsearch-HQ...
Trying https://github.com/ElasticHQ/elasticsearch-HQ/archive/master.zip ...
Downloading ..........//........DONE
Verifying https://github.com/ElasticHQ/elasticsearch-HQ/archive/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
ERROR: Service 'elasticsearch' failed to build: The command '/bin/sh -c bin/plugin install ElasticHQ/elasticsearch-HQ' returned a non-zero code: 70

Thank you very much for your help!

goshatch commented 4 years ago

In the meantime, I've used this workaround in my Dockerfile:

RUN wget -O /tmp/hq_v2.0.3.zip https://github.com/ElasticHQ/elasticsearch-HQ/archive/v2.0.3.zip
RUN bin/plugin install file:///tmp/hq_v2.0.3.zip

I hope this helps someone.

mdjimy commented 4 years ago

I have exactly the same issue with elasticsearch 2.3.5.

@gueorgui thank you very much for this workaround.