DietPi won't update on RPi2.

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
Gravesy
Posts: 13
Joined: Mon Mar 28, 2016 11:45 pm
Location: The Netherlands

DietPi won't update on RPi2.

Post by Gravesy »

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

Code: Select all

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 :

Code: Select all

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 :

Code: Select all

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

Code: Select all

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.
'I don't believe in fate or destiny.
I believe in various degrees of hatred, paranoia, and abandonment.
However much of that gets heaped upon you doesn't matter - it's only a matter of how much you can take and what it does to you.'
-Henry Rollins
kernowyon
Posts: 6
Joined: Wed Mar 09, 2016 6:57 pm

Re: DietPi won't update on RPi2.

Post by kernowyon »

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?
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: DietPi won't update on RPi2.

Post by k-plan »

Hi,
Have you tried to update the Pi today?
As well tested after @Gravesy posting yesterday.

It will work on my RPi B+ :

Code: Select all

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: https://github.com/Fourdee/DietPi/issues

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

Thanks.

cu
k-plan
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 and Bitcoin.
Zombievirus
Posts: 119
Joined: Sun Sep 20, 2015 2:07 am

Re: DietPi won't update on RPi2.

Post by Zombievirus »

Gravesy wrote: Installed dietpi fresh from whatever was the latest Jessie image on either March 25th or March 26th.
The latest Image was released on 19th April.

Download
User avatar
Gravesy
Posts: 13
Joined: Mon Mar 28, 2016 11:45 pm
Location: The Netherlands

Re: DietPi won't update on RPi2.

Post by Gravesy »

Zombievirus wrote:
Gravesy wrote: Installed dietpi fresh from whatever was the latest Jessie image on either March 25th or March 26th.
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.
'I don't believe in fate or destiny.
I believe in various degrees of hatred, paranoia, and abandonment.
However much of that gets heaped upon you doesn't matter - it's only a matter of how much you can take and what it does to you.'
-Henry Rollins
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi won't update on RPi2.

Post by Fourdee »

Gravesy wrote:
Zombievirus wrote:
Gravesy wrote: Installed dietpi fresh from whatever was the latest Jessie image on either March 25th or March 26th.
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/issue ... -151214787. Try running dietpi-update again. If you can let us know the results, i'd be grateful.

Code: Select all

sed -i '/gitbranch=master#Proxy settings/c\gitbranch=master' /DietPi/dietpi.txt
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.
User avatar
Gravesy
Posts: 13
Joined: Mon Mar 28, 2016 11:45 pm
Location: The Netherlands

Re: DietPi won't update on RPi2.

Post by Gravesy »

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

Even sillier though, i checked github twice, glanced right over that issue and the fix both times :oops:
'I don't believe in fate or destiny.
I believe in various degrees of hatred, paranoia, and abandonment.
However much of that gets heaped upon you doesn't matter - it's only a matter of how much you can take and what it does to you.'
-Henry Rollins
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi won't update on RPi2.

Post by Fourdee »

Gravesy wrote:That indeed seems to have fixed the issue ;) *and i guess i was already on v116 :shock: no idea how i missed that *

Even sillier though, i checked github twice, glanced right over that issue and the fix both times :oops:
Great to hear it resolved the issue and thanks for letting us know :)
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