Error while Upgrading 120 > 122

Hi friends,

I’m getting an error when I try to update to the latest version on the Raspberry Pi 3. I think it hast something to do with dnsmasq, because after the error pi-hole stops working and no DNS can be resolved. I have to reboot the device to fix it. Do you have any advice on how to perform the update?

Hi,

Please paste results of the following, hide any wifi keys:

cat /etc/network/interfaces

Also, please see “On your Pi-hole device, you will need to set a different DNS server.” section here to setup a static IP and change DNS server for the device: https://dietpi.com/forum/t/dietpi-survey-information/32/1

Thank you Fourdee!

# cat /etc/network/interfaces
#/etc/network/interfaces
#Please use DietPi-Config to modify network settings.

# Local
auto lo
iface lo inet loopback

# Ethernet
allow-hotplug eth0
iface eth0 inet static
metric 0
address 192.168.178.3
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 127.0.0.1

# Wifi
#allow-hotplug wlan0
iface wlan0 inet static
metric 1
address 192.168.178.3
netmask 255.255.255.0
gateway 192.168.178.1
wireless-essid Not_Set
wireless-key Not_Set
wireless-mode Managed
wireless-power off
wpa-ssid Not_Set
wpa-psk Not_Set
#dns-nameservers 8.8.8.8 8.8.4.

I’ll have a look at the tutorial. I’ve installed Pi-hole via the method provided from the developer btw.

Found the issue:

dns-nameservers 127.0.0.1

You can either change that line to:

dns-nameservers 8.8.8.8 8.8.4.4

Or use dietpi-config 8 1 as per the doc link I gave you above.

I’ve installed Pi-hole via the method provided from the developer btw

No worries.
With DietPi, you can either use dietpi-software to install a stable version, or manually install. The choice is yours :slight_smile:

Either way, by using the DietPi image, you’ll get the performance boost from DietPi RAMlog, and a true minimal installation when compared to Raspbian Lite.

Thank you! That did the trick. I’m using DietPi. I meant that I’ve installed pi-hole by

curl -L https://install.pi-hole.net | bash

:slight_smile:

Thanks again, problem solved.

Great to hear, thanks for letting me know :smiley: