Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon firmware - update script

Postby TheHogNL » Sat Feb 16, 2019 11:23 am

Ok tried it also. But seem to be some issue's with the Eneco update servers now causing the update to fail most of the time.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Toon firmware - update script

Postby gielie » Sat Feb 16, 2019 11:44 am

Today I wanted to update my Toon1 from 4.13.7 to 5.0.4 without succes, the upgrade stoped with the following error log

Code: Select all
>> 2019-02-16 10:19:14 +0000 (pid 28398) upgrade-qb2.sh qb2 uni 5.0.4 prepare

>> 2019-02-16 10:19:14 +0000 (pid 28398) prepare
>> Appending 'arch armv5e 19' to /etc/opkg/arch.conf
>> 2019-02-16 10:19:14 +0000 (pid 28398) preparing
>> Hotfix for writing System Time to RTC
Hardware Clock before: Sat Feb 16 10:19:14 2019  0.000000 seconds
Hardware Clock after : Sat Feb 16 10:19:14 2019  0.000000 seconds
>> configured opkg feeds:
src/gz base http://feed.hae.orig/feeds/qb2/uni/5.0.4
src/gz oe-2.6.36-R10-h28-cmpxchg64 http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64
src/gz oe-2.6.36-base-r17-splash2 http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-base-r17-splash2
src/gz oe-all http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/all
src/gz oe-armv5e http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e
>> opkg --download-only update
>> monitoring /mnt/data/update for threshold 5000
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/uni/5.0.4/Packages.gz.
Updated list of available packages in /var/lib/opkg/base.
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/Packages.gz.
Updated list of available packages in /var/lib/opkg/oe-2.6.36-R10-h28-cmpxchg64.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-base-r17-splash2/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-base-r17-splash2/Packages.gz.
Updated list of available packages in /var/lib/opkg/oe-2.6.36-base-r17-splash2.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-base-r17-splash2/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/all/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/oe-all.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/all/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/Packages.gz.
Updated list of available packages in /var/lib/opkg/oe-armv5e.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/Packages.sig.
Signature check passed.
> Exit code: 0
>> opkg --download-only upgrade
>> monitoring /mnt/data/update for threshold 5000
/tmp/update.status.vars: Downloading 0% (1/165)
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-netcon_1.417-master_qb2.ipk.
/tmp/update.status.vars: Downloading 0% (1/165) hcb-netcon
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-pwrusage_1.775-master_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-base-r17-splash2/zip_2.32-r2_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libc6_2.21-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 1% (3/165) happ-pwrusage
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-pl2303_2.6.36-R10-h28_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 1% (4/165) kernel-module-pl2303
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/libhcb-drv_1.446-master_qb2.ipk.
/tmp/update.status.vars: Downloading 11% (20/165) libhcb-drv
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qttools-tools-lrelease_5.11.2+git0+ff440191de-r2_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libgcc1_4.9.2-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libstdc++6_4.9.2-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 12% (22/165) qttools-tools-lrelease
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-kpi_1.505-master_qb2.ipk.
/tmp/update.status.vars: Downloading 13% (23/165) happ-kpi
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-rrd_2.184-master_qb2.ipk.
/tmp/update.status.vars: Downloading 15% (26/165) hcb-rrd
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/openssl_1.0.2p-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libcrypto1.0.2_1.0.2p-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libssl1.0.2_1.0.2p-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 15% (27/165) openssl
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-comm_1.199-N-master_qb2.ipk.
/tmp/update.status.vars: Downloading 16% (28/165) hcb-comm
/tmp/update.status.vars: Downloading 18% (32/165) glibc
/tmp/update.status.vars: Downloading 22% (38/165) libstdc++
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/libhcb-xml_1.136-master_qb2.ipk.
/tmp/update.status.vars: Downloading 22% (39/165) libhcb-xml
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/tenant-eneco-nl_1.113-master_all.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/psplash-toon_0.1+git0+14c8f7b705-r15-q15_armv5e.ipk.
/tmp/update.status.vars: Downloading 24% (41/165) tenant-eneco-nl
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-image_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 24% (42/165) kernel-image
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/firmware-ma_1.143-master_all.ipk.
/tmp/update.status.vars: Downloading 25% (43/165) firmware-ma
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/qt-gui_1.9133-master_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtbase_5.11.2+git0+49efea26a5-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 28% (48/165) qt-gui
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/openssl-conf_1.0.2p-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 30% (52/165) openssl-conf
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-bxtproxy_1.949-enable-only-device-token-service-call-over-vpn_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libcurl4_7.40.0-r1_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/aws-iot-device-sdk-cpp_1.4.0-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 33% (57/165) hcb-bxtproxy
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/firmware-zwave-ctrlr_1.29-master_qb2.ipk.
/tmp/update.status.vars: Downloading 36% (61/165) firmware-zwave-ctrlr
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hdrv-zwave_1.1607-master_qb2.ipk.
/tmp/update.status.vars: Downloading 37% (63/165) hdrv-zwave
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-eventmgr_1.236-master_qb2.ipk.
/tmp/update.status.vars: Downloading 39% (67/165) happ-eventmgr
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-zwave300_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 40% (68/165) kernel-module-zwave300
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/base-qb2-uni_5.0.4-1286-0_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/all/packagegroup-qb2-required-priv_1.0-r1_all.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/all/packagegroup-qb2-required_1.0-r2_all.ipk.
/tmp/update.status.vars: Downloading 40% (69/165) base-qb2-uni
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-usermsg_1.118-master_qb2.ipk.
/tmp/update.status.vars: Downloading 42% (72/165) happ-usermsg
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-fat_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 43% (73/165) kernel-module-fat
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libfreetype6_2.5.4-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 44% (75/165) freetype
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libjpeg8_8d+1.4.0-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 45% (76/165) jpeg
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-weather_1.189-master_qb2.ipk.
/tmp/update.status.vars: Downloading 49% (83/165) happ-weather
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/libhcb-boxtalk_1.162-master_qb2.ipk.
/tmp/update.status.vars: Downloading 49% (84/165) libhcb-boxtalk
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-rt5370sta_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 52% (89/165) kernel-module-rt5370sta
/tmp/update.status.vars: Downloading 54% (92/165) libgcc
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-rtl8191su_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 55% (94/165) kernel-module-rtl8191su
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-smartplug_1.268-master_qb2.ipk.
/tmp/update.status.vars: Downloading 65% (110/165) happ-smartplug
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-log_1.98-master_qb2.ipk.
/tmp/update.status.vars: Downloading 66% (112/165) hcb-log
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-msdos_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 70% (118/165) kernel-module-msdos
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hdrv-p1_1.965-master_qb2.ipk.
/tmp/update.status.vars: Downloading 73% (123/165) hdrv-p1
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hdrv-hue_1.332-master_qb2.ipk.
/tmp/update.status.vars: Downloading 73% (124/165) hdrv-hue
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-vfat_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 75% (127/165) kernel-module-vfat
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libz1_1.2.8-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 78% (131/165) zlib
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-rt5370sta-cfg_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 81% (136/165) kernel-module-rt5370sta-cfg
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-thermstat_1.2187-master_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/firmware-ba_1.47-master_all.ipk.
/tmp/update.status.vars: Downloading 82% (139/165) happ-thermstat
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qmf-tenantize_1.1-r2_armv5e.ipk.
/tmp/update.status.vars: Downloading 83% (140/165) qmf-tenantize
/tmp/update.status.vars: Downloading 84% (142/165) firmware-ba
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-R10-h28-cmpxchg64/kernel-module-ftdi-sio_2.6.36-R10-h28_qb2.ipk.
/tmp/update.status.vars: Downloading 86% (145/165) kernel-module-ftdi-sio
/tmp/update.status.vars: Downloading 87% (146/165) kernel
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/libhcb-base_1.410-master_qb2.ipk.
/tmp/update.status.vars: Downloading 88% (149/165) libhcb-base
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-scsync_1.406-master_qb2.ipk.
/tmp/update.status.vars: Downloading 91% (153/165) happ-scsync
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/libhcb-com_1.175-N-master_qb2.ipk.
/tmp/update.status.vars: Downloading 91% (154/165) libhcb-com
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/2.6.36-base-r17-splash2/sysvinit_2.86-r63-q2_qb2.ipk.
/tmp/update.status.vars: Downloading 94% (158/165) sysvinit
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-config_1.440-master_qb2.ipk.
/tmp/update.status.vars: Downloading 96% (161/165) hcb-config
/tmp/update.status.vars: Downloading 96% (162/165) glibc-patch-dns
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/www-jquery-ui_1.28-master_qb2.ipk.
/tmp/update.status.vars: Downloading 97% (163/165) www-jquery-ui
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hcb-watchdog_1.128-master_qb2.ipk.
/tmp/update.status.vars: Downloading 100% (165/165) hcb-watchdog
/tmp/update.status.vars: Downloading 100% (165/165)
Collected errors:
* opkg_download: Failed to download http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/psplash-toon_0.1+git0+14c8f7b705-r15-q15_armv5e.ipk: HTTP response code said error.
* opkg_install_pkg: Failed to download psplash-toon. Perhaps you need to run 'opkg update'?
* opkg_download: Failed to download http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtbase_5.11.2+git0+49efea26a5-r0_armv5e.ipk: HTTP response code said error.
* opkg_install_pkg: Failed to download qtbase. Perhaps you need to run 'opkg update'?
> Exit code: 255
>> 2019-02-16 10:21:54 +0000 (pid 28398) prepare-error-opkg-download-download 'opkg failed to download'


The error suggest I need to do a opkg update, is this the solution I have to follow? or is there something else I have to do first?
gielie
Member
Member
 
Posts: 51
Joined: November 2017

Re: Toon firmware - update script

Postby TheHogNL » Sat Feb 16, 2019 12:00 pm

No, see the post earlier. Eneco is having issue's with their servers which results in HTTP errors while downloading update files.
Can't do anything about that now.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Toon firmware - update script

Postby TheHogNL » Sat Feb 16, 2019 12:13 pm

Try to download a large update package file every few seconds results in this:

result: 403
result: 200
result: 200
result: 200
result: 403
result: 200
result: 200
result: 200
result: 403
result: 200
result: 200
result: 200
result: 403
result: 200
result: 200
result: 200
result: 403


200 means ok, 403 means failure (just HTTP response codes). So each 1 out of 4 fails. I think they have 4 serving hosts in the back-end and 1 host is bad.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Toon firmware - update script

Postby gielie » Sat Feb 16, 2019 1:41 pm

TheHogNL wrote:No, see the post earlier. Eneco is having issue's with their servers which results in HTTP errors while downloading update files.
Can't do anything about that now.

Ok that’s clear, will try an other time, thanks for the respons.
gielie
Member
Member
 
Posts: 51
Joined: November 2017

Re: Toon firmware - update script

Postby GerardH » Mon Feb 18, 2019 8:06 pm

Hi, I just started with Toon and rooting. Thank you for your great script!

If I may make a suggestion for a feature: Add an option for running without internet.
I rooted my Toon, and wanted to use your script to fix things. To be sure I made a local network only. This means no internet. Running your script it wants to download some programs which it could not. Eventually it worked but maybe some others can benefit from it.
GerardH
Starting Member
Starting Member
 
Posts: 3
Joined: February 2019

Re: Toon firmware - update script

Postby TheHogNL » Mon Feb 18, 2019 8:50 pm

GerardH wrote:Hi, I just started with Toon and rooting. Thank you for your great script!

If I may make a suggestion for a feature: Add an option for running without internet.
I rooted my Toon, and wanted to use your script to fix things. To be sure I made a local network only. This means no internet. Running your script it wants to download some programs which it could not. Eventually it worked but maybe some others can benefit from it.


That would not be possible. A rooted toon needs some files (since firmware 4.16) which he need to download. Also from 5.0.4 new installs of the installed customs apps are downloaded.

Rooting the toon without internet is not necessary (I know the site ehoco.nl pretends that that is necessary but it is not).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Toon firmware - update script

Postby GerardH » Mon Feb 18, 2019 9:36 pm

TheHogNL wrote:Rooting the toon without internet is not necessary (I know the site ehoco.nl pretends that that is necessary but it is not).

Ok, I thought ( and probably read ) you should not connect to the internet because of the VPN.

So, no need for the option :D

Thanks.
GerardH
Starting Member
Starting Member
 
Posts: 3
Joined: February 2019

Re: Toon firmware - update script

Postby TheHogNL » Mon Feb 18, 2019 9:51 pm

Rooting your (own) Toon is not something which is not allowed. So when your Toon is on the VPN (on the internet) and you are rooting it at that point, maybe Eneco could see that (if they could). But they don't care. Maybe they gather some stats about how many Toons got rooted but that is all.

Nothing for you to be afraid of.

The reason we shut down the VPN is just because if you don't shut down the VPN your configs will be overwritten (escpecially the scsync.xml). Yes, we do like to shut down more Eneco (Quby) entries but that is mearly for sanity reason.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Toon firmware - update script

Postby amo » Tue Feb 19, 2019 6:25 pm

Still trying to update the toon.. but the server are still down i think.

@theHog, i got this message today?
Warning: upgrade script from Eneco server is changed.


after forcing the download i got this error:

