Thursday, November 27, 2014

Bluemix troubleshooting -> An application cannot be staged by using a custom buildpack

You might not be able to deploy an application to Bluemix by using a custom buildpack if the scripts within the buildpack are not executable.
When you deploy an application to Bluemix by using a custom buildpack, you see the error message, The application failed to stage, so there are no instances to display.
This problem might happen if scripts, such as the detect script, the compile script, and the release script, are not executable.
You can use the git update command to change the permission of each script to "executable". For example, you can type git update --chmod=+x script.sh.

No comments:

Post a Comment