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

unable to resolve github.com #1

Open
JOduMonT opened this issue Jul 14, 2017 · 7 comments
Open

unable to resolve github.com #1

JOduMonT opened this issue Jul 14, 2017 · 7 comments

Comments

@JOduMonT
Copy link

Hi Jeff;

when I try to make the container image I systematic receive this error

[...]
install: git
dab exec git clone https://github.com/YunoHost/install_script /tmp/install_script
Cloning into '/tmp/install_script'...
> fatal: unable to access 'https://github.com/YunoHost/install_script/': Could not resolve host: github.com
ve_exec failed - status 128
ve_exec failed - status 128
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 128

perhaps my host is able to resolve and ping github ;)

r**t@proxmox:/var/lib/vz/template/builds/yunohost-proxmox/yunohost# ping github.com
PING github.com (192.30.253.112) 56(84) bytes of data.
64 bytes from 192.30.253.112 (192.30.253.112): icmp_seq=1 ttl=57 time=81.1 ms
[...]

I'm really new with DAB and this is my first template I try to create so it's probably something I'm missing ;)

I hope you will be able to help me

Jonathan

@scith
Copy link
Owner

scith commented Jul 15, 2017

Hi, I'm new with dab as well and let me start by saying that this repo doesn't work so far, sorry...
It was a test which I couldn't make work.

Now I know that the problem with this is that the dab template creator has no access to the internet. It is therefore impossible to install from the official yunohost manual or git clone.

One solution may be to create a script that installs yunohost on first boot. It doesn't look good but I think that's the "official way" given what I saw for the WordPress dab and other templates

Sorry but so far I couldn't succeed so this repo is on hold. Feel free to contribute though

Thanks

@JOduMonT
Copy link
Author

Thank for your fast answer
i'll look how https://github.com/ngardiner/dab_templates do it
because he is DAB Template works well and he have one for debian 8

@scith
Copy link
Owner

scith commented Jul 16, 2017

Nice find!! We need to pit yunohost install in the first boot file I believe.

@JOduMonT
Copy link
Author

JOduMonT commented Jul 17, 2017

Sorry to break you're dream but

Debian LXC image using init.d and
Yunohost, at least stable, only support Systemd

image

So even you're able to fix the DNS issue you will have way bigger challenge waiting for you :)

All so;

I don't know why but this morning (Bangkok hour) github certificate was rejected by Debian 8.8
so I had to shutdown the git sslVerification with :

git config --global http.sslVerify false

PS: after few research, but I did test I found this
which explain 2 workarounds
https://forum.proxmox.com/threads/debian-8-6-lxc-template-with-systemd-feature-request.30212/

Goodluck

@scith
Copy link
Owner

scith commented Jul 17, 2017

Hello, allow me to reopen this because I already managed to incorporate systems in the template :)
Its not pushed yet but I'll try to make this work over the summer thanks to the link you gave

@scith scith reopened this Jul 17, 2017
@JOduMonT
Copy link
Author

so how the template going ? :)

@scith
Copy link
Owner

scith commented Dec 26, 2017

Not moving sorry... I still couldnt figure this github or startup script issue

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

2 participants