Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy #2

Open
FelixPfrunder opened this issue Jul 5, 2018 · 1 comment
Open

Cannot deploy #2

FelixPfrunder opened this issue Jul 5, 2018 · 1 comment

Comments

@FelixPfrunder
Copy link

I get the error message:

2018-07-05T10:07:54.13+0200 [STG/0] OUT Cell d055ba28-a3ca-48cd-ad24-932d93b0f3fe successfully created container for instance dca2aece-7858-45cf-bb2f-ea5bbc0731be
2018-07-05T10:07:54.13+0200 [STG/0] OUT Downloading app package...
2018-07-05T10:07:54.94+0200 [STG/0] OUT Downloaded app package (6.9M)
2018-07-05T10:07:58.66+0200 [STG/0] ERR None of the buildpacks detected a compatible application
2018-07-05T10:07:58.67+0200 [STG/0] OUT Exit status 222
2018-07-05T10:07:58.70+0200 [STG/0] OUT Cell d055ba28-a3ca-48cd-ad24-932d93b0f3fe stopping instance dca2aece-7858-45cf-bb2f-ea5bbc0731be

@ampersand8
Copy link

Unfortunately I could not reproduce this behaviour. Did you do the following steps?

git clone https://github.com/swisscom/cf-sample-app-python
cd cf-sample-app-python
cf push my-python-app -m 128M --random-route

With cf buildpacks you can check whether the python_buildpack is available and if not, you might want to try defining the buildpack explicitly with cf push my-python-app -m 128M --random-route -b https://github.com/cloudfoundry/buildpack-python.git.

If you're not using the sample app, be aware that requirements.txt or setup.py need to be present in your root app folder for automatic buildpack detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants