Updating old Toon

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Updating old Toon

Postby felixus » Fri May 17, 2019 2:53 pm

Hi,
Someone gave me an old Toon to use because they know I like to root them etc..
Rooting with the script was no problem, however, when trying to use the update script I keep getting following error messages:
Even the first time trying to upgrade I already received the message that it already tried downloading a version befor (But as far as I know the person I got the Toon from never had it connected to wifi).
Would love to hear if you have any ideas


Your Toon already tried downloading version Collected errors: before. Need to force this version!
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.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Progress: 51% ..
Prepare failed. Please check the logs at /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...


In log:


>> 2019-05-17 13:40:28 +0000 (pid 7996) upgrade-qb2.sh qb2 Collected errors: iptables.backup iptables.save passwd.backup update-rooted.sh opkg_conf_load:

>> 2019-05-17 13:40:28 +0000 (pid 7996) iptables.backup
>> Unknown ACTION arg! Aborting.
>> logKeyValText: key(upgrade-exit-status), value(iptables.backup-error-unknown-action) and text({"fromVersion":"","toVersion":"errors:"})
>> 2019-05-17 13:40:29 +0000 (pid 7996) iptables.backup-error-unknown-action 'Unknown ACTION arg! Aborting.'
felixus
Starting Member
Starting Member
 
Posts: 5
Joined: April 2019

Re: Updating old Toon

Postby TheHogNL » Fri May 17, 2019 6:35 pm

Can you do a
Code: Select all
opkg list base-qb2*
and post the output?

Somehow the script is mixing up some internal variables...
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Updating old Toon

Postby felixus » Fri May 17, 2019 8:29 pm

This is the output from opkg list base-qb2*

base-qb2-ene - 4.7.23-1147-0 - BASEPKG base-qb2-ene r1147 -- contains base files needed for this project + dependencies
base-qb2-ene - 2.8.16-753-0
base-qb2-ene - 2.7.22-730-0
felixus
Starting Member
Starting Member
 
Posts: 5
Joined: April 2019

Re: Updating old Toon

Postby TheHogNL » Fri May 17, 2019 9:01 pm

Ok that means that the script wants to update to 4.7.23 first (because your Toon is already halfway towards updating to this version). But somehow it is mixing up and messing with the variables.
It shows "version: Collected erros:" instead of "version 4.7.23".

Try to run
Code: Select all
update-rooted.sh -v 4.72.3
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Updating old Toon

Postby felixus » Sat May 18, 2019 6:16 pm

Thanks for your ideas,
However, they did not work. I tried forcing the upgrade, but after the download of version 4.7.23 it was waiting a really long time on status "Waiting to finish, this can take a minute or 2"
Afterwards I got the same error.

Forcing version: 4.7.23
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.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Killing process... took to long!s takes a minute or two .

Prepare failed. Please check the logs at /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
felixus
Starting Member
Starting Member
 
Posts: 5
Joined: April 2019

Re: Updating old Toon

Postby TheHogNL » Sun May 19, 2019 7:49 am

Now check that log file: /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017


Return to Toon issues and support (Nederlands toegestaan)

Who is online

Users browsing this forum: No registered users and 1 guest