-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
dietpi-update failure #3555
Comments
Hi, many thanks for your report. Your issue is not the internet connectivity in general. It looks like your have issue to resolve specific DNS like |
|
can you try |
Fixed it by: dietpi-config Also trimming out on boot for tymesync, fixed. |
Wrong topic? #3558 (comment) Disabling time sync without any alternative will break network access completely, at least all HTTPS traffic and that is ~99% of what we do. But if one has another time sync daemon (ntp, htpdate ntpdate (outdated), chrony, openntpd, ntpsec, ...) then |
yep wrong topic replay. Unfortunately it's not possible to move like on a forum 😄 |
Yes I am missing this feature as well. |
root@DietPi:~# wget --spider https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt |
@jjmcmahon |
[FAILED] DietPi-Set_software | Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
[FAILED] DietPi-Set_software | Unable to continue, DietPi-Set_software will now terminate. |
quite strange, the command failing is Still looks like some DNS issues as the host can't be resolved But why is it working manually? |
Its really weird, i tried a lot of stuff before reverting all of my changes in an attempt to not have to post an issue. I actually did a full reinstall on a separate pi and card and i was able to install as 6.30 but was having a similar issue. One bit of info i noticed is that things seemed ok when i was on wifi but when i connected it to ethernet, That is when i saw the "internet connection test" start failing. |
do you have connected both, WiFi as well as Ethernet connected same time (together)? |
I have tried the various methods: When Reporting this issue here: After you asked, i did the following: Results after disabling Wifi: Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt │ |
After the above i got the following: ----dietpi-update failure----
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
[FAILED] DietPi-Set_software | Unable to continue, DietPi-Set_software will now terminate. ----Ran Manually---- ----Ran Manually---- ----Notes---- |
Since it "only" times out, how long does it actually take?
Probably increasing timeout already solves the issue? |
or select maybe a latency issue on the Ethernet connection? |
Indeed, however since this will be not the only case likely, good to use a persistent solution. Also, if resolving really takes more then 5 seconds, network + resolver choice should be checked since this should take less then 0.5 seconds. But I saw this quite often, not the network was the issue, but indeed the resolver itself in some cases, not sure why. But switching it could at least be tested, when using static IP already: |
I had the same issue. Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
I performed all the tests jjmcmahon did, all with success. Changing the time out setting resolved the issue. It takes: real 0m5.359s |
Thanks for testing. We changed the default to 10 seconds meanwhile, though this is active for new images only since we do not want to override user choices in While this was a step to cover quite a significant number of cases where 5 seconds was/is not enough, I am still wondering where this long resolving times come from.
On DietPi/Linux/UNIX shell:
My output on Windows:
On DietPi:
|
well usually there should not be any differences between DHCP and STATIC IP as if the DNS Server is know, the request will go to it. Doesn't matter how it was assigned. Or am I wrong? Interesting would be why resolution takes that long. And if changing DNS Server could improve situation. BTW on my system it's as follow
|
I just asked since with DHCP one cannot manually assign a DNS nameserver as this is assigned via DHCP then, likely the local ISP resolver or router cache. If one switched to static IP, the resolver can be switched easily to a different upstream DNS (or even using the local gateway/router instead) can be tested to solve the issue.
Good to know that your results match mine very closely. Of your Ethernet vs WiFi plays a role as well. |
A yeah that's correct. |
Im running macOS. I use static IP assignment. Everything is wired. im connected by Fiber. My DNS server on my DietPi is supposed to be pointing to cloudflare or my pihole, which is running on this machine as well. But for whatever reason it says 10.16.0.1? Im also running a VPN server, but thats on a different subnet (172.16.0.0/24). I died try to re-apply the settings as specified and rebooted, but that didnt change. timings on macOS: real 0m0.376s |
what version of PiHole you are using? |
Please also paste the output of:
|
10.16. probably was the vpn server, when i changed it to 172.16. because of the usage of multiple VPN connections and overlapping subnets.
I dont and never owned a fritz box router/modem.
the latest. |
This must be the content of a backup file when resolvconf was installed, might be even from my building VM, since I had a Fritz!Box router 😅. However it has no effect, the effective entries are:
Could you try:
This should update the resolver based on static DNS entry in |
I tried:
|
@prov3it
|
I mark this as closed. Feel free to reopen if issue is still present. |
Okay, i haven't been contributing to this issue anymore, but its still present. In my case the issue is originating from having set up a openvpn server and alter the subnet in the /etc/openvpn/server.conf file. The old server address was still being used for dns. doing a Removing /etc/resolvconf/run/interface/tun1.openvpn was not an option. Its recreated after reboot. /etc/resolvconf/run/resolv.conf is linked to /etc/resolv.conf. Altering /etc/resolv.conf was my temp solution. To answer your previous question:
The strangest thing is, 10.16.0.* is not the subnet used by pivpn, its 10.8.0.. I changed it to 172.16.0.. Where is this 10.16.0.1 coming from?! |
Not sure how this And for the VPN server it does not make any sense to mess with the DNS entries at all, while this only makes sense for the clients to prevent DNS leaks... I'm confused here as well. I'd go through all OpenVPN and PiVPN settings and as well remove |
Creating a bug report/issue
Required Information
Additional Information (if applicable)
Network Adapter Test Also Failing
Steps to reproduce
Expected behaviour
Update successful
Actual behaviour
Update Failure - Screenshot attached
Extra details
Ping google.com works
apt-update & apt-upgrade work
IPV6 is off
i attempted Joulinar's fix but that didn't work either
attempted changing repos, ntp, static/dhcp, wifi/eth
root@DietPi:~# ping -4 -c 1 google.com
PING google.com (172.217.9.14) 56(84) bytes of data.
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=1 ttl=56 time=20.9 ms
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 20.854/20.854/20.854/0.000 ms
root@DietPi:~#
The text was updated successfully, but these errors were encountered: