vuestorefront / vue-storefront-api

Vue.js storefront for Magento2 (and not only) - data backend
https://www.vuestorefront.io
MIT License
347 stars 338 forks source link

ERROR: Service 'kibana' failed to build #349

Open kirillbunin opened 4 years ago

kirillbunin commented 4 years ago

Hi, I'm trying to make this work on a default Docker "droplet" from DigitalOcean.

Unfortunately, Kibana container fails to build. It sits on Removing x-pack for hours before failing.

Any ideas?

Step 2/2 : RUN bin/kibana-plugin remove x-pack &&     kibana 2>&1 | grep -m 1 "Optimization of .* complete"
 ---> Running in 06408c419abe
Removing x-pack...
ERROR: Service 'kibana' failed to build: The command '/bin/sh -c bin/kibana-plug in remove x-pack &     kibana 2>&1 | grep -m 1 "Optimization of .* complete"' returned a non-zero code: 1
adisa404 commented 4 years ago

I've had the same issue. I updated my Docker to the latest version and it worked for me.

Good luck!

regenrek commented 4 years ago

Hi any updates on this issue?

Docker Version: 2.1.0.5 Mac OSX 10.15.2

docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up -d                                   1m 38s

Building kibana
Step 1/2 : FROM docker.elastic.co/kibana/kibana:5.6.11
 ---> 72543213daee
Step 2/2 : RUN bin/kibana-plugin remove x-pack &&     kibana 2>&1 | grep -m 1 "Optimization of .* complete"
 ---> Running in 23c6fb5998ac
Removing x-pack...
ERROR: Service 'kibana' failed to build: The command '/bin/sh -c bin/kibana-plugin remove x-pack &&     kibana 2>&1 | grep -m 1 "Optimization of .* complete"' returned a non-zero code: 1
afnineone commented 3 years ago

Same here! Anyone, who could help?

docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up -d
Building kibana
Step 1/2 : FROM docker.elastic.co/kibana/kibana:5.6.11
 ---> 72543213daee
Step 2/2 : RUN bin/kibana-plugin remove x-pack &&     kibana 2>&1 | grep -m 1 "Optimization of .* complete"
 ---> Running in 02b5043a56cd
Removing x-pack...
ERROR: Service 'kibana' failed to build : The command '/bin/sh -c bin/kibana-plugin remove x-pack &&     kibana 2>&1 | grep -m 1 "Optimization of .* complete"' returned a non-zero code: 1

Docker: 3.1.0 MacOS 11.1

afnineone commented 3 years ago

In the Docker App under Preferences --> Resources, i raised the Memory from 2GB to 4GB, that solved it for me.