Error while Upgrading 120 > 122

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
beerenheini
Posts: 16
Joined: Tue Mar 15, 2016 2:56 pm

Error while Upgrading 120 > 122

Post by beerenheini »

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?
Attachments
Bildschirmfoto 2016-07-10 um 14.02.31.png
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Error while Upgrading 120 > 122

Post by Fourdee »

beerenheini wrote: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:

Code: Select all

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: http://dietpi.com/phpbb/viewtopic.php?f ... rt=20#p174.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
beerenheini
Posts: 16
Joined: Tue Mar 15, 2016 2:56 pm

Re: Error while Upgrading 120 > 122

Post by beerenheini »

Thank you Fourdee!

Code: Select all

# 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.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Error while Upgrading 120 > 122

Post by Fourdee »

beerenheini wrote:Thank you Fourdee!

Code: Select all

# 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:

Code: Select all

dns-nameservers 127.0.0.1
You can either change that line to:

Code: Select all

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 :)

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.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
beerenheini
Posts: 16
Joined: Tue Mar 15, 2016 2:56 pm

Re: Error while Upgrading 120 > 122

Post by beerenheini »

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

Code: Select all

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

Thanks again, problem solved.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Error while Upgrading 120 > 122

Post by Fourdee »

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

Code: Select all

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

Thanks again, problem solved.
Great to hear, thanks for letting me know :D
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply