Rooted toon not booting after wrong use script

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
msnatm
Starting Member
Starting Member
Posts: 4
Joined: Sun Sep 15, 2019 3:04 am

Rooted toon not booting after wrong use script

Post by msnatm »

Hi,

I have rooted my toon, this went well initially where I had the problem not seeing "Eneco Toon by Quby" the text in the bootlog in order to login as root. The toon had all new icons in the menu and I disabled the VPN to eneco.
after following the solutions in different topics I decided to let the toon update to a newer software version. I reactivated the VPN to eneco it updated in 2 steps to 5.9.6

then I seemed to run out of luck.. I did run after the upgrade to version 5.9.6 the script from https://github.com/IgorYbema/update-rooted
I made the large misstake to reboot the device with the reset button after the script.. yes I have found the topic after the fact to not do that, but to give a sync command first.. it shows I am not a linux expert, but know the sync command now :)

it starts partially, network connection is there. I can still login as root, sftp and ssh work.
Rerunning the script gave different issues, which indicated problems with certain files: missing or empty files. I have checked some files and they were empty and/or non existing, like inittab. I have "filled" some from posted contents in the forum but the result stays it does not boot and I am loosing hope on my toon. Probably re-running the script has destroyed the backup files.

the good thing is in all this trouble, I now get the prompt "Eneco Toon by Quby" to login

so here is a bootlog

Code: Select all

U-Boot 2010.09-R8 (Dec 03 2012 - 12:50:30)

CPU:   Freescale i.MX27 at 400.168 MHz

Prodrive B.V. ED2.0
DRAM:  128 MiB
NAND:  128 MiB
LCD: Initializing LCD frambuffer at a1400000
LCD: 800x480, pbb 4
LCD: Drawing the logo...
In:    serial
Out:   serial
Err:   serial
Display-bmp: 800 x 480  with 16777216 colors
Net:   FEC
Warning: FEC MAC addresses don't match:
Address in SROM is         00:00:20:03:00:00
Address in environment is  00:0f:11:03:50:f4


Enter password - autoboot in 2 sec...

NAND read: device 0 offset 0x300000, size 0x300000
 3145728 bytes read: OK
## Booting kernel from Legacy Image at a1000000 ...
   Image Name:   Linux-2.6.36-R10-h28
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1944236 Bytes = 1.9 MiB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-R10-h28 (jbraam@dvl) (gcc version 4.5.3 20110223 (prerelease) (GCC) ) #1 PREEMPT Fri Sep 28 15:51:09 CEST 2018
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Prodrive B.V ED2.0
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs mtdparts=mxc_nand:512K@0x00100000(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-backup),119M(rootfs) console=ttymxc0,115200 mem=128M lpj=999424
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126092k/126092k available, 4980k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
    vmalloc : 0xc8800000 - 0xf4000000   ( 696 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0022000   ( 104 kB)
      .text : 0xc0022000 - 0xc0367000   (3348 kB)
      .data : 0xc037e000 - 0xc03a17a0   ( 142 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC IRQ initialized
MXC GPIO hardware
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 199.88 BogoMIPS (lpj=999424)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Configured for LCD: TM070RDH11
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 246
io scheduler noop registered (default)
imx-fb imx-fb.0: PreserveUBootFramebuffer(1): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: PreserveUBootFramebuffer(2): xres=800, yres=480 [skip _update_lcdc]
Console: switching to colour frame buffer device 100x30
imx-fb imx-fb.0: fb0: DISP0 BG fb device registered successfully.
imx-fb imx-fb.0: PreserveUBootFramebuffer(3): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
console [ttymxc0] enabled
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 458 at 0x000003940000
Bad eraseblock 850 at 0x000006a40000
RedBoot partition parsing not available
5 cmdlinepart partitions found on MTD device mxc_nand
Creating 5 MTD partitions on "mxc_nand":
0x000000100000-0x000000180000 : "u-boot-env"
0x000000180000-0x000000300000 : "splash-image"
0x000000300000-0x000000600000 : "kernel"
0x000000600000-0x000000900000 : "kernel-backup"
0x000000900000-0x000008000000 : "rootfs"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       435484
UBI: attached mtd4 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            119 MiB
UBI: number of good PEBs:        950
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 950
UBI: number of PEBs reserved for bad PEB handling: 9
UBI: max/mean erase counter: 1155/457
UBI: image sequence number:  203630386
UBI: background thread "ubi_bgt0d" started, PID 309
at25 spi0.0: 32 KByte at25640B eeprom, pagesize 64
spi_imx spi_imx.0: probed
FEC Ethernet Driver
fec_enet_mii_bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mxc-ehci mxc-ehci.0: initializing i.MX USB Controller
mxc-ehci mxc-ehci.0: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.0: Work around for USB enabled
ULPI transceiver vendor/product ID 0x0424/0x000d
mxc-ehci mxc-ehci.0: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.0: new USB bus registered, assigned bus number 1
mxc-ehci mxc-ehci.0: irq 56, io mem 0x10024000
mxc-ehci mxc-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36-R10-h28 ehci_hcd
usb usb1: SerialNumber: mxc-ehci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mxc-ehci mxc-ehci.2: initializing i.MX USB Controller
mxc-ehci mxc-ehci.2: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.2: Work around for USB enabled
mxc-ehci mxc-ehci.2: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.2: new USB bus registered, assigned bus number 2
mxc-ehci mxc-ehci.2: irq 55, io mem 0x10024400
mxc-ehci mxc-ehci.2: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Freescale On-Chip EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.36-R10-h28 ehci_hcd
usb usb2: SerialNumber: mxc-ehci.2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
input: TSC2007 Touchscreen as /devices/virtual/input/input0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
tmp431 0-004c: Could not read configuration register (-5)
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
adt7410 0-0048: adt7410 temperature sensor registered.
adt7410 0-0049: adt7410 temperature sensor registered.
nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
rtc-isl1208 1-006f: setting system clock to 2019-09-15 17:45:03 UTC (1568569503)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   119476224 bytes (116676 KiB, 113 MiB, 926 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 104K
usb 2-1: new high speed USB device using mxc-ehci and address 2
usb 2-1: New USB device found, idVendor=148f, idProduct=5370
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: 802.11 n WLAN
usb 2-1: Manufacturer: Ralink
usb 2-1: SerialNumber: 1.0
INIT: version 2.86 booting
imx-fb imx-fb.0: PreserveUBootFramebuffer(4): xres=800, yres=480 [do _update_lcdc]
 (print_boot_msg)
Please wait: booting... (print_boot_msg)
* Kernel            2.6.36-R10-h28 (print_boot_msg)
* Firmware          qb2/uni/5.9.6-0 (print_boot_msg)
* Hostname          eneco-001-066944 (print_boot_msg)
usbcore: registered new interface driver r871x_usb_drv
usbcore: registered new interface driver rt2870
Loading iptables settings: iptables.
 (print_boot_msg)
Configuring network interfaces...  (print_boot_msg)
Configuring network interfaces...
Running 'ifup -a' in the foreground (ifup-fg)
ifup: interface lo already configured
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:10, irq=-1)
udhcpc: started, v1.27.2
udhcpc: sending discover
PHY: 1:10 - Link is Up - 100/Full
udhcpc: sending discover
udhcpc: sending select for 192.168.0.103
udhcpc: lease of 192.168.0.103 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy informa(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
tion
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
NVM is Efuse and its size =2d[2d0-2fc]
phy mode> Error! The chip does not support 5G band 15!
RTMPSetPhyMode: channel is out of range, use first channel=1
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
AntCfgInit: primary/secondary ant 0/1
0x1300 = 00064300
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
* Wired (eth0)      00:0f:11:03:50:f4  192.168.0.103 (print_boot_msg)
* Wireless (wlan0)  54:27:1e:5a:7d:e3  [No IP from DHCP Server] (print_boot_msg)
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
HCBv2 apps started via runlevels, performing 'addstartables && reload && init 5 or 5'.
HCBv2 adding: comm eventmgr kpi pwrusage smartplug thermstat usermsg weather bxtproxy config log rrd watchdog hue p1 zwave lighttpd.
HCBv2 startables unchanged, not writing /etc/inittab.

Eneco Toon by Quby

INIT: Id "qtqt" respawning too fast: disabled for 5 minutes
INIT: Id "comm" respawning too fast: disabled for 5 minutes
INIT: Id "rrdr" respawning too fast: disabled for 5 minutes
INIT: Id "user" respawning too fast: disabled for 5 minutes
INIT: Id "p1p1" respawning too fast: disabled for 5 minutes
INIT: Id "watc" respawning too fast: disabled for 5 minutes
INIT: Id "logl" respawning too fast: disabled for 5 minutes
INIT: Id "pwru" respawning too fast: disabled for 5 minutes
INIT: Id "smar" respawning too fast: disabled for 5 minutes
INIT: Id "even" respawning too fast: disabled for 5 minutes
INIT: Id "netc" respawning too fast: disabled for 5 minutes
INIT: Id "zwav" respawning too fast: disabled for 5 minutes
INIT: Id "ther" respawning too fast: disabled for 5 minutes
INIT: Id "kpik" respawning too fast: disabled for 5 minutes
INIT: Id "conf" respawning too fast: disabled for 5 minutes
INIT: Id "weat" respawning too fast: disabled for 5 minutes
INIT: Id "hueh" respawning too fast: disabled for 5 minutes
INIT: Id "bxtp" respawning too fast: disabled for 5 minutes
INIT: Id "ligh" respawning too fast: disabled for 5 minutes


Eneco Toon by Quby

INIT: Id "qtqt" respawning too fast: disabled for 5 minutes
INIT: Id "comm" respawning too fast: disabled for 5 minutes
INIT: Id "p1p1" respawning too fast: disabled for 5 minutes
it seems to open the vpn via the lan connection, when I do opkg update it gives issues with the signatures. looks to be related being unable to download

Code: Select all

 opkg update
Downloading http://feed.hae.int/feeds/qb2/uni/5.9.6/Packages.gz.
Downloading http://feed.hae.int/feeds/qb2/uni/5.9.6/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-R10-h28-cmpxchg64/Packages.gz.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-R10-h28-cmpxchg64/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-base-r17-splash2/Packages.gz.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-base-r17-splash2/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/all/Packages.gz.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/all/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/armv5e/Packages.gz.
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/armv5e/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/uni/5.9.6/Packages.gz: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/uni/5.9.6/Packages.sig: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-R10-h28-cmpxchg64/Packages.gz: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-R10-h28-cmpxchg64/Packages.sig: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-base-r17-splash2/Packages.gz: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-base-r17-splash2/Packages.sig: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/all/Packages.gz: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/all/Packages.sig: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/armv5e/Packages.gz: Couldn't connect to server.
 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/armv5e/Packages.sig: Couldn't connect to server.
the update goes slow and the result of the downloads most end in "Signature check failed." at the end it shows download errors.

when I rerun the script from https://github.com/IgorYbema/update-rooted I have tried with -f and later with -u and -v 5.9.6 (and 5.7.7 and 5.0.5)

Code: Select all

 sh /root/update-rooted.sh -u -v 5.9.6
===================================================================================================================================================================
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: 3.992  - TheHogNL & TerrorSource & yjb - 3-9-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

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

Unattended mode
Forcing version: 5.9.6
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)?
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
Progress: 0% ..
Done preparing.
Are your sure you want to upgrade to 5.9.6 (yes)? This is the last moment you can stop the upgrade. Answer with 'yes' will start the upgrade.
Starting the upgrade now! Just wait a while... It can take a few minutes.
Waiting to finish. Sometimes this takes a minute or two   ..
Installing curl as in some update it is removed due to buggy dependencies...
Package curl (7.50.0-r0) installed in root is up to date.
Upgrade done!
Restoring your iptables and passwd files so you can login again after rebooting.
Upgrade is done. However each firmware upgrade will revert the changes to some files needed for a working rooted Toon. Do you want me me to try and fix a few well known issue's for you right now?
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.9.6.
FIXING: Now updating all toonstore installed apps
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/toonstore-3.0.3/toonstore_3.0.3-r0_qb2.ipk.
Installing toonstore (3.0.3-r0) to root...
Executing pre-install script for toonstore-3.0.3
Previous installation detected.
Creating backup for /qmf/etc/qmf_release.xml ...
Patching /qmf/etc/qmf_release.xml for 403-forbidden error ...
Restarting http server ...
killall: lighttpd: no process killed
Cleaning garbage....
rm: can't remove '/HCBv2/qml/apps/toonstore/*.qmlc': No such file or directory
rm: can't remove '/HCBv2/qml/apps/toonstore/*.jsc': No such file or directory
ToonStore pre-install script completed ...
Configuring toonstore.
Executing post-install script for toonstore-3.0.3 ...
Writing app version number to /HCBv2/qml/apps/toonstore-3.0.3/version.txt ...
Adding toonstore key to opkg keyring ...
OK
This is a Toon 1
No settings to be restored
Removing stale link /HCBv2/qml/apps/toonstore ...
Creating symbolic link /HCBv2/qml/apps/toonstore to /HCBv2/qml/apps/toonstore-3.0.3
Firmware version 5 or greater detected, changing app for firmware compatibility...
Posting message ...
skipped update request of tsc scripts

EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: disable ovpn connection to quby
EDITING: Adding serial connection
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
File /HCBv2/etc/qmf_tenant.xml was modified but result is an empty file! Trying to restore!
Restore of /HCBv2/etc/qmf_tenant.xml is failed! Result is also empty! Please check this file before rebooting!
Everything done! You should reboot now! Do NOT power cycle! Just issue the 'reboot' command in your shell. Power cycling can cause file system problems.

Broadcast message from root (pts/0) (Sun Sep 15 18:29:57 2019):

The system is going down for reboot NOW!

and running the script with -f

Code: Select all

eneco-001-066944:~# curl -Nks https://raw.githubusercontent.com/IgorYbema/update
-rooted/master/update-rooted.sh -o /root/update-rooted.sh
eneco-001-066944:~# sh /root/update-rooted.sh -f
===================================================================================================================================================================
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: 3.95  - TheHogNL & TerrorSource & yjb - 18-6-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

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

Only fixing files.
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.9.6.
FIXING: Now updating all toonstore installed apps
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/toonstore-3.0.3/toonstore_3.0.3-r0_qb2.ipk.
Installing toonstore (3.0.3-r0) to root...
Executing pre-install script for toonstore-3.0.3
Previous installation detected.
Creating backup for /qmf/etc/qmf_release.xml ...
Patching /qmf/etc/qmf_release.xml for 403-forbidden error ...
Restarting http server ...
killall: lighttpd: no process killed
Cleaning garbage....
rm: can't remove '/HCBv2/qml/apps/toonstore/*.qmlc': No such file or directory
rm: can't remove '/HCBv2/qml/apps/toonstore/*.jsc': No such file or directory
ToonStore pre-install script completed ...
Configuring toonstore.
Executing post-install script for toonstore-3.0.3 ...
Writing app version number to /HCBv2/qml/apps/toonstore-3.0.3/version.txt ...
Adding toonstore key to opkg keyring ...
OK
This is a Toon 1
No settings to be restored
Removing stale link /HCBv2/qml/apps/toonstore ...
Creating symbolic link /HCBv2/qml/apps/toonstore to /HCBv2/qml/apps/toonstore-3.0.3
Firmware version 5 or greater detected, changing app for firmware compatibility...
Posting message ...
skipped update request of tsc scripts

EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: disable ovpn connection to quby
EDITING: Adding serial connection
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
File /HCBv2/etc/qmf_tenant.xml was modified but result is an empty file! Trying to restore!
Restore of /HCBv2/etc/qmf_tenant.xml is failed! Result is also empty! Please check this file before rebooting!
at least 1 file is still indicated as missing, as indicated I have re-build some files that were shown as missing in previous runs of the script.

qmf_tenant.xml is empty or non existend. looking with sftp shows 4 files with a size 0 :
sftp://root@192.168.0.103/qmf/etc/qmf_release.xml
sftp://root@192.168.0.103/qmf/etc/qmf_release.xml.toonstore_backup
sftp://root@192.168.0.103/qmf/etc/qmf_tenant.xml
sftp://root@192.168.0.103/qmf/etc/qmf_tenant.xml.save

and now I am not so sure how to continue, what I can do to get the toon working again?

thanks, Marcel.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooted toon not booting after wrong use script

Post by TheHogNL »

Never enable the VPN yourself. The way to update a rooted toon is to use the script (and let the script start the vpn for you).

First shutdown the VPN again. It seems it is still running.

Then run:

Code: Select all

update-rooted.sh -o (to open a VPN and set the opkg files correct)
opkg update (to update the opkg database)
opkg remove --force-depends base-qb2-uni qmf-release  (to remove some base files)
opkg install base-qb2-uni qmf-release  (to reinstall them and auto install all missing packages, due to depends)
Hopefully this will fix your missing files. If not, try the Toon Recovery script (this will however remove any history on your Toon).
Member of the Toon Software Collective
msnatm
Starting Member
Starting Member
Posts: 4
Joined: Sun Sep 15, 2019 3:04 am

Re: Rooted toon not booting after wrong use script

Post by msnatm »

Thanks a lot!

it did not work at once, but I got it going again! I will describe the steps as it might help somebody in the future.

I first executed your suggestion
commented out the ovpn line in /etc/inittab
# ovpn:235:respawn:/usr/sbin/open...

then I executed the commands (it has a small typo missing sh before the update-rooted script)

Code: Select all

sh update-rooted.sh -o (to open a VPN and set the opkg files correct)
opkg update (to update the opkg database)
opkg remove --force-depends base-qb2-uni qmf-release  (to remove some base files)
opkg install base-qb2-uni qmf-release  (to reinstall them and auto install all missing packages, due to depends)
the 2 commands gave the following output

Code: Select all

eneco-001-066944:~# opkg remove --force-depends base-qb2-uni qmf-release
Removing package base-qb2-uni from root...
Removing package qmf-release from root...
eneco-001-066944:~# opkg install base-qb2-uni qmf-release
Installing base-qb2-uni (5.9.6-0) to root...
Downloading http://feed.hae.int/feeds/qb2/uni/5.9.6/../../POOL/base-qb2-uni_5.9.6-0_qb2.ipk.
Installing qmf-release (1.1370-master) to root...
Downloading http://feed.hae.int/feeds/qb2/uni/5.9.6/../../POOL/qmf-release_1.1370-master_qb2.ipk.
Installing qmf-0 (1.19-master-r0) to root...
Downloading http://feed.hae.int/feeds/qb2/oe/angelica-1.4.8-master-psplash-tbstack/2.6.36-base-r17-splash2/qmf-0_1.19-master-r0_qb2.ipk.
Installing happ-scsync (1.443-master) to root...
Downloading http://feed.hae.int/feeds/qb2/uni/5.9.6/../../POOL/happ-scsync_1.443-master_qb2.ipk.
Installing qt-gui (1.9638-release-5.9) to root...
Downloading http://feed.hae.int/feeds/qb2/uni/5.9.6/../../POOL/qt-gui_1.9638-release-5.9_qb2.ipk.
Package qmf-release (1.1370-master) installed in root is up to date.
Configuring qmf-0.
+ fgrep -q /qmf/lib /etc/ld.so.conf
+ echo /qmf/lib
+ [  ]
+ ldconfig
+ [ !  ]
+ /etc/init.d/populate-volatile.sh update
Cannot create link over existing -/etc/resolv.conf-.
+ setup_qmf_dir_to_data config
+ local dir=config
+ [ !  -a ! -d /mnt/data/qmf/config ]
+ [ !  -a -d /qmf/config -a ! -L /qmf/config ]
+ [ ! -L /qmf/config ]
+ setup_qmf_dir_to_data var
+ local dir=var
+ [ !  -a ! -d /mnt/data/qmf/var ]
+ [ !  -a -d /qmf/var -a ! -L /qmf/var ]
+ [ ! -L /qmf/var ]
+ setup_qmf_dir_to_data log
+ local dir=log
+ [ !  -a ! -d /mnt/data/qmf/log ]
+ [ !  -a -d /qmf/log -a ! -L /qmf/log ]
+ [ ! -L /qmf/log ]
+ [ ! -L /qmf/etc/env ]
Configuring happ-scsync.
Configuring qt-gui.
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Configuring qmf-release.
* Installing -dist files
   Installing /etc/timezone, -dist identical, so removed
* Installing -override files
   Installing /etc/init.d/functions.hae, from -override, identical
   Installing /etc/init.d/banner, from -override, identical
* Regenerating '/etc/modules' & '/etc/init.d/modutils.sh start' them too
Loading modules: rtl8191su rt5370sta
Configuring base-qb2-uni.
Succesfully loaded 21 items to be translated
Updating '/qmf/qml/qb/lang/lang_fr_BE.qm'...
    Generated 119 translation(s) (119 finished and 0 unfinished)
Updating '/qmf/qml/qb/lang/lang_fr_FR.qm'...
    Generated 119 translation(s) (119 finished and 0 unfinished)
Updating '/qmf/qml/qb/lang/lang_es_ES.qm'...
    Generated 119 translation(s) (119 finished and 0 unfinished)
Updating '/qmf/qml/qb/lang/lang_en_GB.qm'...
    Generated 119 translation(s) (118 finished and 1 unfinished)
Updating '/qmf/qml/qb/lang/lang_nl_BE.qm'...
    Generated 119 translation(s) (119 finished and 0 unfinished)
Updating '/qmf/qml/qb/lang/lang_de_DE.qm'...
    Generated 119 translation(s) (119 finished and 0 unfinished)
Updating '/qmf/qml/qb/lang/lang_nl_NL.qm'...
    Generated 119 translation(s) (119 finished and 0 unfinished)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_fr_BE.qm'...
    Generated 44 translation(s) (44 finished and 0 unfinished)
    Ignored 5 untranslated source text(s)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_fr_FR.qm'...
    Generated 44 translation(s) (44 finished and 0 unfinished)
    Ignored 5 untranslated source text(s)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_es_ES.qm'...
    Generated 44 translation(s) (44 finished and 0 unfinished)
    Ignored 5 untranslated source text(s)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_en_GB.qm'...
    Generated 49 translation(s) (49 finished and 0 unfinished)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_nl_BE.qm'...
    Generated 49 translation(s) (49 finished and 0 unfinished)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_de_DE.qm'...
    Generated 49 translation(s) (49 finished and 0 unfinished)
Updating '/qmf/qml/apps/domesticHotWater/lang/lang_nl_NL.qm'...
    Generated 49 translation(s) (49 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_fr_BE.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_fr_FR.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_es_ES.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_en_GB.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_nl_BE.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_de_DE.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/settings/lang/lang_nl_NL.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_fr_BE.qm'...
    Generated 82 translation(s) (82 finished and 0 unfinished)
    Ignored 43 untranslated source text(s)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_fr_FR.qm'...
    Generated 82 translation(s) (82 finished and 0 unfinished)
    Ignored 43 untranslated source text(s)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_es_ES.qm'...
    Generated 34 translation(s) (34 finished and 0 unfinished)
    Ignored 91 untranslated source text(s)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_en_GB.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_nl_BE.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_de_DE.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/qmf/qml/apps/boilerMonitor/lang/lang_nl_NL.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/qmf/qml/apps/homescreen/lang/lang_fr_BE.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/homescreen/lang/lang_fr_FR.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/homescreen/lang/lang_es_ES.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/homescreen/lang/lang_en_GB.qm'...
    Generated 22 translation(s) (22 finished and 0 unfinished)
Updating '/qmf/qml/apps/homescreen/lang/lang_nl_BE.qm'...
    Generated 22 translation(s) (22 finished and 0 unfinished)
Updating '/qmf/qml/apps/homescreen/lang/lang_de_DE.qm'...
    Generated 22 translation(s) (22 finished and 0 unfinished)
Updating '/qmf/qml/apps/homescreen/lang/lang_nl_NL.qm'...
    Generated 22 translation(s) (22 finished and 0 unfinished)
Updating '/qmf/qml/apps/weather/lang/lang_fr_BE.qm'...
    Generated 83 translation(s) (83 finished and 0 unfinished)
Updating '/qmf/qml/apps/weather/lang/lang_fr_FR.qm'...
    Generated 83 translation(s) (83 finished and 0 unfinished)
Updating '/qmf/qml/apps/weather/lang/lang_en_GB.qm'...
    Generated 83 translation(s) (83 finished and 0 unfinished)
Updating '/qmf/qml/apps/weather/lang/lang_nl_BE.qm'...
    Generated 83 translation(s) (83 finished and 0 unfinished)
Updating '/qmf/qml/apps/weather/lang/lang_de_DE.qm'...
    Generated 83 translation(s) (83 finished and 0 unfinished)
Updating '/qmf/qml/apps/weather/lang/lang_nl_NL.qm'...
    Generated 83 translation(s) (83 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_fr_BE.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_fr_FR.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_es_ES.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_en_GB.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_nl_BE.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_de_DE.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/weatherInt/lang/lang_nl_NL.qm'...
    Generated 43 translation(s) (43 finished and 0 unfinished)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_fr_BE.qm'...
    Generated 271 translation(s) (271 finished and 0 unfinished)
    Ignored 9 untranslated source text(s)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_fr_FR.qm'...
    Generated 271 translation(s) (271 finished and 0 unfinished)
    Ignored 9 untranslated source text(s)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_es_ES.qm'...
    Generated 280 translation(s) (280 finished and 0 unfinished)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_en_GB.qm'...
    Generated 280 translation(s) (280 finished and 0 unfinished)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_nl_BE.qm'...
    Generated 280 translation(s) (280 finished and 0 unfinished)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_de_DE.qm'...
    Generated 270 translation(s) (270 finished and 0 unfinished)
    Ignored 10 untranslated source text(s)
Updating '/qmf/qml/apps/eMetersSettings/lang/lang_nl_NL.qm'...
    Generated 280 translation(s) (280 finished and 0 unfinished)
Updating '/qmf/qml/apps/controlPanel/lang/lang_fr_BE.qm'...
    Generated 182 translation(s) (182 finished and 0 unfinished)
    Ignored 44 untranslated source text(s)
Updating '/qmf/qml/apps/controlPanel/lang/lang_fr_FR.qm'...
    Generated 184 translation(s) (184 finished and 0 unfinished)
    Ignored 42 untranslated source text(s)
Updating '/qmf/qml/apps/controlPanel/lang/lang_es_ES.qm'...
    Generated 182 translation(s) (182 finished and 0 unfinished)
    Ignored 44 untranslated source text(s)
Updating '/qmf/qml/apps/controlPanel/lang/lang_en_GB.qm'...
    Generated 226 translation(s) (226 finished and 0 unfinished)
Updating '/qmf/qml/apps/controlPanel/lang/lang_nl_BE.qm'...
    Generated 226 translation(s) (226 finished and 0 unfinished)
Updating '/qmf/qml/apps/controlPanel/lang/lang_de_DE.qm'...
    Generated 195 translation(s) (195 finished and 0 unfinished)
    Ignored 31 untranslated source text(s)
Updating '/qmf/qml/apps/controlPanel/lang/lang_nl_NL.qm'...
    Generated 226 translation(s) (226 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_fr_BE.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_fr_FR.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_es_ES.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_en_GB.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_nl_BE.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_de_DE.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/customerService/lang/lang_nl_NL.qm'...
    Generated 10 translation(s) (10 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_fr_BE.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_fr_FR.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_es_ES.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_en_GB.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_nl_BE.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_de_DE.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/statusUsage/lang/lang_nl_NL.qm'...
    Generated 85 translation(s) (85 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_fr_BE.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_fr_FR.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_es_ES.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_en_GB.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_nl_BE.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_de_DE.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/systemSettings/lang/lang_nl_NL.qm'...
    Generated 162 translation(s) (162 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_fr_BE.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_fr_FR.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_es_ES.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_en_GB.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_nl_BE.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_de_DE.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/strvSettings/lang/lang_nl_NL.qm'...
    Generated 122 translation(s) (122 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_fr_BE.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_fr_FR.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_es_ES.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_en_GB.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_nl_BE.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_de_DE.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/airQuality/lang/lang_nl_NL.qm'...
    Generated 20 translation(s) (20 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_fr_BE.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_fr_FR.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_es_ES.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_en_GB.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_nl_BE.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_de_DE.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/clock/lang/lang_nl_NL.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/qmf/qml/apps/graph/lang/lang_fr_BE.qm'...
    Generated 89 translation(s) (89 finished and 0 unfinished)
    Ignored 3 untranslated source text(s)
Updating '/qmf/qml/apps/graph/lang/lang_fr_FR.qm'...
    Generated 89 translation(s) (89 finished and 0 unfinished)
    Ignored 3 untranslated source text(s)
Updating '/qmf/qml/apps/graph/lang/lang_es_ES.qm'...
    Generated 92 translation(s) (92 finished and 0 unfinished)
Updating '/qmf/qml/apps/graph/lang/lang_en_GB.qm'...
    Generated 92 translation(s) (92 finished and 0 unfinished)
Updating '/qmf/qml/apps/graph/lang/lang_nl_BE.qm'...
    Generated 92 translation(s) (92 finished and 0 unfinished)
Updating '/qmf/qml/apps/graph/lang/lang_de_DE.qm'...
    Generated 92 translation(s) (92 finished and 0 unfinished)
Updating '/qmf/qml/apps/graph/lang/lang_nl_NL.qm'...
    Generated 92 translation(s) (92 finished and 0 unfinished)
Updating '/qmf/qml/apps/inbox/lang/lang_fr_BE.qm'...
    Generated 6 translation(s) (6 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/inbox/lang/lang_fr_FR.qm'...
    Generated 6 translation(s) (6 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/inbox/lang/lang_es_ES.qm'...
    Generated 8 translation(s) (8 finished and 0 unfinished)
Updating '/qmf/qml/apps/inbox/lang/lang_en_GB.qm'...
    Generated 8 translation(s) (8 finished and 0 unfinished)
Updating '/qmf/qml/apps/inbox/lang/lang_nl_BE.qm'...
    Generated 8 translation(s) (8 finished and 0 unfinished)
Updating '/qmf/qml/apps/inbox/lang/lang_de_DE.qm'...
    Generated 8 translation(s) (8 finished and 0 unfinished)
Updating '/qmf/qml/apps/inbox/lang/lang_nl_NL.qm'...
    Generated 8 translation(s) (8 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_fr_BE.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_fr_FR.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_es_ES.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_en_GB.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_nl_BE.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_de_DE.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/benchmark/lang/lang_nl_NL.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_fr_BE.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_fr_FR.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_es_ES.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_en_GB.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_nl_BE.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_de_DE.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/solar/lang/lang_nl_NL.qm'...
    Generated 38 translation(s) (38 finished and 0 unfinished)
Updating '/qmf/qml/apps/smokeDetector/lang/lang_fr_BE.qm'...
    Generated 114 translation(s) (114 finished and 0 unfinished)
Updating '/qmf/qml/apps/smokeDetector/lang/lang_fr_FR.qm'...
    Generated 114 translation(s) (114 finished and 0 unfinished)
Updating '/qmf/qml/apps/smokeDetector/lang/lang_en_GB.qm'...
    Generated 114 translation(s) (114 finished and 0 unfinished)
Updating '/qmf/qml/apps/smokeDetector/lang/lang_nl_BE.qm'...
    Generated 114 translation(s) (114 finished and 0 unfinished)
Updating '/qmf/qml/apps/smokeDetector/lang/lang_de_DE.qm'...
    Generated 114 translation(s) (114 finished and 0 unfinished)
Updating '/qmf/qml/apps/smokeDetector/lang/lang_nl_NL.qm'...
    Generated 114 translation(s) (114 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_fr_BE.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_fr_FR.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_es_ES.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_en_GB.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_nl_BE.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_de_DE.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostat/lang/lang_nl_NL.qm'...
    Generated 90 translation(s) (90 finished and 0 unfinished)
Updating '/qmf/qml/apps/heatRecovery/lang/lang_de_DE.qm'...
    Generated 29 translation(s) (29 finished and 0 unfinished)
Updating '/qmf/qml/apps/heatRecovery/lang/lang_nl_NL.qm'...
    Generated 29 translation(s) (29 finished and 0 unfinished)
Updating '/qmf/qml/apps/winwit/lang/lang_fr_BE.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/winwit/lang/lang_fr_FR.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/winwit/lang/lang_es_ES.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/winwit/lang/lang_en_GB.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/winwit/lang/lang_nl_BE.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/winwit/lang/lang_de_DE.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/winwit/lang/lang_nl_NL.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/installWizard/lang/lang_fr_BE.qm'...
    Generated 6 translation(s) (6 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/qmf/qml/apps/installWizard/lang/lang_fr_FR.qm'...
    Generated 6 translation(s) (6 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/qmf/qml/apps/installWizard/lang/lang_es_ES.qm'...
    Generated 6 translation(s) (6 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/qmf/qml/apps/installWizard/lang/lang_en_GB.qm'...
    Generated 7 translation(s) (7 finished and 0 unfinished)
Updating '/qmf/qml/apps/installWizard/lang/lang_nl_BE.qm'...
    Generated 7 translation(s) (7 finished and 0 unfinished)
Updating '/qmf/qml/apps/installWizard/lang/lang_de_DE.qm'...
    Generated 7 translation(s) (7 finished and 0 unfinished)
Updating '/qmf/qml/apps/installWizard/lang/lang_nl_NL.qm'...
    Generated 7 translation(s) (7 finished and 0 unfinished)
Updating '/qmf/qml/apps/internetSettings/lang/lang_fr_BE.qm'...
    Generated 126 translation(s) (126 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/internetSettings/lang/lang_fr_FR.qm'...
    Generated 126 translation(s) (126 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/internetSettings/lang/lang_es_ES.qm'...
    Generated 126 translation(s) (126 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/internetSettings/lang/lang_en_GB.qm'...
    Generated 126 translation(s) (126 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/internetSettings/lang/lang_nl_BE.qm'...
    Generated 126 translation(s) (126 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/internetSettings/lang/lang_de_DE.qm'...
    Generated 117 translation(s) (117 finished and 0 unfinished)
    Ignored 11 untranslated source text(s)
Updating '/qmf/qml/apps/internetSettings/lang/lang_nl_NL.qm'...
    Generated 126 translation(s) (126 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/imageViewer/lang/lang_fr_BE.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 7 untranslated source text(s)
Updating '/qmf/qml/apps/imageViewer/lang/lang_fr_FR.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 7 untranslated source text(s)
Updating '/qmf/qml/apps/imageViewer/lang/lang_en_GB.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/qmf/qml/apps/imageViewer/lang/lang_nl_BE.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 7 untranslated source text(s)
Updating '/qmf/qml/apps/imageViewer/lang/lang_nl_NL.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 7 untranslated source text(s)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_fr_BE.qm'...
    Generated 104 translation(s) (104 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_fr_FR.qm'...
    Generated 104 translation(s) (104 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_es_ES.qm'...
    Generated 96 translation(s) (96 finished and 0 unfinished)
    Ignored 10 untranslated source text(s)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_en_GB.qm'...
    Generated 106 translation(s) (106 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_nl_BE.qm'...
    Generated 106 translation(s) (106 finished and 0 unfinished)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_de_DE.qm'...
    Generated 104 translation(s) (104 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/qmf/qml/apps/thermostatSettings/lang/lang_nl_NL.qm'...
    Generated 106 translation(s) (106 finished and 0 unfinished)
and it did create a file in /qmf/etc , but qmf_tenant.xml was still a 0 size file

sftp://root@192.168.0.103/qmf/etc/qmf_hardware.xml
sftp://root@192.168.0.103/qmf/etc/qmf_release.xml
0 size sftp://root@192.168.0.103/qmf/etc/qmf_release.xml.toonstore_backup
0 size sftp://root@192.168.0.103/qmf/etc/qmf_tenant.xml
0 size sftp://root@192.168.0.103/qmf/etc/qmf_tenant.xml.save
sftp://root@192.168.0.103/qmf/etc/tenant-dict.json

after this I looked at the packages via opkg list and looked for tenant named packages, i did run the following commands in the same manner as your suggested commands

Code: Select all

opkg remove --force-depends base-qb2-uni qmf-tenantize
opkg install base-qb2-uni qmf-tenantize

opkg remove --force-depends base-qb2-uni tenant-eneco-nl
opkg install base-qb2-uni tenant-eneco-nl
after this the qmf_tenant.xml was created.
after the reboot the toon booted, success!
It came in the installation wizard and in the TSC to complete installation. Also a reset to factory defaults was an option in the wizard.

regards, marcel
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooted toon not booting after wrong use script

Post by TheHogNL »

Good job in fixing it! It seems you did do the right debugging and manage to find out what you are missing. Indeed the tenant files are seperate from the rest of the files so should be installed also if you are missing those.
Member of the Toon Software Collective
msnatm
Starting Member
Starting Member
Posts: 4
Joined: Sun Sep 15, 2019 3:04 am

Re: Rooted toon not booting after wrong use script

Post by msnatm »

thanks, a small update on the Toon. It started everytime to the wizard, where it was connected to the service center and it allowed for activation via activation code.

I have changed the setting <activated>1</activated> in config_happ_scsync.xml according to this posting of terrorsource
viewtopic.php?f=104&t=12165&start=0&hil ... ted#p87483
I did read that the TSC menu would do this activation setting at start but it did not happen in my case (maybe the wizard prevented it to start).
After this the Toon booted normally, but not all buttons were in the menu and also it was connected to the service center.

Had to reinstall the energymeter (first decouple it in the energymeter advanced menu with the option switch toon, and then couple it again).

So I did finally run the update rooted script again with option -f. Followed by commands "sync" and "shutdown now" :D :D

Now it is running as before. Thanks for the help, and all the information on the forum!
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”