-
-
Notifications
You must be signed in to change notification settings - Fork 501
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 install Pi-Hole #4061
Comments
Hi, Many thanks for your message. Maybe a temporary issue to download Pihole install script. Can you run manually |
Thanks for your help! I tried that and this is the response I get.. Logfile attached. Click to expand!
|
ok looks like there was a temp issue at PiHole side. I had similar behaviour during my test but it is gone now. At least I could complete a test installation. can you try again be running |
Hello, |
hmm I did another test and for me this is working without issues. Are you able to open https://install.pi-hole.net on a browser on your computer? It should display the PiHole install script code |
thank you again for your help. I am able to get to that website from my computer and just to double-check I used "wget" on my dietpi to download it too which worked fine. not sure if this will help but I also noticed recently that the following message shows up right below the MOTD when I log into dietpi: |
well there is a way to change from Line 4210 in b354689
now change save the file and run installation again |
This is btw not uncommon since we limit connections to two seconds for the banner, so that login does not hang too long. Still an outstanding task to optionally receive those info via background jobs instead so that the banner script itself does not need to perform any network connection. |
@MichaIng Should we probably adjust? |
I just migrated all @theChef613 did you try to increase the connection test timeout via Btw, the connection check failed, not the script download itself, so when you want to instead test the install with wget, replace:
with
and in case the script download itself fails as well (although there is no limited timeout set for this), the command as mentioned by Joulinar: #4061 (comment) |
Hello, |
Okay, good that it worked that way. To get some more info around your issue, I saw that the manual curl call above as well timed out on DNS resolution after default 5 seconds. Could you check how long wget actually needed to resolve the hostname?
In case it's also a few seconds, which DNS server are you using?
|
hi. thank you again for helping resolve this issue. really great to see you digging deeper to help others :) The DNS server I'm using is 1.1.1.1 (cloudflare i think?) |
nearly 7 seconds, that's quite long. for me it's 1 seconds
can you try changing DNS to |
Okay, nearly 7 seconds, that is veeery long or DNS resolution 😉. Yes 1.1.1.1 is Cloudflare, which is usually the fastest average server. Yes as Joulinar suggested, probably a different DNS server will work better in your case, but it would be interesting as well if other hostnames resolve similarly slow or if this is install.pi-hole.net only, e.g.:
|
@MichaIng |
i just realized another factor could be that my raspberry pi is actually connected to a wifi extender, not the router itself? I'll try changing the dns server tonight when there arent so many people in the family using the internet. |
Usually the DNS server of the DietPi device should not interfere with the local network. At least it depends where you are going to change the DNS server 🤔 |
Yes, what you change via Also WiFi connection should never lead to a connecting time in the seconds area. Furthermore, if this server should be DNS and in case DHCP for your home network, then + >5 seconds delay for every connection that through that Pi-hole won't be of joy, at least if clients are indeed affected as well. |
I changed the static dns on my dietpi server to something besides my router and its now much quicker! |
so... I just tried to install |
are you able to share the full error message regarding papermc? We are working on couple of enhancement for next release #4039 |
No need to check, is it? Since PaperMC install is indeed currently broken: #4039 |
Hi guys, can this issue be closed? I guess initial issue was fixed. Correct? |
I think so. The initial connection issue with Pi-hole remains unsolved, but it looks like one of these temporary connection issues. The PaperMC case is solved with v6.35. I'll close those. But feel free to reopen if required. |
Creating a bug report/issue
Required Information
DietPi version |
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=34
G_DIETPI_VERSION_RC=3
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Distro version | buster
Kernel version | Linux DietPi 5.10.5-v8+ DietPi-Prep | Minor APT package adjustments #1392 SMP PREEMPT Sat Jan 9 18:56:30 GMT 2021 aarch64 GNU/Linux
SBC model | RPi 4 Model B (aarch64)
Power supply used | Samsung 2A Power supply
SDcard used | 8 Gig Sandisk
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
pi-hole (or papermc) should install
Actual behaviour
curl -ILfvm 10 https://install.pi-hole.net
Extra details
I was able to install MineOS just fine. I made sure it's connected to the internet with the "Test Connection" and it is successful.
Part of the error log below:
The text was updated successfully, but these errors were encountered: