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.
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.
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
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.
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.
>> 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'
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 "
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
>> 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.
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.
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