GravityProject / gravity

Open source social network built with Meteor
MIT License
131 stars 62 forks source link

Deployment to heroku fails #111

Closed pmuens closed 8 years ago

pmuens commented 8 years ago

This is the output:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags production refs/heads/master:refs/heads/master 
Pushing to git@heroku.com:joingravity.git
remote: Compressing source files... done.        
remote: Building source:        
remote: 
remote: -----> Fetching set buildpack https://github.com/AdmitHub/meteor-buildpack-horse.git... done        
remote: -----> Node.js app detected        
remote: -----> Installing node        
remote: -----> Installing meteor        
remote: Downloading Meteor distribution        
remote: 
remote: #                                                                          1.6%        
remote: ##                                                                         2.9%        
remote: ###                                                                        4.2%        
remote: ###                                                                        5.3%        
remote: ####                                                                       6.7%        
remote: #####                                                                      8.1%        
remote: #######                                                                    9.8%        
remote: ########                                                                  11.4%        
remote: #########                                                                 13.1%        
remote: ##########                                                                14.7%        
remote: ###########                                                               16.3%        
remote: ############                                                              17.9%        
remote: ##############                                                            19.5%        
remote: ###############                                                           21.1%        
remote: ################                                                          22.6%        
remote: #################                                                         23.8%        
remote: #################                                                         24.5%        
remote: ##################                                                        25.2%        
remote: ##################                                                        25.6%        
remote: ###################                                                       26.5%        
remote: ###################                                                       27.0%        
remote: ###################                                                       27.7%        
remote: ####################                                                      28.2%        
remote: ####################                                                      28.9%        
remote: #####################                                                     29.9%        
remote: ######################                                                    30.9%        
remote: ######################                                                    31.6%        
remote: #######################                                                   32.1%        
remote: #######################                                                   32.6%        
remote: #######################                                                   33.1%        
remote: ########################                                                  34.1%        
remote: #########################                                                 35.0%        
remote: #########################                                                 35.5%        
remote: #########################                                                 35.8%        
remote: ##########################                                                36.4%        
remote: ##########################                                                37.0%        
remote: ###########################                                               37.7%        
remote: ###########################                                               38.7%        
remote: ############################                                              39.7%        
remote: #############################                                             41.4%        
remote: ##############################                                            42.3%        
remote: ###############################                                           43.1%        
remote: ###############################                                           43.7%        
remote: ###############################                                           44.4%        
remote: ################################                                          44.7%        
remote: ##################################                                        47.7%        
remote: ####################################                                      51.1%        
remote: #####################################                                     51.8%        
remote: #####################################                                     52.6%        
remote: ######################################                                    52.9%        
remote: ######################################                                    53.8%        
remote: #######################################                                   54.5%        
remote: #######################################                                   55.2%        
remote: ########################################                                  56.5%        
remote: #########################################                                 58.2%        
remote: ###########################################                               60.3%        
remote: #############################################                             62.6%        
remote: ##############################################                            64.5%        
remote: ##############################################                            65.2%        
remote: ###############################################                           66.5%        
remote: #################################################                         68.2%        
remote: ##################################################                        69.9%        
remote: ###################################################                       72.0%        
remote: ####################################################                      73.6%        
remote: #####################################################                     74.6%        
remote: ######################################################                    75.8%        
remote: #######################################################                   77.4%        
remote: ########################################################                  77.9%        
remote: ########################################################                  78.5%        
remote: ########################################################                  78.9%        
remote: #########################################################                 79.5%        
remote: #########################################################                 80.2%        
remote: ##########################################################                80.9%        
remote: ##########################################################                81.5%        
remote: ##########################################################                81.9%        
remote: ###########################################################               82.2%        
remote: ###########################################################               82.7%        
remote: ###########################################################               83.3%        
remote: ############################################################              84.2%        
remote: #############################################################             84.8%        
remote: #############################################################             85.9%        
remote: ##############################################################            86.8%        
remote: ###############################################################           87.9%        
remote: ###############################################################           88.4%        
remote: ################################################################          89.0%        
remote: ################################################################          89.5%        
remote: ################################################################          90.0%        
remote: ################################################################          90.3%        
remote: #################################################################         91.0%        
remote: #################################################################         91.4%        
remote: ##################################################################        91.8%        
remote: ##################################################################        92.0%        
remote: ##################################################################        92.2%        
remote: ##################################################################        92.6%        
remote: ##################################################################        92.7%        
remote: ###################################################################       93.1%        
remote: ###################################################################       93.7%        
remote: ####################################################################      94.5%        
remote: ####################################################################      95.2%        
remote: ####################################################################      95.8%        
remote: #####################################################################     96.4%        
remote: #####################################################################     97.0%        
remote: ######################################################################    97.6%        
remote: ######################################################################    98.2%        
remote: #######################################################################   99.4%        
remote: ######################################################################## 100.0%        
remote: 
remote: Meteor 1.3.1 has been installed in your home directory (~/.meteor).        
remote: 
remote: Now you need to do one of the following:        
remote: 
remote:   (1) Add "$HOME/.meteor" to your path, or        
remote:   (2) Run this command as root:        
remote:         cp "/tmp/buildpack20160408-160-m9r7jv/meteor-Sy6x/.meteor/packages/meteor-tool/1.3.1/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor        
remote: 
remote: Then to get started, take a look at 'meteor --help' or see the docs at        
remote: docs.meteor.com.        
remote: -----> Upgrading meteor to METEOR@1.2.1        
remote: Installed. Run 'meteor update --release 1.2.1' inside of a particular project        
remote: directory to update that project to Meteor 1.2.1.        
remote: -----> Bundling bundle        
remote: 
remote: 
remote: While removing platforms:        
remote: error: android: platform is not in this project        
remote: 
remote: -----> Building Meteor with ROOT_URL: http://joingravity.com        
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No description        
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.        
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No README data        
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No license field.        
remote: 
remote: > fibers@1.0.5 install /tmp/build_11f495a8dcb63711a5845f1cfc9eb699/.meteor/heroku_build/app/programs/server/node_modules/fibers        
remote: > node ./build.js        
remote: 
remote: `linux-x64-v8-3.14` exists; testing        
remote: Binary is fine; exiting        
remote: ansi-regex@0.2.1 node_modules/ansi-regex        
remote: 
remote: ansi-styles@1.1.0 node_modules/ansi-styles        
remote: 
remote: escape-string-regexp@1.0.3 node_modules/escape-string-regexp        
remote: 
remote: supports-color@0.2.0 node_modules/supports-color        
remote: 
remote: strip-ansi@0.3.0 node_modules/strip-ansi        
remote: 
remote: has-ansi@0.1.0 node_modules/has-ansi        
remote: 
remote: chalk@0.5.1 node_modules/chalk        
remote: 
remote: eachline@2.3.3 node_modules/eachline        
remote: 
remote: type-of@2.0.1 node_modules/type-of        
remote: 
remote: amdefine@1.0.0 node_modules/amdefine        
remote: 
remote: asap@2.0.3 node_modules/asap        
remote: 
remote: underscore@1.5.2 node_modules/underscore        
remote: 
remote: meteor-promise@0.5.0 node_modules/meteor-promise        
remote: 
remote: promise@7.0.4 node_modules/promise        
remote: 
remote: source-map-support@0.3.2 node_modules/source-map-support        
remote: 
remote: semver@4.1.0 node_modules/semver        
remote: 
remote: source-map@0.1.32 node_modules/source-map        
remote: 
remote: fibers@1.0.5 node_modules/fibers        
remote: -----> Adding PATH environment        
remote: -----> Running extras        
remote: -----> Adding MONGOHQ_URL -> MONGO_URL env        
remote: -----> Adding MONGOLAB_URI -> MONGO_URL env        
remote: -----> Installing phantomjs.        
remote: bzip2: (stdin) is not a bzip2 file.        
remote: tar: Child returned status 2        
remote: tar: Error is not recoverable: exiting now        
remote: 
remote:  !     Push rejected, failed to compile Node.js app        
remote: 
remote: Verifying deploy...        
remote: 
remote: !   Push rejected to joingravity.        
remote: 
To git@heroku.com:joingravity.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:joingravity.git'
Completed with errors, see above
mattvella07 commented 8 years ago

