Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

hvxl
Senior Member
Senior Member
Posts: 1967
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Toon firmware - update script

Post by hvxl »

TheHogNL wrote:A valid openvpn config is necessary
What constitutes a "valid openvpn config"?

My /etc/openvpn/vpn.conf contains, among other things:

Code: Select all

ca      /etc/openvpn/vpn/ca.crt
cert    /etc/openvpn/vpn/eneco-001-xxxxxx.crt
key     /etc/openvpn/vpn/eneco-001-xxxxxx.key
dh      /etc/openvpn/vpn/dh1024.pem
tls-auth /etc/openvpn/vpn/ta.key 1
(those are actual x's)

But the /etc/openvpn/vpn directory is empty. That doesn't seem valid to me. I'm not sure how I ended up with this config. I do have certs and keys in a very old backup. Should I copy those back into /etc/openvpn/vpn?

That backup also contains a vpn_port.conf that is different from the current one: many lines of "remote enecovpn###.quby.nl", where ### is 001-017, instead of only two "remote vpn-1st-001.quby.nl" and "remote vpn-2nd-001.quby.nl". But as all of those just appear to be different aliases for vpn.eneco.toon.eu, I guess either one should work.
Schelte
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

@mariusbrouwe

The 'feed.hae.orig' (not a typo!) is a rewrite by the script of the original name 'feed.hae.int'. This is done so it doesn't interfere with toonstore which also using this hostname to internally install the apps.

The url is only available when the script is running (and the VPN is working). Running opkg manually is therefore only available if you know what you are doing and should never be used just 'to try out things'.

Your error is probably just Eneco's servers having a temporary problem. That part of the log is really the same update script which run on normal Toon during an update so if there is something failing (like could not download this-and-that package) this would also happen with normal Toons. Just rerun the root update script again. I had the same issue yesterday also (with another packackge which could be downloaded). The second time it went ok.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

hvxl wrote:
TheHogNL wrote:A valid openvpn config is necessary
What constitutes a "valid openvpn config"?

But the /etc/openvpn/vpn directory is empty. That doesn't seem valid to me. I'm not sure how I ended up with this config. I do have certs and keys in a very old backup. Should I copy those back into /etc/openvpn/vpn?

That backup also contains a vpn_port.conf that is different from the current one: many lines of "remote enecovpn###.quby.nl", where ### is 001-017, instead of only two "remote vpn-1st-001.quby.nl" and "remote vpn-2nd-001.quby.nl". But as all of those just appear to be different aliases for vpn.eneco.toon.eu, I guess either one should work.
Yes you need to have those certs and keys in that directory. The vpn_port.conf is ok. And then, valid also means that your key isn't revoked at Eneco's servers (most of the time this is no problem, but there are a handful of toon's which are revoked for unknown reasons).
If you still can't update, just send me a PM and I will help you
Member of the Toon Software Collective
mariusbrouwe
Starting Member
Starting Member
Posts: 6
Joined: Thu Jan 24, 2019 10:31 am

Re: Toon firmware - update script

Post by mariusbrouwe »

TheHogNL wrote: Your error is probably just Eneco's servers having a temporary problem. That part of the log is really the same update script which run on normal Toon during an update so if there is something failing (like could not download this-and-that package) this would also happen with normal Toons. Just rerun the root update script again. I had the same issue yesterday also (with another packackge which could be downloaded). The second time it went ok.
I went on tinkering yesterday and was able to upgrade to version 4.9.23 successfully. I also tried to upgrade to both version 4.9.124 and 4.10.6, but both don't work for me. I've tried it multiple times during the day. I ran the update again this morning to try to get to 4.10.6 and can't seem to be able to download the 'tenant-eneco-nl' package.

Code: Select all

>> 2019-01-25 07:36:23 +0000 (pid 21252) upgrade-qb2.sh qb2 ene 4.10.6 prepare

>> 2019-01-25 07:36:23 +0000 (pid 21252) prepare
>> 2019-01-25 07:36:23 +0000 (pid 21252) preparing
>> Hotfix for writing System Time to RTC
Hardware Clock before: Fri Jan 25 07:36:23 2019  0.000000 seconds
Hardware Clock after : Fri Jan 25 07:36:23 2019  0.000000 seconds
>> configured opkg feeds:
src/gz base http://feed.hae.orig/feeds/qb2/ene/4.10.6
src/gz oebase http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r14-uni
src/gz oekern http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6
>> opkg --download-only update
>> monitoring /mnt/data/update for threshold 5000
Downloading http://feed.hae.orig/feeds/qb2/ene/4.10.6/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/ene/4.10.6/Packages.gz.
Updated list of available packages in /var/lib/opkg/base.
Downloading http://feed.hae.orig/feeds/qb2/ene/4.10.6/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r14-uni/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r14-uni/Packages.gz.
Updated list of available packages in /var/lib/opkg/oebase.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r14-uni/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.gz.
Updated list of available packages in /var/lib/opkg/oekern.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6/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/164) 
Downloading http://feed.hae.orig/feeds/qb2/ene/4.10.6/../../POOL/base-qb2-ene_4.10.6-1196-0_qb2.ipk.
/tmp/update.status.vars: Downloading 37% (63/164) base-qb2-ene
/tmp/update.status.vars: Downloading 100% (164/164) 
Collected errors:
 * opkg_download_pkg: Package tenant-eneco-nl is not available from any configured src.
 * opkg_install_pkg: Failed to download tenant-eneco-nl. Perhaps you need to run 'opkg update'?
> Exit code: 255
>> 2019-01-25 07:36:31 +0000 (pid 21252) prepare-error-opkg-download-download 'opkg failed to download'
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

mariusbrouwe wrote:
TheHogNL wrote: Your error is probably just Eneco's servers having a temporary problem. That part of the log is really the same update script which run on normal Toon during an update so if there is something failing (like could not download this-and-that package) this would also happen with normal Toons. Just rerun the root update script again. I had the same issue yesterday also (with another packackge which could be downloaded). The second time it went ok.
I went on tinkering yesterday and was able to upgrade to version 4.9.23 successfully. I also tried to upgrade to both version 4.9.124 and 4.10.6, but both don't work for me. I've tried it multiple times during the day. I ran the update again this morning to try to get to 4.10.6 and can't seem to be able to download the 'tenant-eneco-nl' package.
Weird. Could you try a force upgrade to 4.16.8 (option -v 4.16.8 ). This will skip 4.10.6.
Member of the Toon Software Collective
mariusbrouwe
Starting Member
Starting Member
Posts: 6
Joined: Thu Jan 24, 2019 10:31 am

Re: Toon firmware - update script

Post by mariusbrouwe »

Weird. Could you try a force upgrade to 4.16.8 (option -v 4.16.8 ). This will skip 4.10.6.
Still not working. I do have to confess that I did update 'opkg' yesterday. Could that be deterring the script from being able to update properly?

Code: Select all

>> 2019-01-25 07:50:02 +0000 (pid 22662) upgrade-qb2.sh qb2 ene 4.16.8 prepare

>> 2019-01-25 07:50:02 +0000 (pid 22662) prepare
>> Overriding HCB_FLAV to uni!
>> 2019-01-25 07:50:02 +0000 (pid 22662) preparing
>> Hotfix for writing System Time to RTC
Hardware Clock before: Fri Jan 25 07:50:02 2019  0.000000 seconds
Hardware Clock after : Fri Jan 25 07:50:03 2019  0.000000 seconds
>> configured opkg feeds:
src/gz base http://feed.hae.orig/feeds/qb2/uni/4.16.8
src/gz oebase http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r16-splash
src/gz oekern http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6
>> opkg --download-only update
>> monitoring /mnt/data/update for threshold 5000
Downloading http://feed.hae.orig/feeds/qb2/uni/4.16.8/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/uni/4.16.8/Packages.gz.
Updated list of available packages in /var/lib/opkg/base.
Downloading http://feed.hae.orig/feeds/qb2/uni/4.16.8/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r16-splash/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r16-splash/Packages.gz.
Updated list of available packages in /var/lib/opkg/oebase.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-base-r16-splash/Packages.sig.
Signature check passed.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.gz.
Inflating http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.gz.
Updated list of available packages in /var/lib/opkg/oekern.
Downloading http://feed.hae.orig/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.sig.
Signature check passed.
> Exit code: 0
>> opkg --download-only install base-qb2-uni tenant-eneco-nl
>> monitoring /mnt/data/update for threshold 5000
Collected errors:
 * opkg_download_pkg: Package base-qb2-uni is not available from any configured src.
 * opkg_install_pkg: Failed to download base-qb2-uni. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package base-qb2-uni.
 * opkg_download_pkg: Package tenant-eneco-nl is not available from any configured src.
 * opkg_install_pkg: Failed to download tenant-eneco-nl. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package tenant-eneco-nl.
> Exit code: 255
>> 2019-01-25 07:50:09 +0000 (pid 22662) prepare-error-opkg-download-flav-download 'opkg failed to download'
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

You can see in the logs that "opkg --download-only update" is done and working fine.
Could you try to force directly to the latest version ? " -v 5.0.4 "
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

And could you send the output of "opkg list-installed" and "opkg list" if that also fails?
Member of the Toon Software Collective
mariusbrouwe
Starting Member
Starting Member
Posts: 6
Joined: Thu Jan 24, 2019 10:31 am

Re: Toon firmware - update script

Post by mariusbrouwe »

Forcing upgrade to 5.0.4 didn't work.

Code: Select all


>> 2019-01-25 08:34:28 +0000 (pid 4211) upgrade-qb2.sh qb2 ene 5.0.4 prepare

>> 2019-01-25 08:34:28 +0000 (pid 4211) prepare
>> Overriding HCB_FLAV to uni!
>> 2019-01-25 08:34:28 +0000 (pid 4211) preparing
>> Hotfix for writing System Time to RTC
Hardware Clock before: Fri Jan 25 08:34:28 2019  0.000000 seconds
Hardware Clock after : Fri Jan 25 08:34:29 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 install base-qb2-uni tenant-eneco-nl
>> monitoring /mnt/data/update for threshold 5000
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.
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.
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.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/psplash_0.1+git0+14c8f7b705-r15-q15_armv5e.ipk.
> Exit code: 0
>> opkg --download-only upgrade
>> monitoring /mnt/data/update for threshold 5000
/tmp/update.status.vars: Downloading 0% (1/163) 
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/163) 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 0% (2/163) 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% (3/163) 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/163) libhcb-drv
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-kpi_1.505-master_qb2.ipk.
/tmp/update.status.vars: Downloading 12% (22/163) 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/163) 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/163) 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/163) hcb-comm
/tmp/update.status.vars: Downloading 19% (33/163) glibc
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/www-resources_1.38-master_qb2.ipk.
/tmp/update.status.vars: Downloading 20% (34/163) www-resources
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.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libgcc1_4.9.2-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 21% (37/163) 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% (38/163) libhcb-xml
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 23% (40/163) 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 24% (41/163) 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.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libpng16-16_1.6.16-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libz1_1.2.8-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtbase-plugins_5.11.2+git0+49efea26a5-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libfreetype6_2.5.4-r0_armv5e.ipk.
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.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtbase-qmlplugins_5.11.2+git0+49efea26a5-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtdeclarative_5.11.2+git0+c249438243-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtdeclarative-qmlplugins_5.11.2+git0+c249438243-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libqt5xmlpatterns5_5.11.2+git0+15e22118d0-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libqt5xmlpatterns-plugins_5.11.2+git0+15e22118d0-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libqt5xmlpatterns-qmlplugins_5.11.2+git0+15e22118d0-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qtdeclarative-plugins_5.11.2+git0+c249438243-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libqt5svg5_5.11.2+git0+32c93cbca8-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libqt5svg-plugins_5.11.2+git0+32c93cbca8-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/libqt5svg-qmlplugins_5.11.2+git0+32c93cbca8-r0_armv5e.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/qmf-tenantize_1.1-r2_armv5e.ipk.
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/uni/5.0.4/../../POOL/happ-scsync_1.406-master_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hdrv-p1_1.965-master_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hdrv-zwave_1.1607-master_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/hdrv-hue_1.332-master_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/2.6.36-base-r17-splash2/sysvinit_2.86-r63-q2_qb2.ipk.
Downloading http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/psplash_0.1+git0+14c8f7b705-r15-q15_armv5e.ipk.
/tmp/update.status.vars: Downloading 27% (46/163) 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 29% (50/163) 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/aws-iot-device-sdk-cpp_1.4.0-r0_armv5e.ipk.
/tmp/update.status.vars: Downloading 32% (55/163) 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 35% (59/163) firmware-zwave-ctrlr
/tmp/update.status.vars: Downloading 36% (61/163) hdrv-zwave
/tmp/update.status.vars: Downloading 37% (62/163) base-qb2-ene
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% (66/163) 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% (67/163) kernel-module-zwave300
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/happ-usermsg_1.118-master_qb2.ipk.
/tmp/update.status.vars: Downloading 41% (70/163) 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 42% (71/163) kernel-module-fat
/tmp/update.status.vars: Downloading 43% (73/163) freetype
/tmp/update.status.vars: Downloading 44% (74/163) 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 48% (81/163) 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% (82/163) 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% (87/163) kernel-module-rt5370sta
/tmp/update.status.vars: Downloading 54% (90/163) 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% (92/163) 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 64% (108/163) 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% (110/163) 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 69% (116/163) kernel-module-msdos
/tmp/update.status.vars: Downloading 72% (121/163) hdrv-p1
/tmp/update.status.vars: Downloading 73% (122/163) 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% (125/163) kernel-module-vfat
/tmp/update.status.vars: Downloading 77% (129/163) 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 80% (134/163) 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% (137/163) happ-thermstat
/tmp/update.status.vars: Downloading 83% (138/163) qmf-tenantize
/tmp/update.status.vars: Downloading 84% (140/163) 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% (143/163) kernel-module-ftdi-sio
/tmp/update.status.vars: Downloading 86% (144/163) 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% (147/163) libhcb-base
/tmp/update.status.vars: Downloading 91% (151/163) 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% (152/163) libhcb-com
/tmp/update.status.vars: Downloading 94% (156/163) 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 95% (159/163) hcb-config
/tmp/update.status.vars: Downloading 96% (160/163) 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% (161/163) 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% (163/163) hcb-watchdog
/tmp/update.status.vars: Downloading 100% (163/163) 
Collected errors:
 * opkg_download_pkg: Package base-qb2-ene is not available from any configured src.
 * opkg_install_pkg: Failed to download base-qb2-ene. Perhaps you need to run 'opkg update'?
