Page 6 of 44

Re: Toon firmware - update script

Posted: Thu Apr 05, 2018 3:07 pm
by jumperone
I have the tone with Version: 2.0 - ThehogNL - 24-3-2018 upgrade from version 2.9.26 upgrade to 4.10.6.
    failled / Bus error.

OPKG Do Not Work / Bus error / orange screen with 2 points

I have looked this up

eneco-001-xxxxxx:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "u-boot-env"
mtd1: 00180000 00020000 "splash-image"
mtd2: 00300000 00020000 "kernel"
mtd3: 00300000 00020000 "kernel-backup"
mtd4: 07700000 00020000 "rootfs"

eneco-001-xxxxxx:~# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 103.3M 102.9M 420.0K 100% /
tmpfs 61.4M 112.0K 61.3M 0% / var/volatile


I see this in a different Toon
ubi0:rootfs 103.3M 52.8M 50.4M 51%


Also i check the diskusage. full disk

flas:245:respawn:/usr/bin/startflash >/dev/null 2>&1
the line adjusted after

qtqt:245:respawn:/usr/bin/startqt >/dev/null 2>&1

How do I get the disk modified again?.

Re: Toon firmware - update script

Posted: Thu Apr 05, 2018 7:25 pm
by TheHogNL
You need to find why your disk is full. I send you a PM to help you with a teamviewer session if you like

Re: Toon firmware - update script

Posted: Fri Apr 06, 2018 7:55 am
by jumperone
TheHogNL wrote:You need to find why your disk is full. I send you a PM to help you with a teamviewer session if you like
Oke. I have windows 7 pro . which team viewer needs to install.What else do I have to do.

Re: Toon firmware - update script

Posted: Fri Apr 06, 2018 10:54 am
by michel30
I was also checking my size of the Toon, not that it is full but maybe for the future if it needs an cleanup?

Filesystem Type Size Used Available Use% Mounted on
ubi0:rootfs ubifs 103.3M 62.6M 40.7M 61% /
tmpfs tmpfs 61.6M 460.0K 61.2M 1% /var/volatile

/mnt/data/qmf/var/hcb_rrd# 19.1M
/usr/lib/Qt-5.3.1/lib# 27.7M
/squish/lib# 14.3M

has Toon 3 different databases?

Re: Toon firmware - update script

Posted: Fri Apr 06, 2018 4:33 pm
by TheHogNL
jumperone wrote:
TheHogNL wrote:You need to find why your disk is full. I send you a PM to help you with a teamviewer session if you like
Oke. I have windows 7 pro . which team viewer needs to install.What else do I have to do.
Just install the newest teamviewer, send me the code and password for teamviewer in a private message and I will remote assist you. However not possible tonight. Maybe saterday morning.

Re: Toon firmware - update script

Posted: Fri Apr 06, 2018 6:56 pm
by TheHogNL
I have just put version 2.5 of the script in the first post. This one will resume and the last step if the script fails or gets canceled. Also it will show progress when upgrading. Also some minor fixes.

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 12:52 am
by wbmk
Hi TheHogNL,

Thanx for putting this script together... however it does not work for me. This is the output i recieve when executing:

Code: Select all

sh update-rooted-v2.5.sh
===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 2.5 - ThehogNL - 5-4-2018

===================================================================================================================================================================

Unable to determine your current running version!
DEBUG information:
Detected: 4.11.6
Available: <html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.10.2</center>
</body>
</html>
base-qb2-uni - 4.11.6-1205-0
END DEBUG information
Can you help me? Thanx in advance

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 8:05 am
by TheHogNL
Can you try again? Sometime the source where the existing versions is stored is not available resulting in that error.

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 10:00 am
by RDNZL
I also had the issue above, after a few tries it continues.

I tested v2.5 of the script, but it doesn't seem to help to which version you can upgrade.
I was on 4.8.25 but 4.14.7 is not allowed, it doesn't tell which versions are.

Also got error denied messages after which it doesn't seem to finish, it just hangs on last line for >15 minutes after which I breaked it.
I doesn't tell which file to tail for verbose output either.

I liked 2.0 more.

./update.sh
===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 2.5 - ThehogNL - 5-4-2018

