XU4 Internet Connection Test Failed

Trying to install an update on XU4 (currently on DietPi v158) and I am getting:

root@main_server:/home/griff3n# dietpi-update
 [Info] Checking RootFS R/W access. Please wait...
 [Ok] RootFS R/W access.

 Mode: Checking for DietPi updates
 Please wait...

 [Info] Checking Mirror : http://dietpi.com/downloads/dietpi-update_mirror/master/server_version
/DietPi/dietpi/dietpi-update: line 103: curl: command not found
 [Info] No response from: http://dietpi.com/downloads/dietpi-update_mirror/master/server_version
 [Info] Checking Mirror : https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
/DietPi/dietpi/dietpi-update: line 103: curl: command not found
 [Info] No response from: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
 [Failed] Unable to access update servers. Please check your connection, then run dietpi-update again.

When I go into dietpi-config and run the connection test I get a failure too. What’s strange is I can ping google.com from the cli, so i have internet access.

root@main_server:/home/griff3n# ping google.com
PING google.com ( 56(84) bytes of data.
64 bytes from iad30s10-in-f206.1e100.net ( icmp_seq=1 ttl=54 time=15.2 ms
64 bytes from iad30s10-in-f206.1e100.net ( icmp_seq=2 ttl=54 time=16.7 ms
64 bytes from iad30s10-in-f206.1e100.net ( icmp_seq=3 ttl=54 time=16.0 ms
64 bytes from iad30s10-in-f206.1e100.net ( icmp_seq=4 ttl=54 time=16.2 ms
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 15.274/16.075/16.756/0.553 ms

I’m unable to update or install any software through dietpi-software because of this.

I’ve changed from static to DHCP and still no dice.

Any advice?


I recently added a new user to disable root login through SSH. Trying to run the utilities through sudo was not working. I re enabled root login and am now able to run dietpi-update but I get:

 [Failed] Your version of DietPi is now obsolete and cannot be updated.
Please download the latest DietPi image:
 - http://dietpi.com/download

 - Current Version : 158
 - Server Version  : 160

Not sure how to update from from an older version.

To go from v158 to v160 (now known as v6.0) needs a wipe and fresh start.

v159 is the last in the series you are on - I’m not sure what’s stopping you from going to that version.