Re: Toon firmware - update script
Posted: Mon May 14, 2018 7:22 pm
During the process.ArieKanarie wrote:You mean the output during the process, or can I find a logfile somewhere?TheHogNL wrote:What is the output of the script?
Domotica - Home Automation Forum
https://www.domoticaforum.eu/
During the process.ArieKanarie wrote:You mean the output during the process, or can I find a logfile somewhere?TheHogNL wrote:What is the output of the script?
Code: Select all
Warning: upgrade script from source server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
Code: Select all
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
Progress: 0% .
Done preparing.
Are your sure you want to upgrade to 4.10.6 (yes)? This is the last moment you can stop the upgrade. Answer with 'yes' will start the upgrade.
yes
Starting the upgrade now! Just wait a while... It can take a few minutes.
Progress: 0%
Upgrade done!
Owh then it is located in the old /HCBv2/tmp/opkg-cache locationArieKanarie wrote:I Could, but I don't have a directory "data" in /mnt
To be precise, the dir /mnt is completely empty.
Code: Select all
>> deleting all in /HCBv2/tmp/opkg-cache
>> (this may give some errors, no problem here ...)
rm: can't remove '/HCBv2/tmp/opkg-cache/*.ipk': No such file or directory
rm: can't remove '/HCBv2/tmp/opkg-cache/*.sh.sig': No such file or directory
>> 2018-05-15 06:33:19 +0000 (pid 25506), status = executed
>> Restarting qt-gui and hcb_config ...
>> 2018-05-15 06:40:25 +0000 (pid 901), status = prepare
>> Welcome to the ToonStore updater,
>> brought to you by the Toonroot Software Collective (TSC)
>>
>> 2018-05-15 06:40:25 +0000 (pid 901) upgrade-qb2.sh qb2 ene 4.10.6 prepare
>> 2018-05-15 06:40:25 +0000 (pid 901), status = preparing
>> Firmware version: 3.2.18, build 962, rev 0.
>> System load : 0.51
>> Free RAM : 2148K
>> Flushing file system buffers and cache ...
>> Free RAM now : 8180K
>> Hotfix for writing System Time to RTC
Hardware Clock before: Tue May 15 06:40:26 2018 0.000000 seconds
Hardware Clock after : Tue May 15 06:40:26 2018 0.000000 seconds
rm: can't remove '/var/lib/opkg/tsc*': No such file or directory
>> no packages to process, exiting ..
>> 2018-05-15 06:41:02 +0000 (pid 1063), status = execute
>> 2018-05-15 06:41:02 +0000 (pid 1063), status = executing
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /HCBv2/tmp/opkg-cache
>> (this may give some errors, no problem here ...)
rm: can't remove '/HCBv2/tmp/opkg-cache/*.ipk': No such file or directory
rm: can't remove '/HCBv2/tmp/opkg-cache/*.sh.sig': No such file or directory
>> 2018-05-15 06:41:02 +0000 (pid 1063), status = executed
>> Restarting qt-gui and hcb_config ...
>> 2018-05-15 07:00:25 +0000 (pid 2136), status = prepare
>> Welcome to the ToonStore updater,
>> brought to you by the Toonroot Software Collective (TSC)
>>
>> 2018-05-15 07:00:25 +0000 (pid 2136) upgrade-qb2.sh qb2 ene 4.10.6 prepare
>> 2018-05-15 07:00:25 +0000 (pid 2136), status = preparing
>> Firmware version: 3.2.18, build 962, rev 0.
>> System load :
>> Free RAM : 1988K
>> Flushing file system buffers and cache ...
>> Free RAM now : 9736K
>> Hotfix for writing System Time to RTC
Hardware Clock before: Tue May 15 07:00:27 2018 0.000000 seconds
Hardware Clock after : Tue May 15 07:00:27 2018 0.000000 seconds
rm: can't remove '/var/lib/opkg/tsc*': No such file or directory
>> no packages to process, exiting ..
>> 2018-05-15 07:00:31 +0000 (pid 2242), status = execute
>> 2018-05-15 07:00:31 +0000 (pid 2242), status = executing
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /HCBv2/tmp/opkg-cache
>> (this may give some errors, no problem here ...)
rm: can't remove '/HCBv2/tmp/opkg-cache/*.ipk': No such file or directory
rm: can't remove '/HCBv2/tmp/opkg-cache/*.sh.sig': No such file or directory
>> 2018-05-15 07:00:31 +0000 (pid 2242), status = executed
>> Restarting qt-gui and hcb_config ...
- upgrade-qb2.sh.log 482/482 100%
Code: Select all
Which version do you want to upgrade to?
4.10.6
Alright, I will try to upgrade to 4.10.6
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Tunnel is alive and configured.
Could not download the upgrade script from the source.
Quitting the upgrade. It was a nice try tho...
I would not start the openvpn manually (without the upgrade script). This will allow your Toon to connect to the servicecenter and therefore overwrite the scsync.xml file which contains your subscription etc. You need to restore those settings afterwards again then.Ierlandfan wrote: If above fails you can try to manually enable openvpn by issuing
"/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0"
Then try "opkg update". If it stalls or says something in the line that says "failed", then post back.
I have had troubles with the hosts file, I was sure I've already posted it somewhere (here or domoticz forum) but can't find it back.TheHogNL wrote:I think your /etc/hosts file is broken.
Normally, if the VPN is started, the host entry for 'feed.hae.int' will be added in there but it is not working for you.
Please post the contents of the /etc/hosts file
Code: Select all
# <persistent /etc/hosts content from /etc/hosts.template file>127.0.0.1 ping.quby.nl127.0.0.1 feed.hae.int feed
Code: Select all
# <persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 ping.quby.nl
127.0.0.1 feed.hae.int feed
# </persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost
172.19.96.1 feed.hae.int feed