CFoundry::AppPackageInvalid: 150001: The app package is invalid: failed repacking application

来源:互联网 发布:知乎ios7 编辑:程序博客网 时间:2024/05/16 07:20
vagrant@cf-test:/vagrant/test/fixtures/apps/nodejs$ cf push
Using manifest file manifest.yml

Creating hello-node... OK

Binding hello-node.192.168.12.34.xip.io to hello-node... OK
Uploading hello-node... FAILED
Upload failed. Try again with 'cf push'.
CFoundry::AppPackageInvalid: 150001: The app package is invalid: failed repacking application


sudo chroot 到stemcell中手动安装

首先

 apt-get update 

然后

apt-get install quota gcc iptables zip

 应该是这个问题,以此为记


check cloudcontroller.log


{"timestamp":1429593782.0250583,"message":"failed command out: '', err: '/bin/sh: 1: zip: not found\n'","log_level":"error","source":"cc.ap","data":{"request_guid":"cef188b7-2586-49cf-8201-1125a674247a"},"thread_id":32484460,"fiber_id":23608400,"process_id":3953,"file":"/vagrant/cloud_controller_ng/lib/cloud_controller/app_package.rb","lineno":208,"method":"run"}

0 0
原创粉丝点击