Latest upgrade after 4.1
-
@bernardoortega
scandisk ? or other ? -
yes, is scan disk
-
So what i did is to download the upgrade manually from:https://lb-archive-prod.recalbox.com
There is an img.xz file
I have extracted it and what is inside is this:
Any idea what to do next to make the upgrade happens?
Should i copy something inside /share/system/upgrade or similar?
thanks
-
@bernardoortega an upgrade consts of much more files, and the .img has absolutely nothing to do with this. Are you sure you have enough free space left ?
-
the issue is that it never finish with the download, many times only 2 mb are downloaded from 216 and max was 16 mb
this is the space on my device now:
-
now, as it failed the latest try, it doesn't not give the option to upgrade anymore, is liked it was upgraded but it was not. any clue?
-
@bernardoortega if you like command line, once connected, please try that:
bash -x /recalbox/scripts/upgrade/recalbox-upgrade.sh upgrade
Then can you tell us the result ?
-
I have started the machine and run that command:
This is the output:
root@10.10.10.111's password:bash -x /recalbox/scripts/upgrade/recalbox-upgrade.sh upgrade
- COMMAND=upgrade
- [[ -z upgrade ]]
- BINDIR=/recalbox/scripts/upgrade/
- SYSTEMSETTINGS='python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc'
- RECALBOX_SYSTEM_DIR=/recalbox/share/system
++ cat /recalbox/recalbox.version - INSTALLED_VERSION=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905
++ cat /recalbox/recalbox.arch - ARCH=rpi3
++ python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc -command load -key updates.type - UPGRADETYPE=stable
- SERVICE_URL=https://recaleur-archive-prod.recalbox.com:9443
++ /recalbox/scripts/upgrade//../system/uuid.sh --uuid-file /recalbox/share/system/uuid - UUID=a0a7745d-be61-45d5-a399-823e9281adcd
- [[ stable == \b\e\t\a ]]
- [[ stable == \u\n\s\t\a\b\l\e ]]
- '[' upgrade == canupgrade ']'
- '[' upgrade == upgrade ']'
- [[ stable == \s\t\a\b\l\e ]]
++ /recalbox/scripts/upgrade//recalbox-canupgrade.sh --from-version 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 --service-url https://recaleur-archive-prod.recalbox.com:9443 --arch rpi3 --uuid a0a7745d-be61-45d5-a399-823e9281adcd
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) Unknown SSL protocol error in connection to recaleur-archive-prod.recalbox.com:9443 - UPGRADE_URL=
- [[ 35 != \0 ]]
- exit 1
-
@oyyodams sorry i omitted your account on the reply.
thanks for your help
-
@bernardoortega do you have a firewall or something on your network that might block tcp port 9443 ?
-
@oyyodams No i do not, actually, i have also a vpn router but i cannot connect neither from the normal router or the vpn router to that address:https://recaleur-archive-prod.recalbox.com:9443/
can you connect? i also tried disabling wifi on my iPhone and using 3G and i got a 404 page not found. With wifi i got only an error from safari that cannot connect...
Is there a way that i could download the 216 mb update file and force the update from the command line?
thanks so much
-
@bernardoortega the 404 page not found is normal, that means you get an answer from the server (but not the expected one because you don't send the correct data).
When your wifi is enabled, you don't get any answer, which means you have a network issue. So you have to check on this side.
-
@oyyodams thanks for your help. The issue now is that is not asking for the upgrade. Any way to force it? thanks
-
@bernardoortega once again what does the script return ?
-
@OyyoDams Hello, is the GUI that is not showing anymore the available upgrade so i cannot try anymore from there.
From command line this is what i get:
is there a way to force in some files to show again in the GUI the upgradeoption?
thanks
bash -x /recalbox/scripts/upgrade/recalbox-upgrade.sh upgrade
COMMAND=upgrade
[[ -z upgrade ]]
BINDIR=/recalbox/scripts/upgrade/
SYSTEMSETTINGS='python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc'
RECALBOX_SYSTEM_DIR=/recalbox/share/system
++ cat /recalbox/recalbox.version
INSTALLED_VERSION=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905
++ cat /recalbox/recalbox.arch
ARCH=rpi3
++ python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc -command load -key updates.type
UPGRADETYPE=stable
SERVICE_URL=https://recaleur-archive-prod.recalbox.com:9443
++ /recalbox/scripts/upgrade//../system/uuid.sh --uuid-file /recalbox/share/system/uuid
UUID=a0a7745d-be61-45d5-a399-823e9281adcd
[[ stable == \b\e\t\a ]]
[[ stable == \u\n\s\t\a\b\l\e ]]
'[' upgrade == canupgrade ']'
'[' upgrade == upgrade ']'
[[ stable == \s\t\a\b\l\e ]]
++ /recalbox/scripts/upgrade//recalbox-canupgrade.sh --from-version 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 --service-url https://recaleur-archive-prod.recalbox.com:9443 --arch rpi3 --uuid a0a7745d-be61-45d5-a399-823e9281adcd
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) Unknown SSL protocol error in connection to recaleur-archive-prod.recalbox.com:9443
UPGRADE_URL=
[[ 35 != \0 ]]
exit 1 -
@bernardoortega said in Latest upgrade after 4.1:
Unknown SSL protocol error in connection to recaleur-archive-prod.recalbox.com:9443
Check again your network configuration, something is blocking connection!
-
@bernardoortega said in Latest upgrade after 4.1:
/recalbox/scripts/upgrade//recalbox-canupgrade.sh --from-version 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 --service-url https://recaleur-archive-prod.recalbox.com:9443 --arch rpi3 --uuid a0a7745d-be61-45d5-a399-823e9281adcd
Can you give the output of
bash -x /recalbox/scripts/upgrade//recalbox-canupgrade.sh --from-version 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 --service-url https://recaleur-archive-prod.recalbox.com:9443 --arch rpi3 --uuid "a0a7745d-be61-45d5-a399-823e9281adcd"
? Please enclose the result between 3 back quotes like :```
blablabla
```It should make a:
blablabla
-
@substring said in Latest upgrade after 4.1:
bash -x /recalbox/scripts/upgrade//recalbox-canupgrade.sh --from-version 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 --service-url https://recaleur-archive-prod.recalbox.com:9443 --arch rpi3 --uuid "a0a7745d-be61-45d5-a399-823e9281adcd"
@Substring Here is the output:
Note that i am not connected to any country VPN here:
+ [[ 8 -gt 1 ]] + key=--from-version + case $key in + FROM_VERSION=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 + shift + shift + [[ 6 -gt 1 ]] + key=--service-url + case $key in + UPGRADE_URL=https://recaleur-archive-prod.recalbox.com:9443 + shift + shift + [[ 4 -gt 1 ]] + key=--arch + case $key in + ARCH=rpi3 + shift + shift + [[ 2 -gt 1 ]] + key=--uuid + case $key in + UUID=a0a7745d-be61-45d5-a399-823e9281adcd + shift + shift + [[ 0 -gt 1 ]] + [[ -z 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 ]] + [[ -z https://recaleur-archive-prod.recalbox.com:9443 ]] + [[ -z rpi3 ]] + [[ -z a0a7745d-be61-45d5-a399-823e9281adcd ]] ++ curl -f 'https://recaleur-archive-prod.recalbox.com:9443/v1/upgrade?arch=rpi3&boardversion=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905&uuid=a0a7745d-be61-45d5-a399-823e9281adcd' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) Unknown SSL protocol error in connection to recaleur-archive-prod.recalbox.com:9443 + VERSION_URL= + [[ 35 != \0 ]] + echo 'no upgrade available' no upgrade available + exit 2
Now, i connected to France as example the VPN and this is the results:
+ [[ 8 -gt 1 ]] + key=--from-version + case $key in + FROM_VERSION=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 + shift + shift + [[ 6 -gt 1 ]] + key=--service-url + case $key in + UPGRADE_URL=https://recaleur-archive-prod.recalbox.com:9443 + shift + shift + [[ 4 -gt 1 ]] + key=--arch + case $key in + ARCH=rpi3 + shift + shift + [[ 2 -gt 1 ]] + key=--uuid + case $key in + UUID=a0a7745d-be61-45d5-a399-823e9281adcd + shift + shift + [[ 0 -gt 1 ]] + [[ -z 4.1.0-master-rpi3-2017-10-12-19-13-15-36064905 ]] + [[ -z https://recaleur-archive-prod.recalbox.com:9443 ]] + [[ -z rpi3 ]] + [[ -z a0a7745d-be61-45d5-a399-823e9281adcd ]] ++ curl -f 'https://recaleur-archive-prod.recalbox.com:9443/v1/upgrade?arch=rpi3&boardversion=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905&uuid=a0a7745d-be61-45d5-a399-823e9281adcd' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 36 100 36 0 0 126 0 --:--:-- --:--:-- --:--:-- 146 + VERSION_URL=https://lb-archive-prod.recalbox.com + [[ 0 != \0 ]] ++ curl -f 'https://lb-archive-prod.recalbox.com/v1/upgrade/rpi3/recalbox.version?arch=rpi3&boardversion=4.1.0-master-rpi3-2017-10-12-19-13-15-36064905&uuid=a0a7745d-be61-45d5-a399-823e9281adcd&source=recalbox' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 24 0 --:--:-- --:--:-- --:--:-- 27 + AVAILABLE_VERSION=17.12.02 + [[ 17.12.02 != \4\.\1\.\0\-\m\a\s\t\e\r\-\r\p\i\3\-\2\0\1\7\-\1\0\-\1\2\-\1\9\-\1\3\-\1\5\-\3\6\0\6\4\9\0\5 ]] + echo https://lb-archive-prod.recalbox.com https://lb-archive-prod.recalbox.com + exit 0 #
Now i can see the update on the GUI and now is been downloaded, so we can confirm a network issue that perhaps some ISPs block the port and not others. E.g same VPN connected to Spain did not work, but the one to France it is.
Thanks for your help to all