[solved] error when trying to install Datayours from App Store

I get this error: “Error: device does not handle service/action”
This is in the log:

2017-12-30 09:22:47.109 openLuup.server:: GET /data_request?id=action&output_format=json&DeviceNum=4&serviceId=urn:upnp-org:serviceId:AltAppStore1&action=update_plugin&metadata=%7B%22plugin%22%3A%7B%22id%22%3A8211%2C%22Title%22%3A%22DataYours%22%2C%22Description%22%3A%22Data%20Storage%20Provider%20for%20device%20variables%22%2C%22Icon%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Fakbooer%2FDataYours%2Fmaster%2Ficons%2FDataYours.png%22%2C%22Instructions%22%3A%22https%3A%2F%2Fgithub.com%2Fakbooer%2FDataYours%2Ftree%2Fmaster%2FDocumentation%22%2C%22AllowMultiple%22%3A0%2C%22AutoUpdate%22%3A0%7D%2C%22repository%22%3A%7B%22type%22%3A%22GitHub%22%2C%22source%22%3A%22akbooer%2FDatayours%22%2C%22pattern%22%3A%22%5BDILS%5D_Data%25w%2B%25.%25w%2B%22%2C%22versions%22%3A%7B%221%22%3A%7B%22release%22%3A%22development%22%7D%2C%222%22%3A%7B%22release%22%3A%22development%22%7D%7D%2C%22folders%22%3A%5B%22%22%5D%7D%2C%22devices%22%3A%5B%7B%22DeviceFileName%22%3A%22D_DataYours.xml%22%2C%22DeviceType%22%3A%22urn%3Aakbooer-com%3Adevice%3ADataYours%3A1%22%2C%22ImplFile%22%3A%22I_DataYours.xml%22%2C%22Invisible%22%3A%220%22%7D%5D%2C%22version%22%3A%7B%22major%22%3A%2216%22%2C%22minor%22%3A%221.4%22%7D%2C%22versionid%22%3A%221%22%7D HTTP/1.1 tcp{client}: 0x18177c8 2017-12-30 09:22:47.122 openLuup.server:: request completed (18007 bytes, 2 chunks, 6367 ms) tcp{client}: 0xe1c4f0 2017-12-30 09:22:47.134 openLuup.server:: request completed (18007 bytes, 2 chunks, 5588 ms) tcp{client}: 0x18b8368 2017-12-30 09:22:47.135 luup.call_action:0: 4.urn:upnp-org:serviceId:AltAppStore1.update_plugin 2017-12-30 09:22:47.135 luup_log:4: AltAppStore : starting <run> phase... 2017-12-30 09:22:47.136 luup_log:4: AltAppStore : downloading akbooer/Datayours [development] to /tmp/AltAppStore/ 2017-12-30 09:22:47.167 luup_log:4: AltAppStore : error downloading: unknown error 2017-12-30 09:22:47.167 openLuup.server:: request completed (44 bytes, 1 chunks, 58 ms) tcp{client}: 0x18177c8

What are you runining this on? RPi?

I ran into a similar error recently when installing a clean openLuup system on a RPi… turns out that I did not have write access to /tmp, which seems very wrong. But doing chmod a+x seemed to make all the difference.

yepp, running on a pi. Will try the mod change and report back.

Hmm, no, that didn’t fix it.
There is a directory AltAppStore in /tmp, but it is empty.
Disk has enough free space.

The AltAppStore/ directory needs to be similarly writeable.

You can try this manually to see if you’re able to write to that too.

My mistake… you probably need:

sudo chmod a+w /tmp/AltAppServer

No idea why this isn’t set correctly at the outset. I’ve just replicated your problem on a fresh install and fixed it in the above manner.

BTW, for DataYours, I would recommend installing the latest from the AltUI > Misc > Plugins page, by typing development into the Update box and pressing the update button on the far right (not the update check box in the middle) rather than using the AltAppStore (older version.)

ak, I tried different rights to no avail.
There was no directory /tmp/AltAppServer so I created it and did the chmod you suggested.
No difference.
Neither the install via AltAppStore nor the plugin update method is working.
This is not only regarding DataYours but every other plugin.
Always same error message as stated earlier.

Thank you for your incredible support, have a Happy New Year!

This isn’t a network permissions problem is it? You can access, for example, GitHub from your target machine OK?

Thanks & Happy New Year to you too!

I ignored the issue until now, tried again, and now updating via plugin page and AltAppStore is working.
Scratching my head.
The new year is starting quite well :slight_smile:

Glad to hear it! Happy New Year.

I am having the same issue, not able to use the Alt App Store, can some one point me in the direction to get this work. I am I installed and registered that app a few weeks ago.

[ul][li]Which particular issue are you having?[/li]
[li]Can you provide a log showing the error?
[/li]
[li]This IS running on openLuup, not Vera?[/li][/ul]

sigh… Having the same issue… openLuup, AltUI. I get the pop up saying

“a newer version #2322 of ALTUI is available, do you want to upgrade?”

I’m running OpenLuup version:

2018-03-30 12:46:21.373 :: openLuup STARTUP :: 2018-03-30 12:46:21.374 openLuup.init:: version 2016.12.10 @akbooer 2018-03-30 12:46:21.391 openLuup.scheduler:: version 2017.02.22 @akbooer 2018-03-30 12:46:21.392 openLuup.wsapi:: version 2017.01.12 @akbooer 2018-03-30 12:46:21.392 openLuup.server:: version 2017.03.03 @akbooer 2018-03-30 12:46:21.396 openLuup.rooms:: version 2016.06.23 @akbooer 2018-03-30 12:46:21.398 openLuup.scenes:: version 2017.01.15 @akbooer 2018-03-30 12:46:21.401 openLuup.chdev:: version 2016.11.02 @akbooer 2018-03-30 12:46:21.401 openLuup.userdata:: version 2016.11.15 @akbooer 2018-03-30 12:46:21.401 openLuup.requests:: version 2017.02.05 @akbooer 2018-03-30 12:46:21.402 openLuup.io:: version 2016.11.09 @akbooer 2018-03-30 12:46:21.402 openLuup.luup:: version 2016.12.06 @akbooer
on an Ubuntu Machine version “4.13.0-37-generic”.

I answer yes, it pretends to be happy… but nothing happened. Looking at the logs I see it failed. I also have the same problem as above in the Alternative App Store… Made sure to make /tmp/AltAppStore world writeable. As is /tmp to no avail… Here is the log:

018-04-06 11:13:42.687 openLuup.server:: GET /data_request?id=variableget&DeviceNum=0&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&Variable=Mode&_=1523034829387 HTTP/1.1 tcp{client}: 0x159e368 2018-04-06 11:13:42.690 openLuup.server:: request completed (1 bytes, 1 chunks, 2 ms) tcp{client}: 0x159e368 2018-04-06 11:13:44.583 openLuup.server:: GET /data_request?id=lu_status2&output_format=json&DataVersion=1&Timeout=60&MinimumDelay=1500&_=1523034829388 HTTP/1.1 tcp{client}: 0x159e368 2018-04-06 11:13:46.250 openLuup.server:: request completed (381570 bytes, 24 chunks, 1667 ms) tcp{client}: 0x159e368 2018-04-06 11:13:46.401 openLuup.server:: GET /data_request?id=lu_status2&output_format=json&DataVersion=435832061&Timeout=60&MinimumDelay=1500&_=1523034829389 HTTP/1.1 tcp{client}: 0x159e368 2018-04-06 11:13:47.887 openLuup.server:: GET /data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=36121&TracRev=2322&_=1523034829390 HTTP/1.1 tcp{client}: 0x14a9868 2018-04-06 11:13:47.889 luup.call_action:0: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.CreatePlugin 2018-04-06 11:13:47.891 luup.call_action:0: 2.openLuup.plugin_configuration 2018-04-06 11:13:47.892 luup.call_action:0: 4.urn:upnp-org:serviceId:AltAppStore1.update_plugin 2018-04-06 11:13:47.893 luup_log:4: AltAppStore : starting <run> phase... 2018-04-06 11:13:47.896 luup_log:4: AltAppStore : downloading amg0/ALTUI [2322] to /tmp/AltAppStore/ 2018-04-06 11:13:48.061 luup_log:4: AltAppStore : error downloading: unknown error 2018-04-06 11:13:48.063 openLuup.server:: request completed (156 bytes, 1 chunks, 176 ms) tcp{client}: 0x14a9868 2018-04-06 11:13:48.089 luup.variable_set:5: 10597.urn:micasaverde-com:serviceId:ZWaveNetwork1.ConsecutivePollFails was: 4725 now: 4726 #hooks:0 2018-04-06 11:13:48.604 openLuup.server:: request completed (8980 bytes, 1 chunks, 21816 ms) tcp{client}: 0xdd7088 2018-04-06 11:13:48.609 openLuup.server:: request completed (8980 bytes, 1 chunks, 2208 ms) tcp{client}: 0x159e368 2018-04-06 11:13:48.614 openLuup.server:: error 'closed' sending 164 bytes to tcp{client}: 0x1117848 2018-04-06 11:13:48.614 openLuup.server:: ...only 0 bytes sent 2018-04-06 11:13:48.614 openLuup.server:: error 'closed' sending 6 bytes to tcp{client}: 0x1117848 2018-04-06 11:13:48.614 openLuup.server:: ...only 0 bytes sent 2018-04-06 11:13:48.614 openLuup.server:: error 'closed' sending 8980 bytes to tcp{client}: 0x1117848 2018-04-06 11:13:48.614 openLuup.server:: ...only 0 bytes sent 2018-04-06 11:13:48.615 openLuup.server:: error 'closed' sending 2 bytes to tcp{client}: 0x1117848 2018-04-06 11:13:48.615 openLuup.server:: ...only 0 bytes sent 2018-04-06 11:13:48.615 openLuup.server:: error 'closed' sending 5 bytes to tcp{client}: 0x1117848 2018-04-06 11:13:48.615 openLuup.server:: ...only 0 bytes sent 2018-04-06 11:13:48.615 openLuup.server:: request completed (8980 bytes, 1 chunks, 21837 ms) tcp{client}: 0x1117848 2018-04-06 11:13:48.616 openLuup.server:: receive error: closed tcp{client}: 0xdd7088 2018-04-06 11:13:48.711 openLuup.server:: new client connection from 192.168.1.137: tcp{client}: 0x1891858 2018-04-06 11:13:48.713 openLuup.server:: GET /data_request?id=status2&LoadTime=1522435581&DataVersion=435832063&Timeout=40&MinimumDelay=0 HTTP/1.1 tcp{client}: 0x1891858 2018-04-06 11:13:48.727 openLuup.server:: GET /data_request?id=lu_status2&output_format=json&DataVersion=435832063&Timeout=60&MinimumDelay=1500&_=1523034829391 HTTP/1.1 tcp{client}: 0x159e368 2018-04-06 11:13:50.233 openLuup.server:: closing client connection: tcp{client}: 0x185d9f8

root@plex-server:/etc/cmh-ludl/logs# ls -ld /tmp drwxrwxrwt 13 root root 4096 Apr 6 11:17 /tmp root@plex-server:/etc/cmh-ludl/logs# ls -ld /tmp/AltAppStore/ drwxrwxrwx 2 root root 4096 Mar 30 10:48 /tmp/AltAppStore/ root@plex-server:/etc/cmh-ludl/logs#

Possibly related to this issue? http://forum.micasaverde.com/index.php/topic,38102.msg352456.html#msg352456

Yes, @jswim788 is exactly right. Just fix up AltAppStore as described in the link and you are good to go.

There’s nothing I could have done about this. GitHub gave a relatively short warning, AFAIK, about switching off some old transport level security support. Unfortunately, this is the one that most Lua 5.1 libraries come with, so it needs the described update.

Sweet. That did it… Wow, thanks for the quick reply…

You guys are the best!