> Exit code: 255
>> 2019-01-25 08:37:40 +0000 (pid 4211) prepare-error-opkg-download-download 'opkg failed to download'
Attachments
opkg list-installed.pdf
(27.21 KiB) Downloaded 308 times
opkg list.pdf
(79.4 KiB) Downloaded 317 times
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

I have sent you a PM to look at your toon using teamviewer
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Ok the problem was the Toon (before rooting) was already downloading 4.22.7 and that blocked the updates to 4.10.6 later.
When directly updating to 4.22.7 the problem was gone. Now the toon is on 5.0.4
Member of the Toon Software Collective
jossie67
Starting Member
Starting Member
Posts: 16
Joined: Mon Apr 02, 2018 3:57 pm

Re: Toon firmware - update script

Post by jossie67 »

I also updated,

after updating I got an error

Upgrade failed. Please check the logs at /mnt/data/update/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...

I Included the log file

I didn't reboot yet
Attachments
upgrade-qb2.sh.rar
log file
(8.38 KiB) Downloaded 291 times
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Code: Select all

>> upgrade OK: removing cached package files...
HCBv2 apps started via runlvls, preparing startables for next boot.
HCBv2 adding: comm eventmgr kpi pwrusage scsync smartplug thermstat usermsg weather bxtproxy config log rrd watchdog hue p1 zwave lighttpd.
HCBv2 startables unchanged, not writing /etc/inittab.
>> Done, scheduling reboot in 2 secs...
>> 2019-01-25 14:33:13 +0000 (pid 10064) executed
>> 2019-01-25 14:33:13 +0000 (pid 10064) exit-0 execute-ok-upgrade-qb2.sh 'qb2 uni 5.0.4 execute'
So at the end of the logs everything looks fine.
Not sure why the root update script stopped. Better check /etc/default/iptables.conf before rebooting to make sure port 22 is still open.
Member of the Toon Software Collective
hvxl
Senior Member
Senior Member
Posts: 1967
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Toon firmware - update script

Post by hvxl »

Just to confirm: The update from 3.2.18 -> 4.10.6 -> 5.0.4 went fine. There were a lot of errors about sleep not being found or permission denied, which might scare a novice user, but otherwise no issues. Now I only need to figure out how to get my own apps working again.
Schelte
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Yes that sleep error is because during the update the sleep command (part of busybox) is being update itself. I'll fix that so that the error isn't shown.

In 5.0.4 there are a few things you need to change. At least from Import QtQuick 1.1 to QtQuick 2.1. Also icons are not available anymore from file:// access. If you need icons to be included in the resource file put a pull reques there: https://github.com/ToonSoftwareCollective/tsc-images

BTW: could you share your apps @hvxl?
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”