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

pushing to fresh heroku app fails #425

Open
btbonval opened this issue Mar 16, 2015 · 2 comments
Open

pushing to fresh heroku app fails #425

btbonval opened this issue Mar 16, 2015 · 2 comments

Comments

@btbonval
Copy link
Member

I pushed a branch to Beta's Heroku app, the build went fine, everything installed, and beta was updated.

I created a super fresh Heroku app, pushed the exact same branch to that app, and the build installed pip, but then failed to find pip when installing pip requirements.

As a workaround, I grabbed the precompiled slug from production and crammed it into the fresh app, then pushed the branch to the fresh app. I initially pushed the new branch, but that ran into some weird Django db synchronization issue. I had to push the old master which matched production's slug; that compiled properly and got the Heroku app ready to run. I was then able to push the new branch and run code on the slug clone. Super annoying!

It seems that something is not idempotent about the buildpack or something is missing from the buildpack?

I did notice that DJANGO_SETTINGS_MODULE was missing from the config vars after I had already cloned the slug. That should be unrelated. Worth a test against a new Heroku app to see if it makes a difference.

@btbonval btbonval added the bug label Mar 16, 2015
@btbonval
Copy link
Member Author

EDIT:

how to clone a slug. Prepare an API key for use with curl:
https://devcenter.heroku.com/articles/platform-api-quickstart#calling-the-api

Run these API commands using curl:
https://devcenter.heroku.com/articles/platform-api-copying-slugs

@btbonval
Copy link
Member Author

We can hope that this will be addressed while fixing #426 .

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

No branches or pull requests

1 participant