TheHogNL wrote:Ah ok Eneco changed their scripts again. Just checked and it is ok. I updated the update-rooted script to allow this (version 3.86 just published).
WOW! Quick service. But a bit too quick lol.
Getting a syntax error.
But it seems to be an error in the update script from Toon?
Which version do you want to upgrade to?
5.5.7
Alright, I will try to upgrade to 5.5.7
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.
/mnt/data/update/upgrade-qb2.sh: line 62: syntax error: unexpected "}"
Prepare failed. Please check the logs at /mnt/data/update/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
The log file is not updated btw. Removed the old log and no new one was created.
Should work now. A line was changed in their script which my script needed to modify but now failed.
The line is about posting everything you do while updating your toon to the eneco server center. We don't want that so my script removes that line. But that failed now because they changed a small thang. So again, it is fixed now, version 3.87.
Upgrading my Toon from version 4.16.8 to 5.5.7 by update script, everything went fine.
After reboot my Toon shows only Toon logo with aan loading bar until 33% then stopped, what can i do ?
MP51 wrote:Upgrading my Toon from version 4.16.8 to 5.5.7 by update script, everything went fine.
After reboot my Toon shows only Toon logo with aan loading bar until 33% then stopped, what can i do ?
How did you reboot after the update?
Can you check /etc/inittab and /usr/bin/startqt ? Should both be readable files. In some cases they end up empty. Probably after a power cycle reboot.
MP51 wrote:Upgrading my Toon from version 4.16.8 to 5.5.7 by update script, everything went fine.
After reboot my Toon shows only Toon logo with aan loading bar until 33% then stopped, what can i do ?
Probably inittab is empty and you missing qt-gui now.
On the forum you will find a inittab, p put it in it. And start a VPN and install qt-gui with:
i have checked /etc/inittab and /usr/bin/startqt, the are both with readable text in it inittab = 3kb and startqt = 2kb
Have done Opkg install qt-gui, that give the message already installed.
#!/bin/sh
# load a sane environment, HCBv2 can prevent execution with 'exit'
. /etc/profile
. /etc/default/HCBv2
cd /qmf/sbin
if [ -z `pidof psplash` ]
then
echo "Starting psplash..."
/etc/init.d/psplash.sh
fi
# set the initial progress of the UI
/etc/init.d/psplash.sh progress 30
# do we have dim support in our binary? For qt if the system supports it the UI will as well
SYSBL="`/bin/ls /sys/class/backlight/*/ramp_brightness_sync | grep -v contrast | head -n1`"
if [ "$SYSBL" ]
then
BL=1
BLMAX="`dirname $SYSBL`/max_brightness"
fi
# calib screen first?
if [ ! -f /etc/pointercal ]
then
[ "$BL" ] && cat $BLMAX > $SYSBL
echo 0 > /sys/class/graphics/fb0/blank
ts_calibrate
#[ "$BL" ] && echo 0 > $SYSBL
fi
# enable screen and create the tmp file if it was still missing
echo 0 > /sys/class/graphics/fb0/blank
echo 0 > /tmp/fb0_blank
#export QT_DEBUG_PLUGINS=1
#export QML_IMPORT_TRACE=1
echo "Starting Qt"
exec /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
TheHogNL wrote:Try to log the QT start sequence and see why QT isn't booting up.
Dangerous to do this, but I suspect a wrong resource file with no backup. hence my reaction above.
There are hardly any other choices.
Dangerous to do a log? Nothing dangerous about that mAiden
You misunderstand me.
It is dangerous to make statements that I just made. That wrong resource file might have been loaded..
QT logging is always a good thing, so you can see exactly what's wrong.