===================================================================================================================================================================

Detected an unclean abort of previous running update script. Do you want me to resume (yes) or restart (no)?
no
You are currently running version 4.8.25

Which version do you want to upgrade to?
4.9.23
Alright, I will try to upgrade to 4.9.23
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.
Waiting to finish. Sometimes this takes a minute or two ...
Done preparing.
Are your sure you want to upgrade to 4.9.23 (yes)? This is the last moment you can stop the upgrade. Answer with 'yes' will start the upgrade.
yes
Starting the upgrade now! Just wait a while... It can take a few minutes.
./update.sh: line 479: sleep: Permission denied
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two
./update.sh: line 479: sleep: Permission deniede or two .
./update.sh: line 479: sleep: Permission deniede or two ..
./update.sh: line 479: sleep: Permission deniede or two ...
./update.sh: line 479: sleep: Permission deniede or two ..
^Citing to finish. Sometimes this takes a minute or two ..

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 10:20 am
by TheHogNL
TheHogNL wrote:
jumperone wrote:
TheHogNL wrote:You need to find why your disk is full. I send you a PM to help you with a teamviewer session if you like
Oke. I have windows 7 pro . which team viewer needs to install.What else do I have to do.
Just install the newest teamviewer, send me the code and password for teamviewer in a private message and I will remote assist you. However not possible tonight. Maybe saterday morning.
fyi, jumperone had an issue with a full disk. After making some free space opkg didn't work as a file which it uses was corrupt due to the disk being full. After recovering that file from another toon, it worked again and the update to 4.10.6 and later 4.13.7 worked fine.

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 10:27 am
by TheHogNL
RDNZL wrote:I also had the issue above, after a few tries it continues.

I tested v2.5 of the script, but it doesn't seem to help to which version you can upgrade.
I was on 4.8.25 but 4.14.7 is not allowed, it doesn't tell which versions are.

Also got error denied messages after which it doesn't seem to finish, it just hangs on last line for >15 minutes after which I breaked it.
I doesn't tell which file to tail for verbose output either.

I liked 2.0 more.
The 'sleep' is part of the progress message. Don't know why it gave that error in your situation.
I removed the log message location because a lot of people got confused by that. I replaced that with the progress message.
I think the update finished fine, as the real upgrade is started seperatly in another background process. However, canceling the script causes the iptables not to be restored. So check your iptables file before rebooting.

Also the reason I'm not showing the allowed versions anymore is because the list is too long to show. It is better just to upgrade to the well known versions which are talked about in the forums then use a random version.

EDIT: after rethinking this post I did some modifications, it is now on github: https://github.com/IgorYbema/update-rooted

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 11:04 am
by jumperone
I want to thank TheHogNL for its input.
With the speed he had.
To get the Toon right again.
I followed him in full admiration
with the Team Viewer.
He even updated the tone after 4.13.7.
The Toon now works for 100%
Thank you again

Re: Toon firmware - update script

Posted: Sat Apr 07, 2018 11:51 am
by wbmk
@TheHogNL

Thank you for your great support!

I retried it a couple of times, and now it is running...

Thanx again!

Re: Toon firmware - update script

Posted: Mon Apr 09, 2018 1:32 pm
by gielie
I'd like to upgrade my Toon, im on version 4.9 and i have some questions.

1) I have the openVPN disabeled do i have to restore this?

Code: Select all

#ovpn:2345:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1_
2) Im on 4.9 so i have to update to 4.10.6 first before i can go to 4.13, right?
3) I have a cron running which reapairs the ip tables after a restart, can keep this in place.
4) The previous time i upgraded from 4.8 to 4.9 i had to reinstall the toon store with all its settings for the waste and buienradar, will this info be stored with this update or do i have to do this again.

My toon is working great but still i like to upgrade.

Re: Toon firmware - update script

Posted: Mon Apr 09, 2018 4:07 pm
by TheHogNL
1) not necessary, the script will start the vpn (and stop it) when needed
2) yes, the script will force this for you if necessary
3) yes, the script will restore your iptables file also. Keeping the crontjob is just an extra failsafe (actually it helped a few already who had some issue's with the script)
4) the script will after upgrade, fix all the necessary files and reinstall toonstore