Toon firmware 5.15.6 released

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware 5.15.6 released

Post by michel30 »

Thanks, this has helped me a lot I'm running now on 5.15.6 and I have 23,3 mb free space left after the update.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

michel30 wrote:Thanks, this has helped me a lot I'm running now on 5.15.6 and I have 23,3 mb free space left after the update.
Can you share us in what location you had too much space in use? Maybe this helps this other guy with the same issue.
Member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware 5.15.6 released

Post by michel30 »

Hello,

well I had directory's that was not in your list like a backup directory an update directory and also one very strange that had etc, lib and some other maps in. and these maps where also in / root..
but still when I match my files with yours than you will see that there are still more in my directory.

Code: Select all


0	/HCBv2
764	/bin
0	/boot
0	/configured
0	/dev
1104	/etc
4728	/lib
0	/linuxrc
26696	/mnt
0	/proc
41840	/qmf
136	/root
892	/sbin
0	/sys
0	/tmp
74836	/usr
1192	/var

But on my Toon there are also installed some apps from the app store.....
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

michel30 wrote: but still when I match my files with yours than you will see that there are still more in my directory.
Check that /mnt dir. Too high for 'after an update'. During update /mnt/data/update will contain the update files but those should be deleted afterwards. Then /mnt should mostly contain logs/config files and the bigest the hcb_rrd files (the elec/gas usage data/history).
Member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware 5.15.6 released

Post by michel30 »

In my /mnt directory I have:

Code: Select all

352 Aug 16  2017 qmf
432 Oct  6 20:25 tsc
472 Oct 20 12:40 update
In the Update directory I have only:

Code: Select all

qb-auto-update-msg-sent
upgrade-qb2.sh
upgrade-qb2.sh.log
upgrade-qb2.sh.res
in the qmf directory I have:

Code: Select all

2312 Oct 20 21:30 config
1192 Oct 20 21:03 log
856 Oct 20 12:44 var
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

Weird, combined that is not: 26696 /mnt
Member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware 5.15.6 released

Post by michel30 »

Hello TheHogNL,

I was spitting in the directory /mnt to see where the big number is coming from and it is here:

20324 /mnt/data/qmf/var/hcb_rrd/

but the count files is 215 but at the front when I do du -sk /mnt/data/qmf/var/hcb_rrd/ * I see sometimes 175, 340, 42, etc..

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

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

Hmm are there old (not used) rrd's in there?

Compare these both results:

Code: Select all

ls /mnt/data/qmf/var/hcb_rrd | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u
with

Code: Select all

 grep uuid /qmf/config/config_hcb_rrd.xml | wc -l
if the first is more then then second then there are old rrd in there not being used in your system anymore and then

Code: Select all

for i in `find  /mnt/data/qmf/var/hcb_rrd | cut -d\/ -f7 | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u` ; do if ! grep -q $i /qmf/config/config_hcb_rrd.xml ; then ec
ho $i ; fi ; done
Should show which uuid's are not used anymore
Member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware 5.15.6 released

Post by michel30 »

It does not cleanup...

ls /mnt/data/qmf/var/hcb_rrd | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u
105 files

grep uuid /qmf/config/config_hcb_rrd.xml | wc -l
29 files

for i in `find /mnt/data/qmf/var/hcb_rrd | cut -d\/ -f7 | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u` ; do if ! grep -q $i /qmf/config/config_hcb_rrd.xml ; then echo $i ; fi ; done

But when I check I still see 105 files plus when I do: du -sk /* than it says 26800 /mnt
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware 5.15.6 released

Post by Toonz »

if you don't mind losing your history you can also delete all rrd files. They will be created again anyway.
member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

Can you send the file list of that rrd directory?
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

Just recieved your list of files. There are a lot of garbage in there.

All files older than one day in that directory are useless ( find /mnt/data/qmf/var/hcb_rrd/ -type f -mtime +1 ).
Make a copy of them and then remove them.
Member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware 5.15.6 released

Post by michel30 »

Hello TheHogNL,

I thought so :) I deleted the old files and now I have 93 files from today with .dat and .rra in /mnt/data/qmf/var/hcb_rr.

When I run the command ls /mnt/data/qmf/var/hcb_rrd | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u , it will show 29 files and when I run grep uuid /qmf/config/config_hcb_rrd.xml | wc -l that it will also show 29.

regards,
Michel
jumperone
Starting Member
Starting Member
Posts: 17
Joined: Mon Apr 02, 2018 3:23 pm

Re: Toon firmware 5.15.6 released

Post by jumperone »

The update script works perfectly.
With Putty of 4.15.6 after 4.22.7.
Then with the TLC menu from 4.22.7 after 5.05.6 and then after 5.15.6

everything works perfectly thanks
I have the toon with Version: 2.0 - ThehogNL - 24-3-2018 upgrade from version 2.9.26 upgrade to 4.10.6. Update failled / Bus error

OPKG Do Not Work / Bus error / orange screen with 2 points.
What can I do
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware 5.15.6 released

Post by TheHogNL »

jumperone wrote:The update script works perfectly.
With Putty of 4.15.6 after 4.22.7.
Then with the TLC menu from 4.22.7 after 5.05.6 and then after 5.15.6

everything works perfectly thanks
Great! You maybe need to change your user profile footer as is has some text about failures :D
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”