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

Heroku deploy recipe fails to compile Multipack app #37

Open
pimpin opened this issue Feb 27, 2015 · 5 comments
Open

Heroku deploy recipe fails to compile Multipack app #37

pimpin opened this issue Feb 27, 2015 · 5 comments

Comments

@pimpin
Copy link

pimpin commented Feb 27, 2015

I followed the recipe in the Readme but I fail.
I make 2 changes adding 2 options on heroku create for app name and server region :
heroku create --region eu --buildpack https://github.com/ddollar/heroku-buildpack-multi.git my-own-docverter
I set the ENV and fail on first app building :

~/workspace/docverter(master)$ git push heroku master                                                                                                                                              
Counting objects: 266, done.                                                                                                                                                                                          
Delta compression using up to 8 threads.                                                                                                                                                                              
Compressing objects: 100% (136/136), done.                                                                                                                                                                            
Writing objects: 100% (266/266), 1.68 MiB | 1.18 MiB/s, done.                                                                                                                                                         
Total 266 (delta 114), reused 266 (delta 114)                                                                                                                                                                         
remote: Compressing source files... done.                                                                                                                                                                             
remote: Building source:                                                                                                                                                                                              
remote:                                                                                                                                                                                                               
remote: -----> Fetching custom git buildpack... done                                                                                                                                                                  
remote: -----> Multipack app detected                                                                                                                                                                                 
remote: =====> Downloading Buildpack: https://github.com/peterkeen/heroku-buildpack-vendorbinaries.git                                                                                                                
remote: =====> Detected Framework: VendorBinaries                                                                                                                                                                     
remote: -----> Found a .vendor_urls file                                                                                                                                                                              
remote:        Vendoring https://s3.amazonaws.com/docverter-binaries/calibre.tar.gz                                                                                                                                   
remote:        Vendoring https://s3.amazonaws.com/docverter-binaries/pandoc-1.12.0.2.tar.gz                                                                                                                           
remote:        Vendoring https://s3.amazonaws.com/docverter-binaries/pandoc-templates-1.12.0.2.tar.gz                                                                                                                 
remote: =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git                                                                                                                             
remote: =====> Detected Framework: Ruby                                                                                                                                                                               
remote: -----> Compiling Ruby/Rack                                                                                                                                                                                    
remote:  !                                                                                                                                                                                                            
remote:  !     An error occurred while installing Ruby ruby-1.9.3-jruby-1.7.4                                                                                                                                         
remote:  !     For supported Ruby versions see https://devcenter.heroku.com/articles/ruby-support#supported-runtimes                                                                                                  
remote:  !     Note: Only the most recent version of Ruby 2.1 is supported on Cedar-14                                                                                                                                
remote:  !     Command: 'set -o pipefail; curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-1.9.3-jruby-1.7.4.tgz -s -o 
- | tar zxf - ' failed unexpectedly:                                                                                                                                                                                  
remote:  !                                                                                                                                                                                                            
remote:  !     gzip: stdin: unexpected end of file                                                                                                                                                                    
remote:  !     tar: Child returned status 1                                                                                                                                                                           
remote:  !     tar: Error is not recoverable: exiting now                                                                                                                                                             
remote:  !                                                                                                                                                                                                            
remote:                                                                                                                                                                                                               
remote:  !     Push rejected, failed to compile Multipack app                                                                                                                                                         
remote:                                                                                                                                                                                                               
remote: Verifying deploy...                                                                                                                                                                                           
remote:                                                                                                                                                                                                               
remote: !       Push rejected to apie-docverter.                                                                                                                                                                      
remote:                                                                                                                                                                                                               
To https://git.heroku.com/my-own-docverter.git                                                                                                                                                                          
 ! [remote rejected] master -> master (pre-receive hook declined)                                                                                                                                                     
error: failed to push some refs to 'https://git.heroku.com/my-own-docverter.git' 

Nota : That might be an issue on ddollar/heroku-buildpack-multi

pimpin referenced this issue Feb 27, 2015
For some reason the unofficial JRuby buildpack that Docverter
had been using started breaking. See this stack overflow for
the cure:

http://stackoverflow.com/questions/9078871/sinatra-jruby-heroku-jruby-no-such-file-or-directory-trinidad-loaderror

This commit adds enough metadata to the Gemfile so that we can
start using the official Heroku Ruby buildpack instead of relying
on the unofficial JRuby buildpack.

Fixes #18
Fixes #19
@pimpin
Copy link
Author

pimpin commented Feb 27, 2015

@pimpin
Copy link
Author

pimpin commented Feb 27, 2015

I made some tries and deploy is still rejected with same reason when removing vendored .buildpacks.

@flodi
Copy link

flodi commented Mar 17, 2015

Any development on the issue?

@pimpin
Copy link
Author

pimpin commented Mar 23, 2015

Sorry no time for it now. I may have a look on thursday to check Richard advise (thanks you @schneems)

@unsalted
Copy link
Contributor

Any news on these issues - ran in to the same issues trying to install today.

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

No branches or pull requests

3 participants