elasticsearch-HQ icon indicating copy to clipboard operation
elasticsearch-HQ copied to clipboard

Error while installing for Elasticsearch 2.3.3

Open goshatch opened this issue 4 years ago • 2 comments

General information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Docker
  • ElasticHQ Version: Latest
  • Elasticsearch Version: 2.3.3

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 avatar Jun 03 '20 19:06 goshatch

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.

goshatch avatar Jun 04 '20 09:06 goshatch

I have exactly the same issue with elasticsearch 2.3.5.

@gueorgui thank you very much for this workaround.

mdjimy avatar Jun 09 '20 11:06 mdjimy