Error deploying to geroku

Please, help. I absolutely do not know what happened. The rails application runs on my local machine.

If I do this:

git push heroku master

I get this:

Counting objects: 4195, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3944/3944), done.
Writing objects:  72% (3009/4178), 9.99 MiB | 73 KiB/s
Compressing objects: 100% (3944/3944), done.
**Connection to 10.46.xxx.xxx closed by remote host.KiB/s   
error: pack-objects died of signal 13
error: failed to push some refs to 'git@heroku.com:gentle-rain-xxxx.git**
+5
source share
4 answers

I just did 24 hours of this hell. I re-cloned the repositories, destroyed the applications, repacked, cropped ... as many as 9 yards.

It turned out that I had a .txt file of ~ 250 MB in size, which, although I deleted it from my main branch, was still present in my local (as well as in github) cache.

I checked this page and accidentally found my answer here: https://help.github.com/articles/remove-sensitive-data

.txt doc/, , ​​ .

git filter-branch --index-filter 'git rm --cached --ignore-unmatch doc/US.txt'

, , - , 13.

+5

130 . , .

, git / Heroku, , "" .

/ , EC2, github. , 4MiB/s (, 80KiB/s!). , , - , .

, , EC2 : http://omegadelta.net/2013/06/16/pushing-large-repositories-to-heroku/

+3

, , . , . :

This seems to be due to a change in our git server at our end. I will be following our engineers to make sure that we get a permanent fix for this. -Chris

+1
source

It seems like it's just a timeout from too much push.

I got around this by doing a git reset for SHA, which was about 500 commits back, by clicking this and then clicking the rest of my repo.

+1
source

All Articles