Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

Re: Toon firmware - update script

Post by jozg »

Hello Maiden,

Even deleting all custom apps did not work.
I only have 28.0mb free.

How many do i need for the 5.0.4 update?.

Regards
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Check /qmf/log (on some toon which are running for years these logs are big).
But normally 5.0.4 should install fine (although it gets close to full disk during update). Not sure what the mininum free space is.
Member of the Toon Software Collective
jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

Re: Toon firmware - update script

Post by jozg »

Oh oh.

I just used opkg remove --autoremove '*' and now it crashed.
Is there a way to recover the complete toon?
I think serial link will work, i hope.

thanks
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon firmware - update script

Post by mAiden »

jozg wrote:Oh oh.

I just used opkg remove --autoremove '*' and now it crashed.
Is there a way to recover the complete toon?
I think serial link will work, i hope.

thanks
Then you are now I think ...

Your only hope is to fully restore Toon with TFTP and NFS, if you know what that means?
Perhaps TheHogNL is so sweet to explain things to you .. I'm not going to share things if I'm not sure if i can :)
You will have to restore the entire rootfs, hoping that you can still backup your VPN for that.
Can you still get there with SSH?
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 »

A short time ago I released Toon Recovery just for this :) viewtopic.php?f=95&t=12462

(btw: I moved your messages after this to this topic for toon recoverY0
Member of the Toon Software Collective
bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Toon firmware - update script

Post by bvlet »

Tonight I tried updating Toon from 5.7.7. to the new version. It looked as if this was going allright (as usual), up to this point:
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.
Progress: 0% ..
Then everything stalled, and after a while Toon restarted.
Now when I try to update again I get this message:
Your Toon already tried downloading version Collected errors: before. Need to force this version!
iptables: Chain already exists.
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.
Progress: 0% .
Prepare failed. Please check the logs at /mnt/data/update/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
I checked if there was a problem with diskspace, but I don't think so:
eneco:~# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 103.3M 75.4M 27.8M 73% /
tmpfs 61.6M 512.0K 61.1M 1% /var/volatile
So then I checked the mentioned log. I see a lot of signature errors and download fails, but I can't seem to understand what's the problem.
I attached the last part of the log (only today).

Can anyone point me in the right direction?
Attachments
TOON_log_290719.zip
(1.18 KiB) Downloaded 266 times
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

something going wrong with the current firmware detection:
Your Toon already tried downloading version Collected errors: before. Need to force this version!
Please send me the output of:

Code: Select all

opkg list-installed base-qb2*
and

Code: Select all

opkg list base-qb2*
Member of the Toon Software Collective
bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Toon firmware - update script

Post by bvlet »

OK, here it is:

eneco-001-378442:~# opkg list-installed base-qb2*
base-qb2-uni - 5.5.7-0

eneco-001-378442:~# opkg list base-qb2*
base-qb2-uni - 5.5.7-0
eneco-001-378442:~#
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Hmm that looks normal. Wasn't expecting that.
Did you reboot in the meanwhile? And did you retry the update again?

If it still doesn't work send me your mobile number in a PM and I will help you with this tomorrow around 20:00. I want to know where that weird error is coming from to fix the script.
Member of the Toon Software Collective
bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Toon firmware - update script

Post by bvlet »

OK, yesterday I rebooted three times with no luck. Today I tried it again with no rebooting and it still didn't work.
then I rebooted (shutdown -r) and I tried it again.

Surprise: It works! The script started all over again (choosing version etc.) and it finished without any problems.

I'm very happy that the problem is solved now, but unfortunately I can't help you fix the strange bug from yesterday...

Thanks for your help anyway, I'm very happy with the script!

Regards,
Bart
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

OK still weird :-) Glad is worked now
Member of the Toon Software Collective
abb
Starting Member
Starting Member
Posts: 3
Joined: Sun Sep 01, 2019 5:43 pm

Re: Toon firmware - update script

Post by abb »

Hi, I just tried to update my rooted Toon but the script mentions that Eneco changed the updatescript... I choose to opt out of the update procedure since I'm not aware of the risk when I force the script to proceed.
eneco-001-137595:~# ./update-rooted.sh
===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 3.991 - TheHogNL & TerrorSource & yjb - 1-8-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

===================================================================================================================================================================

Your Toon already tried downloading version 5.9.6 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.
Warning: upgrade script from Eneco server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

abb wrote:Hi, I just tried to update my rooted Toon but the script mentions that Eneco changed the updatescript... I choose to opt out of the update procedure since I'm not aware of the risk when I force the script to proceed.
Thanks. I just checked the new eneco script and it is ok. I updated my script to allow this in version 3.992 of the script.
Member of the Toon Software Collective
CrumNL
Starting Member
Starting Member
Posts: 17
Joined: Sat Mar 09, 2019 11:18 am

Re: Toon firmware - update script

Post by CrumNL »

TheHogNL wrote:/etc/passwd and /etc/group are files and should NEVER be links to busybox
you need to find out why it want to link it anyways
After some trial and error sessions in the last months when I had time, I figured out that this issue is resolved by

Code: Select all

opkg remove busybox.passwd
and running the updatescript with -f.

It is possible that when I rooted toon a year ago or so, that I installed a wrong/different busybox version.
Can't remember what I did and my notes are gone.

Toon functions again but it doesn't yet detect the smart meter so I'm not done yet with it I guess.
abb
Starting Member
Starting Member
Posts: 3
Joined: Sun Sep 01, 2019 5:43 pm

Re: Toon firmware - update script

Post by abb »

Thanks! At the mean time I have checked the logging from previous firmware installs and I noticed thar there was an issue with available space. The amount of space requires was larger then the amount of space available. Looks like this message was also there In my previous unrooted firmware upgrade. Any tops on how to handle this?

Sent from my SM-G950F using Tapatalk
Post Reply

Return to “Toon Firmware”