Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon firmware - update script

Postby adval40 » Sat Jun 08, 2019 11:54 pm

I have updated 2 times
first from 2.94 (i think) to version 3

next time i want to go 5.5.7
adval40
Starting Member
Starting Member
 
Posts: 13
Joined: September 2017

Re: Toon firmware - update script

Postby TheHogNL » Sun Jun 09, 2019 8:07 am

Ok it seems like there is a disk space issue when updating from old versions directly to 5.5.7. Yesterday I already changed the script to have a mandatory update to 5.0.4 first.
We see this issue also on the Eneco official forum. To be clear, this is an original Toon issue.

You now need to recover this. Start your toon in the uboot method via serial. If your are lucky you get a working login there. Then you need to check the install log (in /HCBv2/tmp/opkg-cache/*.log or /mnt/data/update/*.log) to see on what part the disk went full and what errors your are getting.
I fixed another Toon (from the official forum) myself a few days ago facing the same problem. It was missing some crucial library files (/lib/* and /usr/lib/*) which caused OPKG not to work anymore. I needed to unpack the lib files packages file manually and place the library files manually in the right place. You need some experience to do this.

If you are able to boot into the uboot method then I would be happy to assist you over a teamviewer. Just PM me your contact details (for example your 06-number so I can whatsapp you).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1078
Joined: August 2017

Re: Toon firmware - update script

Postby whizzz63 » Sun Jun 09, 2019 10:05 am

Sorry, I don't know the previous version..... :oops:
whizzz63
Starting Member
Starting Member
 
Posts: 24
Joined: February 2019

Re: Toon firmware - update script

Postby TheHogNL » Sun Jun 09, 2019 2:07 pm

whizzz63 wrote:Sorry, I don't know the previous version..... :oops:

same goes for you, you probably also where on an old version
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1078
Joined: August 2017

Re: Toon firmware - update script

Postby pkaak » Wed Jun 26, 2019 9:14 pm

So after a lot of time I found out the password of my 'dev' Toon (took me half a year to find the password again).
I never had the guts to update my 'production' Toon.

So now I want to update the Dev version. What is the best way to do this?
I ran the script and it says I am on version 4.4.21.

How can I upgrade without having to uboot?
Direct update available or should I go to version x.x.x and/or y.y.y first?
pkaak
Starting Member
Starting Member
 
Posts: 7
Joined: August 2017

Re: Toon firmware - update script

Postby TerrorSource » Fri Jun 28, 2019 8:08 pm

pkaak wrote:So after a lot of time I found out the password of my 'dev' Toon (took me half a year to find the password again).
I never had the guts to update my 'production' Toon.

So now I want to update the Dev version. What is the best way to do this?
I ran the script and it says I am on version 4.4.21.

How can I upgrade without having to uboot?
Direct update available or should I go to version x.x.x and/or y.y.y first?


At the moment, go to 5.0.4 first and then to 5.5.7.
TerrorSource
Member
Member
 
Posts: 281
Joined: May 2017

Re: Toon firmware - update script

Postby TheHogNL » Sun Jun 30, 2019 7:50 am

TerrorSource wrote:
At the moment, go to 5.0.4 first and then to 5.5.7.


Actually the script will force an update to 5.0.4 first :-)
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1078
Joined: August 2017

Re: Toon firmware - update script

Postby CrumNL » Sun Jun 30, 2019 1:44 pm

I've been trying to update my toon a couple of times the last few weeks but until now it just doesn't finish correct.
I think I was updating from 5.0.4 when I did the first update since somehwere in May I think, the firmware says it runs on 5.5.7.
But nothing of the store or custom apps work, the upgrade fails with the following in the upgrade-qb2.sh.log file:

Code: Select all
update-alternatives: Error: not linking //etc/passwd to passwd.busybox since //etc/passwd exists and is not a link
update-alternatives: Error: not linking //etc/group to group.busybox since //etc/group exists and is not a link


I have ssh access but am not that sure what happens if I move the passwd and group file and manually create the links to passwd.busybox and group.busybox.
Or if that will even solve the issue I'm facing :)
I tried to find similar issues in the forums here but can't find anything that looks the same.
CrumNL
Starting Member
Starting Member
 
Posts: 17
Joined: March 2019

Re: Toon firmware - update script

Postby TheHogNL » Sun Jun 30, 2019 6:04 pm

/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
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1078
Joined: August 2017

Re: Toon firmware - update script

Postby TheHogNL » Sun Jun 30, 2019 6:14 pm

and post the complete log so we can have a look why it want to link those files
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1078
Joined: August 2017

Re: Toon firmware - update script

Postby CrumNL » Sun Jun 30, 2019 10:03 pm

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

That's what I thought as well, but hey, I'm not a toon expert so for all I know it would be something.

I did manage somehow to get my apps back up, toonstore working again too, which was gone as well.
I tried downgrading to previous versions without knowing if that is even supported but that all failed the same.
After a numerous reboots and interruptions by kids, I noticed that the store and TSC were available again at some point but I didn't log well what I did before that.
When I force a -v 5.5.7 I still get the same error, but for now it seems to be working mostly.
vnc doesn't yet seem to work but I'll figure out some day why that is.

Even though my toon is working again after a few weeks doing nothing, I attached the logs and some other info.
Netstat showed a lot less this morning compared to what it shows now.
Attachments
upgrade-qb2.sh.log.zip
upgrade log
(3.4 KiB) Downloaded 16 times
Last edited by CrumNL on Tue Jul 16, 2019 12:14 am, edited 1 time in total.
CrumNL
Starting Member
Starting Member
 
Posts: 17
Joined: March 2019

Re: Toon firmware - update script

Postby TheHogNL » Mon Jul 01, 2019 8:10 pm

Log almost directly starts with that weird passwd/group file linking. That is bad... something is really messed up.
If you really want to fixed it completly use my Toon Recovery script to recover a Toon from a good image. You will loose your history (RRD files). You can ofcourse make a backup of your rrd files first though and hope to restore it later with the tools provided by marcelr.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1078
Joined: August 2017

Re: Toon firmware - update script

Postby CrumNL » Fri Jul 05, 2019 10:02 pm

Thanks, I'll check it somewhere soon.
I was already planning to do it somewhere in the next few weeks if I find some time for it.
CrumNL
Starting Member
Starting Member
 
Posts: 17
Joined: March 2019

Re: Toon firmware - update script

Postby jozg » Mon Jul 08, 2019 9:14 am

Hello all,

I have a problem upgrading from 4.22.7 to 5.0.4.
The logfile says not enough diskspace, so i decide to monitor df -h.

When the upgrade started i have:
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 103.3M 78.0M 25.2M 76% /
tmpfs 40.0K 0 40.0K 0% /mnt/.psplash
tmpfs 61.6M 148.0K 61.5M 0% /var/volatile

When monitoring the update, i saw:
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 103.3M 101.1M 2.2M 98% /
tmpfs 40.0K 0 40.0K 0% /mnt/.psplash
tmpfs 61.6M 2.7M 58.9M 4% /var/volatile

So i guess the problem really is the diskspace.
I allready cleaned up the /mnt/data/update dir.

But i cannot find a /HCBv2/tmp/opkg-cache dir, it does not exist, so i cannot clean it.
The /root folder is almost empty, not containing big files.

I have a toon1 at the moment.
Is there somewhere else a location to delete some files, to free up some space?.

Thanks.

regards,
jozg
Starting Member
Starting Member
 
Posts: 47
Joined: November 2017

Re: Toon firmware - update script

Postby mAiden » Mon Jul 08, 2019 10:47 am

Remove some custom apps. You can install them agian, when update is done.
mAiden
Member
Member
 
Posts: 239
Joined: July 2017

PreviousNext

Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 1 guest