Code: Select all
Collected errors:
* check_data_file_clashes: Package libc6 wants to install file /etc/ld.so.conf
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /sbin/ldconfig
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libcrypt.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libpthread.so.0
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libBrokenLocale.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/librt.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libresolv.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnsl.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libdl.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/ld-linux.so.3
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnss_files.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libutil.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnss_compat.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libc.so.6
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libm.so.6
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnss_dns.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libanl.so.1
        But that file is already provided by package  * <no package>
- /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log 3628/3693 98%
> Exit code: 255
>> Checking b0rked download files
>> logKeyValText: key(upgrade-dl-retry-warning), value(opkg-dl-try5) and text(try5)
>> logKeyValText: key(upgrade-exit-status), value(prepare-error-opkg-upgrade-flav-download) and text({"fromVersion":"2.9.15","toVersion":"5.0.4"})
>> 2019-02-19 17:16:01 +0000 (pid 14210) prepare-error-opkg-upgrade-flav-download 'Exit code 255 for opkg flav download'

amo
Starting Member
Starting Member
 
Posts: 11
Joined: February 2019

Re: Toon firmware - update script

Postby mAiden » Tue Feb 19, 2019 7:27 pm

amo wrote:Still trying to update the toon.. but the server are still down i think.

@theHog, i got this message today?
Warning: upgrade script from Eneco server is changed.


after forcing the download i got this error:

Code: Select all
Collected errors:
* check_data_file_clashes: Package libc6 wants to install file /etc/ld.so.conf
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /sbin/ldconfig
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libcrypt.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libpthread.so.0
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libBrokenLocale.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/librt.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libresolv.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnsl.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libdl.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/ld-linux.so.3
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnss_files.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libutil.so.1
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnss_compat.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libc.so.6
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libm.so.6
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libnss_dns.so.2
        But that file is already provided by package  * <no package>
Please move this file out of the way and try again.
* check_data_file_clashes: Package libc6 wants to install file /lib/libanl.so.1
        But that file is already provided by package  * <no package>
- /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log 3628/3693 98%
> Exit code: 255
>> Checking b0rked download files
>> logKeyValText: key(upgrade-dl-retry-warning), value(opkg-dl-try5) and text(try5)
>> logKeyValText: key(upgrade-exit-status), value(prepare-error-opkg-upgrade-flav-download) and text({"fromVersion":"2.9.15","toVersion":"5.0.4"})
>> 2019-02-19 17:16:01 +0000 (pid 14210) prepare-error-opkg-upgrade-flav-download 'Exit code 255 for opkg flav download'



Did you try update Toon from software version 2.9.15 to software version 5.0.4 ? If yes, then you can better start with software version: 3.1.22 .. If that is ok now, then start to update to: 4.9.23 if that is oke, then you can try 5.0.4 ;)
mAiden
Member
Member
 
Posts: 167
Joined: July 2017

Re: Toon firmware - update script

Postby marcelr » Tue Feb 19, 2019 7:49 pm

You will need smaller steps than that. Not entirely sure which ones from the top of my head, but 2.9.26 is necessary, and so are 3.7.8 (or 9?) and 4.10.6. Probably even more.
marcelr
Global Moderator
Global Moderator
 
Posts: 1012
Joined: May 2012
Location: Ehv

Re: Toon firmware - update script

Postby TerrorSource » Tue Feb 19, 2019 8:14 pm

marcelr wrote:You will need smaller steps than that. Not entirely sure which ones from the top of my head, but 2.9.26 is necessary, and so are 3.7.8 (or 9?) and 4.10.6. Probably even more.


smaller steps are not always necessary.
I've updated a Toon from 2.9.26 directly to 5.0.4
a clean cache folder is recommended; /HCBv2/tmp/opkg-cache/
TerrorSource
Member
Member
 
Posts: 239
Joined: May 2017

Re: Toon firmware - update script

Postby TheHogNL » Tue Feb 19, 2019 8:54 pm

No there is something weird going on here. I'm already taking a copy of his toon to check this out on my own toon.
Something going on with libc6 vs glibc update to 5.0.4

The smaller upgrades to 2.9.26 (and 4.10.6) isn't necessary. I removed that from the update scripts.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Toon firmware - update script

Postby BaZnGa » Wed Feb 20, 2019 11:18 am

How can i delete those files with was downloaded?

Your Toon already treid downloading version 5.0.4 before. Need to force this version......

I have now version 4.22.7. Or must i have first another version to download and then go to 5.0.4?

Thanks alot! :)
BaZnGa
Starting Member
Starting Member
 
Posts: 4
Joined: February 2019

PreviousNext

Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 1 guest