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?


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:

Thank you Fourdee!

# cat /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

# Wifi
#allow-hotplug wlan0
iface wlan0 inet static
metric 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.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:


You can either change that line to:


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 | bash


Thanks again, problem solved.

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