@pmuens Is this bug still open? I noticed the site is live so I wanted to check.

pmuens commented 8 years ago

Yes, I tried to deploy it but it fails. But heroku doesn't roll out the new code if it fails (the only version is currently at ad57444b0ac7001ab6955c9813cca98ccb333c81)

mattvella07 commented 8 years ago

Are there any more detailed error logs you could post?

pmuens commented 8 years ago

Unfortunately not. This is the only log I got.

mattvella07 commented 8 years ago

Ok, well based on that screenshot maybe look at this: http://stackoverflow.com/questions/3950839/tar-error-is-not-recoverable-exiting-now

zaverichintan commented 8 years ago

Is it some issue related to latest meteor version?

pmuens commented 8 years ago

It seems like it's related as it surfaced when Meteor 1.3 came out.

mattvella07 commented 8 years ago

I noticed that we are using node version 0.10.40 and according to this link: https://forums.meteor.com/t/deploying-a-meteor-1-3-app-on-heroku/21500 we should try uninstalling it and installing node version 0.10.36

pmuens commented 8 years ago

Hey @mattvella07 Thank you for pointing that out!

diegonc commented 8 years ago

It's an error triggered when the buildpack downloads phamtomjs. It comes and goes, so try a few times until it works.

https://github.com/AdmitHub/meteor-buildpack-horse/issues/83 https://github.com/AdmitHub/meteor-buildpack-horse/issues/51

pmuens commented 8 years ago

@diegonc Thanks for pointing that out!

macsj200 commented 8 years ago

Also getting this issue, wondering is it necessary to install phantomjs as a dep?

zaverichintan commented 8 years ago

https://github.com/AdmitHub/meteor-buildpack-horse/pull/94 This has been solved I deployed it on heroku. Should we Implement github connect on heroku (master branch is deployed) ?

pmuens commented 8 years ago

That sounds like a good addition!

zaverichintan commented 8 years ago

I think the issue is solved.