DietPi won't update on RPi2.

I keep getting the following error when trying to update : “Error: Obtained server version value from github is invalid. Please try running dietpi-update again.”.
I have tried fixes suggested here : http://fuzon.co.uk/phpbb/viewtopic.php?f=11&t=362 , no dice.
Installed dietpi fresh from whatever was the latest Jessie image on either March 25th or March 26th.
Bugreport was sent last night, code i got from that was 2720e7db-cddd-40a4-bea8-2b36091b047f-0

Output from using

date
curl -k -L https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-update > /DietPi/dietpi/dietpi-update
dietpi-update

as suggested in the other thread :

root@******:~# date
Sun Apr 24 16:13:01 CEST 2016  # date and time match this
root@******:~# curl -k -L https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-update > /DietPi/dietpi/dietpi-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9960  100  9960    0     0  56085      0 --:--:-- --:--:-- --:--:-- 56271

Error: Obtained server version value from github is invalid. Please try running dietpi-update again.

Ouput for pinging github as per suggestion by Xenformation in the other thread yields average results :

root@******:~# date; ping -n -c 20 raw.githubusercontent.com
Sun Apr 24 16:15:26 CEST 2016
PING github.map.fastly.net (23.235.43.133) 56(84) bytes of data.
64 bytes from 23.235.43.133: icmp_seq=1 ttl=56 time=19.9 ms
64 bytes from 23.235.43.133: icmp_seq=2 ttl=56 time=18.7 ms
64 bytes from 23.235.43.133: icmp_seq=3 ttl=56 time=20.7 ms
64 bytes from 23.235.43.133: icmp_seq=4 ttl=56 time=18.1 ms
64 bytes from 23.235.43.133: icmp_seq=5 ttl=56 time=18.7 ms
64 bytes from 23.235.43.133: icmp_seq=6 ttl=56 time=18.7 ms
64 bytes from 23.235.43.133: icmp_seq=7 ttl=56 time=18.6 ms
64 bytes from 23.235.43.133: icmp_seq=8 ttl=56 time=18.2 ms
64 bytes from 23.235.43.133: icmp_seq=9 ttl=56 time=18.7 ms
64 bytes from 23.235.43.133: icmp_seq=10 ttl=56 time=18.6 ms
64 bytes from 23.235.43.133: icmp_seq=11 ttl=56 time=18.6 ms
64 bytes from 23.235.43.133: icmp_seq=12 ttl=56 time=18.7 ms
64 bytes from 23.235.43.133: icmp_seq=13 ttl=56 time=18.5 ms
64 bytes from 23.235.43.133: icmp_seq=14 ttl=56 time=20.0 ms
64 bytes from 23.235.43.133: icmp_seq=15 ttl=56 time=20.4 ms
64 bytes from 23.235.43.133: icmp_seq=16 ttl=56 time=18.2 ms
64 bytes from 23.235.43.133: icmp_seq=17 ttl=56 time=19.0 ms
64 bytes from 23.235.43.133: icmp_seq=18 ttl=56 time=18.5 ms
64 bytes from 23.235.43.133: icmp_seq=19 ttl=56 time=18.7 ms
64 bytes from 23.235.43.133: icmp_seq=20 ttl=56 time=19.7 ms

--- github.map.fastly.net ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 19009ms
rtt min/avg/max/mdev = 18.170/19.017/20.731/0.757 ms

Couldn’t telnet as

root@*****:~# telnet raw.githubusercontent.com 80
-bash: telnet: command not found

So… Any suggestions ?
(and no, i didn’t name my dietpi ‘*****’, the name i used for it isn’t kid friendly, so i censored it)
Oh, and for sake of completion, last succesfull update was to v115.

Have you tried to update the Pi today?
I just updated my Pi2 to v116 with no problem at all - just wondering if there was a glitch yesterday and perhaps all well today?

Hi,

Have you tried to update the Pi today?

As well tested after @Gravesy posting yesterday.

It will work on my RPi B+ :

root@RPi-B-Plus:~# date
Sun 24 Apr 17:15:39 CEST 2016

root@RPi-B-Plus:~# curl -k -L https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-update > /DietPi/dietpi/dietpi-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9960  100  9960    0     0  57717      0 --:--:-- --:--:-- --:--:-- 58245

root@RPi-B-Plus:~# wget https://github.com/Fourdee/DietPi/blob/master/README.md
--2016-04-24 17:21:53--  https://github.com/Fourdee/DietPi/blob/master/README.md
Resolving github.com (github.com)... 192.30.252.122
Connecting to github.com (github.com)|192.30.252.122|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘README.md’

README.md                                     [  <=>                                                                                 ]  45.90K   190KB/s   in 0.2s

2016-04-24 17:21:54 (190 KB/s) - ‘README.md’ saved [47004]

If problem still exist, please create a github ticket: Pull requests · Fourdee/DietPi · GitHub

But @Fourdee have some temporary delay at the moment. http://fuzon.co.uk/phpbb/viewtopic.php?f=9&t=355

Thanks.

cu
k-plan

The latest Image was released on 19th April.

Download

That’s…
Really not helpful at all, since the last thing i want to do is re-image the SD just to update, because then i might as well go back to Raspbian and install everything manually.

@ the other gentlemen : issue persists, sadly.

Hi,

There’s a known bug in v116, which I believe is the same issue you are experiencing.

Please can you try running the fix on this page (or code snip below): https://github.com/Fourdee/DietPi/issues/301#issue-151214787. Try running dietpi-update again. If you can let us know the results, i’d be grateful.

sed -i '/gitbranch=master#Proxy settings/c\gitbranch=master' /DietPi/dietpi.txt

That indeed seems to have fixed the issue :wink: *and i guess i was already on v116 :open_mouth: no idea how i missed that *

Even sillier though, i checked github twice, glanced right over that issue and the fix both times :blush:

Great to hear it resolved the issue and thanks for letting us know :slight_smile: