Docverter / docverter

Docverter Server
Other
831 stars 100 forks source link

Heroku deploy recipe fails to compile Multipack app #37

Open pimpin opened 9 years ago

pimpin commented 9 years ago

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 commented 9 years ago

I guess, the default heroku ruby build back has changed... Could it be this change ?

JVM is now available on cedar-14, do not vendor in JVM based on individual gems. If customer needs a specific version they should use multibuildpack with java and ruby buildpacks

pimpin commented 9 years ago

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

flodi commented 9 years ago

Any development on the issue?

pimpin commented 9 years ago

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

unsalted commented 8 years ago

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