Coder Social home page Coder Social logo

Comments (7)

robguthrie avatar robguthrie commented on June 9, 2024

Sorry if this this not the right repo to post this.. I'm not completely sure what part of the system is failing right now.

from dokku-alt.

ayufan avatar ayufan commented on June 9, 2024

Sure and no problem. I will be glad to help.

Heroku recently started messing with buildpacks by upgrading them to a new
cedar-14 stack. Dokku-alt image on the other side is precompiled, built
when commit is pushed to ITS github repository. You can force to always be
it up to date by forcing custom buildpack. In this case:
https://github.com/heroku/heroku-buildpack-ruby. When building the app,
buildpack will be redownloaded. Try with that first.

Kamil
On Oct 9, 2014 1:04 AM, "Robert Guthrie" [email protected] wrote:

Sorry if this this not the right repo to post this.. I'm not completely
sure what part of the system is failing right now.


Reply to this email directly or view it on GitHub
#58 (comment).

from dokku-alt.

robguthrie avatar robguthrie commented on June 9, 2024

Thanks for the quick response @ayufan. I'm finding that when I set a BUILDPACK_URL the process seems to hang on Fetching custom buildpack. Should it take a very long time? IE: more than 5 minutes? (I'm using a VPS on Digital Ocean.. and have tried a few build packs)

Also I'm not entirely sure about what a valid buildpack url is. I see some people reference the url like you did: https://github.com/heroku/heroku-buildpack-ruby and some append .git on the end: https://github.com/heroku/heroku-buildpack-ruby.git which is the right format?

from dokku-alt.

ayufan avatar ayufan commented on June 9, 2024

Both of them are just right. No it shouldn't be. How it works for you from
command line? Maybe you have some problems with connectivity in containers?
Try to spawn shell to test it:

docker run -i -t ayufan/dokku-alt-buildstep:foreman /bin/bash

And execute git and curl command in it.
On Oct 9, 2014 1:24 AM, "Robert Guthrie" [email protected] wrote:

Thanks for the quick response @ayufan https://github.com/ayufan. I'm
finding that when I set a BUILDPACK_URL the process seems to hang on
Fetching custom buildpack. Should it take a very long time? IE: more than 5
minutes? (I'm using a VPS on Digital Ocean.. and have tried a few build
packs)

Also I'm not entirely sure about what a valid buildpack url is. I see some
people reference the url like you did:
https://github.com/heroku/heroku-buildpack-ruby and some append .git on
the end: https://github.com/heroku/heroku-buildpack-ruby.git which is the
right format?


Reply to this email directly or view it on GitHub
#58 (comment).

from dokku-alt.

robguthrie avatar robguthrie commented on June 9, 2024

You're on to it.

oot@21e1dc3058e1:/# wget https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/bundler-1.6.3.tgz
--2014-10-08 23:31:39--  https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/bundler-1.6.3.tgz
Resolving s3-external-1.amazonaws.com (s3-external-1.amazonaws.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address `s3-external-1.amazonaws.com'
root@21e1dc3058e1:/# git clone https://github.com/heroku/heroku-buildpack-ruby
Cloning into 'heroku-buildpack-ruby'...
error: Couldn't resolve host 'github.com' while accessing https://github.com/heroku/heroku-buildpack-ruby/info/refs
fatal: HTTP request failed

This is my resolv.conf inside the container..

root@21e1dc3058e1:/# cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
nameserver 8.8.8.8

Maybe I should disable ipv6?

from dokku-alt.

ayufan avatar ayufan commented on June 9, 2024

You can do it or you can force to use custom DNS in /etc/default/docker.
Maybe it helps.
On Oct 9, 2014 1:33 AM, "Robert Guthrie" [email protected] wrote:

You're on to it.

oot@21e1dc3058e1:/# wget https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/bundler-1.6.3.tgz
--2014-10-08 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/bundler-1.6.3.tgz--2014-10-08 23:31:39-- https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/bundler-1.6.3.tgz
Resolving s3-external-1.amazonaws.com (s3-external-1.amazonaws.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address `s3-external-1.amazonaws.com'

root@21e1dc3058e1:/# git clone https://github.com/heroku/heroku-buildpack-ruby
Cloning into 'heroku-buildpack-ruby'...
error: Couldn't resolve host 'github.com' while accessing https://github.com/heroku/heroku-buildpack-ruby/info/refs
fatal: HTTP request failed

This is my resolv.conf inside the container..

root@21e1dc3058e1:/# cat /etc/resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
nameserver 8.8.8.8

Maybe I should disable ipv6?


Reply to this email directly or view it on GitHub
#58 (comment).

from dokku-alt.

robguthrie avatar robguthrie commented on June 9, 2024

Thanks for all your help @ayufan. Disabling ipv6 worked around my issues. Really really appreciate your quick and useful help. :)

from dokku-alt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.