当前位置: 首页 > 工具软件 > CFoundry > 使用案例 >

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

苗盛
2023-12-01
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"}

 类似资料:

相关阅读

相关文章

相关问答