michaelsnowden
michaelsnowden

Reputation: 6192

Heroku push failed with weird error message

I've had a Django app running on Heroku for a while now.

Couldn't find this error online when it came up:

$ git push heroku master
...
remote: -----> Uninstalling stale dependencies
...
remote:      $ pip install -r requirements.txt
remote: 
remote:      $ python manage.py collectstatic --noinput
remote:        66 static files copied to '/tmp/build_2271dc3bd9820ee9e10847bbab5f6b47/xxx/staticfiles', 66 post-processed.
remote: 
remote: mv: inter-device move failed: ‘/app/.heroku/src’ to ‘/tmp/build_2271dc3bd9820ee9e10847bbab5f6b47/.heroku/src’; unable to remove target: Is a directory
remote:  !     Push rejected, failed to compile Python app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !       Push rejected to xxx.
remote: 
To https://git.heroku.com/....git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/xxx.git'
$

I tried running git push heroku +master also and that didn't work either.

Any ideas?

EDIT: Looks like this was probably a bug on Heroku's part because it just resolved itself for myself and @Wei at the same time.

Upvotes: 3

Views: 122

Answers (1)

polloss
polloss

Reputation: 416

It looks like the Heroku team was updating some stuff and damaged the python buildpack.

In the meantime, a few developers went crazy trying to figure out what the h*** happened (myself included).

Upvotes: 1

Related Questions