Page 4 of 7

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 3:22 pm
by Toonz
I believe the correct link should be: http://files.domoticaforum.eu/index.php?cam=/Toon/apps......

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 4:30 pm
by SDeath
Toonz wrote:I believe the correct link should be: http://files.domoticaforum.eu/index.php?cam=/Toon/apps......
So is there aything I need to do to fix this?
Or is it somewhere else wrong?

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 5:00 pm
by Toonz
SDeath wrote:

So is there aything I need to do to fix this?
Or is it somewhere else wrong?
No, I think the upgrade script needs patching.
Let's wait till TheHogNL has had a look.
(we have day jobs unfortunately :))

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 5:33 pm
by SDeath
Toonz wrote:
SDeath wrote:

So is there aything I need to do to fix this?
Or is it somewhere else wrong?
No, I think the upgrade script needs patching.
Let's wait till TheHogNL has had a look.
(we have day jobs unfortunately :))
I know how that feels, I was just lucky to work at home today.

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 5:35 pm
by mAiden
Toonz wrote:I believe the correct link should be: http://files.domoticaforum.eu/index.php?cam=/Toon/apps......
Jup.. On this link "http://files.domoticaforum.eu/uploads/Toon" or "http://files.domoticaforum.eu/uploads/Toon/apps//" site will return a 403 - Forbidden: Access is denied error.
It is strange, because last night I also performed the update with the script. When updated he installed all apps that I had.

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 7:32 pm
by TheHogNL
SDeath wrote:
TheHogNL wrote: just put this in a 'test.sh' and run it or just paste it in your toon command line
The result:
zcat: no gzip/bzip2/xz magic
http://files.domoticaforum.eu/uploads/Toon/apps//
zcat: no gzip/bzip2/xz magic
http://files.domoticaforum.eu/uploads/Toon/apps//
zcat: no gzip/bzip2/xz magic
http://files.domoticaforum.eu/uploads/Toon/apps//
zcat: no gzip/bzip2/xz magic
http://files.domoticaforum.eu/uploads/Toon/apps//
zcat: no gzip/bzip2/xz magic
http://files.domoticaforum.eu/uploads/Toon/apps//
zcat: no gzip/bzip2/xz magic
http://files.domoticaforum.eu/uploads/Toon/apps//

Ok something is clearly wrong with my script and your toon.

Could you try this and post the output?

Code: Select all

#!/bin/sh
SOURCEFILES="http://files.domoticaforum.eu/uploads/Toon"
latest=`curl -Nks $SOURCEFILES/apps/ToonRepo.xml | grep toonstore | grep folder | sed 's/.*<folder>\(.*\)<\/folder>.*/\1/'`
echo $latest
filename=`curl -Nks $SOURCEFILES/apps/$latest/Packages.gz | zcat | grep Filename| cut -d\  -f2`
echo $filename

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 8:23 pm
by SDeath
TheHogNL wrote:Ok something is clearly wrong with my script and your toon.

Could you try this and post the output?

Code: Select all

#!/bin/sh
SOURCEFILES="http://files.domoticaforum.eu/uploads/Toon"
latest=`curl -Nks $SOURCEFILES/apps/ToonRepo.xml | grep toonstore | grep folder | sed 's/.*<folder>\(.*\)<\/folder>.*/\1/'`
echo $latest
filename=`curl -Nks $SOURCEFILES/apps/$latest/Packages.gz | zcat | grep Filename| cut -d\  -f2`
echo $filename
Result:
zcat: short read

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 8:36 pm
by TheHogNL
Ok this is weird. Would you allow me to logon to your toon to look what is happening? This will probably help others also.
Just send me your 06-number in PM and I'll whatsapp you to start a teamviewer session.

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 8:43 pm
by SDeath
TheHogNL wrote:Ok this is weird. Would you allow me to logon to your toon to look what is happening? This will probably help others also.
Just send me your 06-number in PM and I'll whatsapp you to start a teamviewer session.
Done

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 9:29 pm
by TheHogNL
Ok we found it. Somehow his toon requested the toon repo from domoticaforum in a gzip-ed request (header allow compression). This was not handled properly in the script. The script is updated now.

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 10:47 pm
by edwin999
I just updated my Toon v2. Most went ok, but afterwards the TSC menu and custom apps were gone.
I reinstalled TSC by downloading resources-nxt-5.0.4.zip and unzipping this into /home/ed
Next in a remote shell on the Toon I noticed that the resource files were not the latest so I entered following to update them:
# cd /qmf/qml
# scp ed@192.168.x.x:/home/ed/*.rcc .
# reboot
and afterwards the TSC menu was back.

FYI the log (attached) shows following
[...]
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.0.4.
Could not download a resources.rcc file for this version! Continuing, but your custom apps probably dont work anymore

Rgds, Ed

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Fri Jan 18, 2019 10:53 pm
by SDeath
I must say after a day, it does feel a bit faster on the new firmware.
Especially rebooting the gui seems quite faster on my Toon1.

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Sat Jan 19, 2019 9:03 am
by TheHogNL
edwin999 wrote:I just updated my Toon v2. Most went ok, but afterwards the TSC menu and custom apps were gone.

FIXING: Downloading resources.rcc TSC mod for this version 5.0.4.
Could not download a resources.rcc file for this version! Continuing, but your custom apps probably dont work anymore

Rgds, Ed
Looks like a temporary internet issue. This file was available, can't see a log message at the server for a download from your Toon (only you downloading it manually afterwards).

Thinking about this,.. maybe the script needs to download this first before updating. If the download fails after the update (which happened to you) the user needs to fix it manually (like you did). Downloading it before the update allows the script to cancel the update if the download fails.

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Sat Jan 19, 2019 12:44 pm
by Ierlandfan
Does someone knows where to find the drawables-base.rcc. I think mines is corrupt (Still from the first update to 5.0.1)
I am missing basics like buttons and all the icons. The good thing, all the TSC icons are showing :-)

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Posted: Sat Jan 19, 2019 2:05 pm
by BrainHunt
I also upgraded last night to 5.04. Had a similar problem like some others that the custom apps didn't show up any more but reinstalling through the ToonStore fixed this.

However I also had some own custom tiles (connected to my Domoticz system) that still don't show. Any thoughts how I can 'register' these again?

Thanks for your help!