Page 35 of 41

Re: Toon firmware - update script

PostPosted: Sat Jun 08, 2019 11:54 pm
by adval40
I have updated 2 times
first from 2.94 (i think) to version 3

next time i want to go 5.5.7

Re: Toon firmware - update script

PostPosted: Sun Jun 09, 2019 8:07 am
by TheHogNL
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).

Re: Toon firmware - update script

PostPosted: Sun Jun 09, 2019 10:05 am
by whizzz63
Sorry, I don't know the previous version..... :oops:

Re: Toon firmware - update script

PostPosted: Sun Jun 09, 2019 2:07 pm
by TheHogNL
whizzz63 wrote:Sorry, I don't know the previous version..... :oops:

same goes for you, you probably also where on an old version

Re: Toon firmware - update script

PostPosted: Wed Jun 26, 2019 9:14 pm
by pkaak
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?

Re: Toon firmware - update script

PostPosted: Fri Jun 28, 2019 8:08 pm
by TerrorSource
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.

Re: Toon firmware - update script

PostPosted: Sun Jun 30, 2019 7:50 am
by TheHogNL
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 :-)

Re: Toon firmware - update script

PostPosted: Sun Jun 30, 2019 1:44 pm
by CrumNL
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.

Re: Toon firmware - update script

PostPosted: Sun Jun 30, 2019 6:04 pm
by TheHogNL
/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

Re: Toon firmware - update script

PostPosted: Sun Jun 30, 2019 6:14 pm
by TheHogNL
and post the complete log so we can have a look why it want to link those files

Re: Toon firmware - update script

PostPosted: Sun Jun 30, 2019 10:03 pm
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

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.

Re: Toon firmware - update script

PostPosted: Mon Jul 01, 2019 8:10 pm
by TheHogNL
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.

Re: Toon firmware - update script

PostPosted: Fri Jul 05, 2019 10:02 pm
by CrumNL
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.

Re: Toon firmware - update script

PostPosted: Mon Jul 08, 2019 9:14 am
by jozg
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,

Re: Toon firmware - update script

PostPosted: Mon Jul 08, 2019 10:47 am
by mAiden
Remove some custom apps. You can install them agian, when update is done.