Hello,
I wanted to update pi-hole with “pihole -up”. Unfortunately it got stuck during the update and I had to restart manually. Now I get the following error message:
root@DietPi:~# dietpi-update
DietPi-Update
─────────────────────────────────────────────────────
Phase: Checking for available DietPi update
[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6
curl: (6) Could not resolve host: raw.githubusercontent.com
[ INFO ] DietPi-Update | No response from: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6 ()
[ INFO ] DietPi-Update | Checking mirror: https://dietpi.com/downloads/dietpi-update_mirror/master/server_version-6
curl: (6) Could not resolve host: dietpi.com
[ INFO ] DietPi-Update | No response from: https://dietpi.com/downloads/dietpi-update_mirror/master/server_version-6 ()
[FAILED] DietPi-Update | Unable to access any update server. Please check your network connection, then rerun dietpi-update.
If this error persists, please report at: https://github.com/MichaIng/DietPi/issues
With “dietpi-software” I get the same message as above.
There is another emby server installed and just pi-hole, but neither of them has access to the Internet, it seems. In the pi-hole dashboard, Status says “unknown”. This also does not start.
What else could I try?
Sorry for my bad English
Many greetings
Edit:
In DietPi-Config by Ethernet-Details i get this:
Yep but first we need to switch DNS setting from local 127.0.0.1 to a public one like 1.1.1.1 or 8.8.8.8 to be able to download the new PiHole software.
Ok, i changed in sudo nano /etc/network/interfaces
the dns-namservers from 1.1.1.1. 1.0.0.1. to 8.8.8.8.
# Please modify network settings via: dietpi-config
# Or create your own drop-ins in: /etc/network/interfaces.d/
# Drop-in configs
source interfaces.d/*
# Local
auto lo
iface lo inet loopback
# Ethernet
allow-hotplug eth0
iface eth0 inet static
address 192.168.178.30
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 8.8.8.8.
# WiFi
#allow-hotplug wlan0
iface wlan0 inet dhcp
address 0.0.0.0
netmask 0.0.0.0
gateway 0.0.0.0
#dns-nameservers 0.0.0.0
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Then i restart, but this doesn´t help. When I log in via ssh i get in the Header this:
DietPi v6.28.0 : 21:22 - Mi 04.03.2020
─────────────────────────────────────────────────────
- Device model : RPi 3 Model B+ (armv7l)
- CPU temp : 39'C : 102'F (Cool runnings)
- LAN IP : 192.168.178.30 (eth0)
curl: (6) Could not resolve host: dietpi.com
────────────────────────────────────────────────
If you can’t make it today, it’s no problem. It’s late here too