【发布时间】:2016-10-24 15:02:18
【问题描述】:
每次我尝试执行 git push heroku master 时,我似乎一切正常,但几个小时后它失败了。
错误信息是:
$ git push heroku master
Counting objects: 599, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (318/318), done.
remote: fatal: early EOF
Writing objects: 100% (599/599), 552.65 MiB | 56.00 KiB/s, done.
Total 599 (delta 170), reused 585 (delta 163)
error: unpack failed: index-pack abnormal exit
To https://git.heroku.com/foo.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'https://git.heroku.com/foo.git'
无法解决错误,每次尝试都需要很长时间才会失败。
我是第一次部署项目,如果有比 heroku 更好(和/或更便宜)的东西来上传 rails 项目,我也希望得到一些建议。还有一个很好的教程,因为我需要使用自定义域 (.com) 和所有内容,此时我不确定我必须做什么。
我按照 Heroku 的本教程进行操作: https://devcenter.heroku.com/articles/getting-started-with-rails5
编辑:自从我第一次尝试上传到 heroku 时,我进行了检查,现在我发现第一次错误有所不同,从那时起,我之前评论过的总是相同的错误。这是第一个错误:
git push heroku master
Counting objects: 580, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (462/462), done.
error: unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly | 0 bytes/s
Writing objects: 100% (580/580), 552.65 MiB | 240.00 KiB/s, done.
Total 580 (delta 155), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date
【问题讨论】: