Toon app: ToonStore

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon app: ToonStore

Post by TerrorSource »

richardklasens wrote:Thnx Terrorsource.. The Dirty Workaround does the trick.
One small failure, i've downloaded on my pc, copied it to root folder on toon with SFTP, but can't install because it collected some erros..
Then login with ssh again, and typed "opkg install http://files.domoticaforum.eu/uploads/T ... .1_qb2.ipk"

That did the trick...

Thank you!
Great! have edited the steps as you cannot use wget either.
marcog
Starting Member
Starting Member
Posts: 16
Joined: Thu Nov 01, 2018 3:45 pm

Re: Toon app: ToonStore

Post by marcog »

After installing the ssl library the updating and installing of the apps via the ToonStore is working fine again. Thank you guys for figuring this one out.

Regards Marco
richardklasens
Starting Member
Starting Member
Posts: 15
Joined: Fri Feb 15, 2019 10:13 pm

Re: Toon app: ToonStore

Post by richardklasens »

Only the waste collector app doesnt install on toon thru toonstore.
Manually it installed but doesnt work properly.
I use Area afval (25) with a ics file placed with sftp in /root/waste/waste-calendar.ics

(This should be in an other forum i Guess)
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

Wastecollection has dependencies on cron and wget which isn't really needed anymore.
I will make another release without these dependencies to allow proper install via ToonStore on fresh 5.0.4's.
When installed manually it should work though....

BTW : your waste filename is wrong, should have an '_' instead of '-' in the middle
member of the Toon Software Collective
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon app: ToonStore

Post by Ierlandfan »

Edit: New resource file wasn't automatically downloaded. It's working now by manually downloading and copying the most recent resource files.

I have the problem that the ToonStore installs without any noticable errors but doesn't show up in the GUI.
When I ran qt-gui in debug it doesn't seems to be aware of the Toonstore app.
qml: filterEnabledApps [homescreen,systray,thermostat,clock,settings,systemSettings,thermostatSettings,internetSettings ,eMetersSettings,graph,inbox,domesticHotWater,winwit,boilerMonitor,weather,controlPanel,statusUsage,smokeDetector]
qml: enabledApps 0 appsToLoad 18

Tried Step 1-5 (multiple times) but it doesn't shows up.

Code: Select all

/qmf/qml/apps#  ls
......
toonstore
toonstore-2.1.2
.....
Any clues?
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon app: ToonStore

Post by wirdo02 »

Hello,

I've tried the methods you guys posted earlier but without succes.
Toonstore shows all the apps correctly but after clicking 'toon bijwerken' nothing happens.

I've removed the toonstore app and checked /usr/lib/opkg/status for an toon entry but there wasn't any.
Then installed the libssl package, rebooted and installed the toonstore again.

Also checked the contents of qmf_release.xml which are the same as Toonz posted earlier in this thread.
Hosts file is correct.

Edit: I noticed in the OPKG logs that a dependency was missing (tsc-certificates) when installing a package from the tool store.
Installed the dependency; now when clicking on "toon bijwerken" the download icon appears but nothing happens after that.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon app: ToonStore

Post by TheHogNL »

So you are seeing the apps in /qmf/qml/apps (like wastecollection) as you posted in another topic? And you see the app .qml files in that directory?
If Toonstore is running, these extra apps should be running now also.
Member of the Toon Software Collective
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon app: ToonStore

Post by wirdo02 »

TheHogNL wrote:So you are seeing the apps in /qmf/qml/apps (like wastecollection) as you posted in another topic? And you see the app .qml files in that directory?
If Toonstore is running, these extra apps should be running now also.
Yes, I can see these located in the app folder.
WastecollectionApp.qml
WastecollectionApp.qmlc

I cannot find the app anywhere on the toon itself though.
When installing an app via the toon store I mark it so it becomes a green plus and then click "toon bijwerken' for a short while you see a download icon.
After that no extra app is found in the GUI and when returning back to the toon store it's still marked with a green + instead of having the installed status.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

can you post here the last block of /mnt/data/update/_opkg.???-uni-9.9.99.script.sh.log?
member of the Toon Software Collective
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon app: ToonStore

Post by wirdo02 »

Toonz wrote:can you post here the last block of /mnt/data/update/_opkg.???-uni-9.9.99.script.sh.log?
Hi Toonz,

Just when I was about to post the log I noticed that it was now missing another tsc-certificates dependencies.
After installing the latest version (1.1.0) instead of just 1.0.1 the issue has been solved and everything works fine!

Perhaps it's possible to install these automatically when installing the toonstore?

EDIT: Buienradar seems to have installed just fine. Just tried to install remaining apps that I wish to use but no luck.
Also the log file hasn't been adjusted/updated since the installation of buienradar so there isn't any information to gather from there.
EDIT2: the log file seems to be the only file in the update folder. There used to be more files including the script.
Somehow these were removed after the buienradar installation.

Thanks for your response!

>> Package cache: /mnt/data/update
>> opkg --cache /mnt/data/update install --download-only buienradar
Downloading http://files.domoticaforum.eu/uploads/T ... r0_qb2.ipk.
>> opkg --cache /mnt/data/update install --download-only tsc-certificates
Package tsc-certificates (1.1.0-r0) installed in root is up to date.
>> downloaded:
124.0K total
>> dropboxMessage buienradar-8.4.1BRBRBekijk de berichten voor deze software voor informatie over eventuele configuratie.
>> no packages to be removed
>> 2019-03-08 20:42:24 +0100 (pid 4905), status = prepared
>> 2019-03-08 20:42:26 +0100 (pid 5064), status = execute
>> 2019-03-08 20:42:26 +0100 (pid 5064), status = executing
>> opkg --cache /mnt/data/update install tsc-certificates
Package tsc-certificates (1.1.0-r0) installed in root is up to date.
>> opkg --cache /mnt/data/update install buienradar
Installing buienradar (8.4.1-r0) to root...
Copying /mnt/data/update/buienradar_8.4.1-r0_qb2.ipk.
Running preinstall for buienradar-8.4.1
New installation of buienradar, nothing to be done ...
Executing post-install script for buienradar-8.4.1 ...
Writing app version number to /HCBv2/qml/apps/buienradar-8.4.1/version.txt ...
Adding buienradar to Globals.qml
sed: /HCBv2/qml/qb/base/Globals.qml: No such file or directory
Creating symbolic link /HCBv2/qml/apps/buienradar to /HCBv2/qml/apps/buienradar-8.4.1
Firmware version 5 or greater detected, changing app for firmware compatibility...
Posting message ...
Configuring buienradar.
>> deleting /tmp/dependencies_to_install.txt
>> deleting /tmp/packages_to_install.txt
>> reinstating cache handling (default 0)
>> deleting /tmp/install_status
>> deleting all in /mnt/data/update
>> (this may give some errors, no problem here ...)
>> 2019-03-08 20:42:33 +0100 (pid 5064), status = executed
>> Restarting qt-gui and hcb_config ...
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

there has been an issue with the waste collection app (just resolved). Is this also solving your issue?
member of the Toon Software Collective
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon app: ToonStore

Post by wirdo02 »

Toonz wrote:there has been an issue with the waste collection app (just resolved). Is this also solving your issue?
No, not really.
I’m unable to install anything from the toonstore.
Trying to install the package to manage room remotely and the webcam app.

I assume a script is being called when pushing “toon bijwerken” is that script located in the update folder where the log file is located as well? If so than it’s gone for some reason.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

The script which is called via the internal webserver is : /qmf/www/feeds/qb2/upgrade/upgrade-qb2.sh
(in the hosts file feed.hae.int should point to 127.0.0.1)

The resulting (log) files can be found in /mnt/data/update
member of the Toon Software Collective
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon app: ToonStore

Post by wirdo02 »

Toonz wrote:The script which is called via the internal webserver is : /qmf/www/feeds/qb2/upgrade/upgrade-qb2.sh
(in the hosts file feed.hae.int should point to 127.0.0.1)

The resulting (log) files can be found in /mnt/data/update
The upgrade-qb2.sh is present, is there any way to run this manually to see where it's going wrong?
The logfile located in /mnt/data/update is still not changed since yesterday. Just tried to install one of the apps through toonstore.

Did notice that /etc/hosts was empty (and so was the hosts.toonstore_backup) added 127.0.0.1 feed.hae.int but still nothing happening in the toonstore or log file.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

empty hosts files on Toon are not good :-).
Mine looks like this (the localhost.localdomain line must be present as well for ToonStore (and other functionality I guess) to work properly)

Code: Select all

# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1		localhost.localdomain		localhost		eneco-001-xxxxxx
127.0.0.1		feed.hae.int		feed
member of the Toon Software Collective
Post Reply

Return to “Toon Apps”