Error pushing changes to cloud foundry

有些话、适合烂在心里 提交于 2019-12-10 09:31:14

问题


from my local host, I connected to blue mix with

 cf api https://api.ng.bluemix.net

I logged in and then I pushed the changes with

 cf push

However, in the console,

 Uploading MY_PROJECT...
 Uploading app files from: /Users/MyName/Documents/MY_PROJECT
 Uploading 437.7K, 386 files
 Done uploading               
 FAILED
 Error processing app files: Error uploading application.
 The resource file mode is invalid: File mode '0444' is invalid.
 (venv) My-iMac:MY_PROJECT MyName$ 

How do I trouble shoot this?


回答1:


According to this link: https://github.com/cloudfoundry/cli/issues/685 the file mode must be at least 600 so I guess you should "raise" the permissions for your resources folder, even if 444 would be technically ok.

Concerning troubleshooting: the error message is right there in your output. If you need more log output, you can use the command

cf logs APP-NAME

See https://docs.cloudfoundry.org/devguide/deploy-apps/streaming-logs.html for further details.



来源:https://stackoverflow.com/questions/40201056/error-pushing-changes-to-cloud-foundry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!