apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

Service 'manager' failed to build

Open wenlincheng opened this issue 6 years ago • 6 comments

Service 'manager' failed to build, when I install it in docker .

docker-compose -p dashboard up -d

Step 13/17 : RUN cd /go/manager-api/build-tools && lua schema-sync.lua > /go/manager-api/schema.json && cd /go/manager-api/ && rm -rf /go/manager-api/build-tools/ ---> Running in 5f5de1ed1677 lua: ./apisix/plugins/api-breaker.lua:24: attempt to index field 'shared' (a nil value) stack traceback: ./apisix/plugins/api-breaker.lua:24: in main chunk [C]: in function 'require' schema-sync.lua:128: in main chunk [C]: ? ERROR: Service 'manager' failed to build : The command '/bin/sh -c cd /go/manager-api/build-tools && lua schema-sync.lua > /go/manager-api/schema.json && cd /go/manager-api/ && rm -rf /go/manager-api/build-tools/' returned a non-zero code: 1

wenlincheng avatar Nov 14 '20 03:11 wenlincheng

@wenlincheng Can you provide more information? like OS , docker, dashboard version

idbeta avatar Nov 14 '20 04:11 idbeta

@wenlincheng please use branch v2.0,and follow the guide: https://github.com/apache/apisix-dashboard/blob/v2.0/docs/deploy-with-docker.md

nic-chen avatar Nov 14 '20 05:11 nic-chen

@wenlincheng Can you provide more information? like OS , docker, dashboard version macOS Catalina 10.15.6 Docker version 19.03.13 dashboard version is the master branch I use the docker-compose file in https://github.com/apache/apisix-dashboard/tree/master/compose

wenlincheng avatar Nov 14 '20 06:11 wenlincheng

@wenlincheng could you try the 2.0 branch? It is easier https://github.com/apache/apisix-dashboard/blob/v2.0/docs/deploy-with-docker.zh-CN.md

idbeta avatar Nov 14 '20 09:11 idbeta

@wenlincheng hi, we are working on the v2.0 branch currently, please deploy according to the docs in the previous comment.

juzhiyuan avatar Nov 14 '20 12:11 juzhiyuan

I solved the problem by using the v2-rc3 version, thanks!

wenlincheng avatar Nov 15 '20 02:11 wenlincheng