New to the forum
-
@akbooer Here are the log entries:
2020-12-11 01:16:03.648 openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:03.649 openLuup.server:: POST /openLuup? HTTP/1.1 tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:03.649 luup.call_action:: 3.urn:upnp-org:serviceId:AltAppStore1.update_plugin 2020-12-11 01:16:03.649 luup_log:3: AltAppStore : starting <run> phase... 2020-12-11 01:16:03.650 luup_log:3: AltAppStore : downloading amg0/ALTUI [master] to trash/AltAppStore/ 2020-12-11 01:16:03.650 luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents?ref=master 2020-12-11 01:16:12.565 luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents/blockly?ref=master 2020-12-11 01:16:16.980 luup_log:3: AltAppStore : getting contents of version: master 2020-12-11 01:16:16.980 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: Downloading... now: Downloading... #hooks:0 2020-12-11 01:16:16.980 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: Alternate UI failed now: Alternate UI #hooks:0 2020-12-11 01:16:16.982 luup_log:3: AltAppStore : scheduling <job> phase... 2020-12-11 01:16:16.982 openLuup.requests:: 2020-12-11 01:16:16.983 openLuup.server:: request completed (16694 bytes, 0 chunks, 13334 ms) tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:24.034 luup_log:3: AltAppStore : starting <job> phase... 2020-12-11 01:16:24.034 luup_log:3: AltAppStore : download failed, status: wantread 2020-12-11 01:16:24.034 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: Alternate UI now: Alternate UI failed #hooks:0 2020-12-11 01:16:24.034 openLuup.server:: GET /openLuup?page=devices HTTP/1.1 tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:24.035 openLuup.server:: request completed (9499 bytes, 0 chunks, 1 ms) tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:24.379 openLuup.server:: GET /icons/zwave_default.png HTTP/1.1 tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:24.379 openLuup.server:: request completed (0 bytes, 0 chunks, 0 ms) tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:24.379 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x55cdaf32ae08 2020-12-11 01:16:29.954 openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cdaf4dbe78 2020-12-11 01:16:29.955 openLuup.server:: GET /openLuup?page=log HTTP/1.1 tcp{client}: 0x55cdaf4dbe78
Yes, this setup is showing itself to be quite problematic. I'll try for a while longer before giving up. That would be really disappointing. I was getting really hyped to get back into automating things around here, and Alexa routines just don't cut it.
-
My suggestion is to reinstall it again. It’s somewhat corrupted. From a technical perspective, WSL is just a Linux vm. I’m running Ubuntu, try with it. WSL can run different distro side by side.
-
@therealdb Hi, sorry, could you spell it out for me so that there's no way I'll mess it up? I'd like to delete the files I've installed and wipe the Kali installation before I give this one last go with Ubuntu. I only initially installed Kali because I thought it could come in handy were I to install Wireshark, etc.
Thanks for your assistance -
For my part, I’m going to do a fresh install on a Windows machine, and see how that goes.
The only different thing from my previous experience is installing a stand-alone Lua, rather than my usual development environment.
-
Quixotereplied to akbooer on Dec 11, 2020, 9:24 AM last edited by Quixote Dec 11, 2020, 4:25 AM
@akbooer Thanks!
I imagine that will be quite easy from my past experience (with Lua for Windows, I mean). My worry is only that running plugins, etc. may not translate well when ported from a Linux/Unix environment. Guess there's only one way to find out! -
It should be enough to delete the distro from start menu and start again. As I said, it’s just a windows app from this point of view. A command line to install and manage distros is available, just google for it.
-
This post is deleted!
-
This post is deleted!
-
@quixote said in New to the forum:
2020-12-11 01:16:24.034 luup_log:3: AltAppStore : download failed, status: wantread
This looks like an OpenSSL error. Does that need updating somehow?
-
Oh, I got sidetracked by investigating WSL...
I now have openLuup and AltUI running under WSL (Alpine, because I'm a fan of minimalist things, and that's the image I run in Docker.)
I can supply detailed instructions if required (although you're probably just as able as I to do that.)
-
Ok, this is getting ridiculous.
I uninstalled Kali as a Windows app, installed Ubuntu 20.04 LTS instead, reinstalled Lua 5.1 and all dependencies, reinstalled openLuup.
After all that, I try to open http://172.22.154.28:3480 as prompted and get nothing but "No handler for data_request?id=lr_ALTUI_Handler" at the top of the page.
aaaarrrrgh!!! No idea what I could be doing wrong here. -
@therealdb but that's literally what I just did. What would be the changing factor?
-
What is in the logs?
You can also try the request:
http://IP:3480/data_request?id=altui
Let it run for a couple of minutes (without giving a response as it downloads) then check the log and try the AltUI page again.
What is in the log?
-
-
Welp, I'm not getting anywhere with this. I tried installing over my previous install once again and then navigating to the address provided (http://172.31.206.111:3480/data_request?id=altui ). If anything, things are getting worse. The openLuup page is no longer formatted properly and lacks the graphic element that was there the first time around.
Here's my latest log:2020-12-14 01:54:34.563 :: openLuup LOG ROTATION :: (runtime 0.0 days) 2020-12-14 01:54:34.563 openLuup.init:: init phase completed 2020-12-14 01:54:34.563 openLuup.io.server:: starting HTTP:3480 server on port: 3480 tcp{server}: 0x557ccbcb5a68 2020-12-14 01:54:34.563 openLuup.io.server:: starting SMTP server on port: 2525 tcp{server}: 0x557ccbd381c8 2020-12-14 01:54:34.563 openLuup.io.server:: starting POP3 server on port: 11011 tcp{server}: 0x557ccbd141c8 2020-12-14 01:54:34.563 openLuup.historian:: starting data historian 2020-12-14 01:54:34.563 openLuup.historian:: using memory cache size (per-variable): 1024 2020-12-14 01:54:34.563 openLuup.scheduler:: starting 2020-12-14 01:54:34.563 openLuup.scheduler:: [2] openLuup device startup 2020-12-14 01:54:34.563 luup_log:2: v20.5.22 2020-12-14 01:54:34.563 luup_log:2: sync in 85.4 s 2020-12-14 01:54:34.563 luup.variable_watch:: callback=housemode_watcher, watching=2.openLuup.HouseMode 2020-12-14 01:54:34.563 luup.register_handler:: global_function_name=openLuup_email, request=openLuup@openLuup.local 2020-12-14 01:54:34.563 luup.register_handler:: global_function_name=openLuup_images, request=images@openLuup.local 2020-12-14 01:54:34.564 luup.register_handler:: global_function_name=openLuup_events, request=events@openLuup.local 2020-12-14 01:54:34.564 luup.register_handler:: global_function_name=openLuup_mailbox, request=mail@openLuup.local 2020-12-14 01:54:34.564 luup.chdev.append:: [AltAppStore] Alternate App Store 2020-12-14 01:54:34.564 luup.chdev.sync:: [2] openLuup, syncing children 2020-12-14 01:54:34.564 luup_log:2: 1Mb, 0%cpu, 0.0days 2020-12-14 01:54:34.564 openLuup.scheduler:: [2] openLuup device startup completed: status=true, msg=sync in 85.4 s, name=L_openLuup 2020-12-14 01:54:34.564 openLuup.scheduler:: [3] Alternate App Store device startup 2020-12-14 01:54:34.564 luup_log:3: AltAppStore : starting... 2020-12-14 01:54:34.564 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: EMPTY now: AltAppStore #hooks:0 2020-12-14 01:54:34.564 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: EMPTY now: #hooks:0 2020-12-14 01:54:34.564 luup.variable_set:: 3.urn:upnp-org:serviceId:AltAppStore1.Version was: EMPTY now: v20.3.30 #hooks:0 2020-12-14 01:54:34.564 luup_log:3: AltAppStore : v20.3.30 2020-12-14 01:54:34.564 luup.set_failure:: status = 0 2020-12-14 01:54:34.564 luup.variable_set:: 3.urn:micasaverde-com:serviceId:HaDevice1.CommFailure was: EMPTY now: 0 #hooks:0 2020-12-14 01:54:34.564 luup.variable_set:: 3.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: EMPTY now: 0 #hooks:0 2020-12-14 01:54:34.564 openLuup.scheduler:: [3] Alternate App Store device startup completed: status=true, msg=OK, name=AltAppStore 2020-12-14 01:56:00.050 luup_log:2: synchronising to on-the-minute 2020-12-14 01:56:00.050 luup.call_timer:: interval: time=2m, days={} 2020-12-14 01:56:00.050 luup_log:2: 2 minute timer launched 2020-12-14 01:56:00.050 luup_log:2: 2Mb, 0%cpu, 0.0days 2020-12-14 01:57:09.812 openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbe5faf8 2020-12-14 01:57:09.814 openLuup.server:: GET / HTTP/1.1 tcp{client}: 0x557ccbe5faf8 2020-12-14 01:57:09.814 openLuup.server:: request completed (194 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe5faf8 2020-12-14 01:57:10.466 openLuup.server:: GET /data_request?id=lr_ALTUI_Handler&command=home HTTP/1.1 tcp{client}: 0x557ccbe5faf8 2020-12-14 01:57:10.466 openLuup.servlet:: No handler for data_request?id=lr_ALTUI_Handler 2020-12-14 01:57:10.466 openLuup.server:: request completed (153 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe5faf8 2020-12-14 01:57:10.524 openLuup.server:: GET /favicon.ico HTTP/1.1 tcp{client}: 0x557ccbe5faf8 2020-12-14 01:57:10.524 openLuup.servlet:: file not found:favicon.ico 2020-12-14 01:57:10.525 openLuup.server:: request completed (126 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe5faf8 2020-12-14 01:58:00.133 luup_log:0: 2Mb, 0%cpu, 0.0days 2020-12-14 01:58:24.472 openLuup.server:: GET /data_request?id=altui HTTP/1.1 tcp{client}: 0x557ccbe5faf8 2020-12-14 01:58:24.473 luup.call_action:: 3.urn:upnp-org:serviceId:AltAppStore1.update_plugin 2020-12-14 01:58:24.473 luup_log:3: AltAppStore : starting <run> phase... 2020-12-14 01:58:24.473 luup_log:3: AltAppStore : downloading amg0/ALTUI [master] to trash/AltAppStore/ 2020-12-14 01:58:24.473 luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents?ref=master 2020-12-14 01:58:25.268 luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents/blockly?ref=master 2020-12-14 01:58:25.678 luup_log:3: AltAppStore : getting contents of version: master 2020-12-14 01:58:25.678 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: AltAppStore now: Downloading... #hooks:0 2020-12-14 01:58:25.678 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: now: Alternate UI #hooks:0 2020-12-14 01:58:25.678 luup_log:3: AltAppStore : scheduling <job> phase... 2020-12-14 01:58:25.678 openLuup.requests:: 2020-12-14 01:58:25.678 openLuup.server:: request completed (0 bytes, 0 chunks, 1205 ms) tcp{client}: 0x557ccbe5faf8 2020-12-14 01:58:30.958 luup_log:3: AltAppStore : starting <job> phase... 2020-12-14 01:58:30.958 luup_log:3: AltAppStore : download failed, status: wantread 2020-12-14 01:58:30.958 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: Alternate UI now: Alternate UI failed #hooks:0 2020-12-14 01:59:56.243 openLuup.io.server:: HTTP:3480 connection closed EXPIRED tcp{client}: 0x557ccbe5faf8 2020-12-14 02:00:00.051 luup_log:0: 2Mb, 0.1%cpu, 0.0days 2020-12-14 02:02:00.110 luup_log:0: 2Mb, 0%cpu, 0.0days 2020-12-14 02:04:00.062 luup_log:0: 3Mb, 0%cpu, 0.0days 2020-12-14 02:06:00.116 luup_log:0: 2Mb, 0%cpu, 0.0days 2020-12-14 02:07:33.504 openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.504 openLuup.server:: GET / HTTP/1.1 tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.504 openLuup.server:: request completed (194 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.575 openLuup.server:: GET /data_request?id=lr_ALTUI_Handler&command=home HTTP/1.1 tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.576 openLuup.servlet:: No handler for data_request?id=lr_ALTUI_Handler 2020-12-14 02:07:33.576 openLuup.server:: request completed (153 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.647 openLuup.server:: GET /favicon.ico HTTP/1.1 tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.647 openLuup.servlet:: file not found:favicon.ico 2020-12-14 02:07:33.647 openLuup.server:: request completed (126 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:07:33.647 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x557ccbe8a1f8 2020-12-14 02:08:00.103 luup_log:0: 2Mb, 0%cpu, 0.0days 2020-12-14 02:08:01.193 openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.194 openLuup.server:: GET /openLuup HTTP/1.1 tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.194 openLuup.wsapi:: using openLuup/console.lua for openLuup 2020-12-14 02:08:01.196 openLuup.wsapi:: using REQUIRE to load CGI openLuup/console.lua 2020-12-14 02:08:01.206 openLuup.server:: request completed (8063 bytes, 0 chunks, 12 ms) tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.819 openLuup.server:: GET /w3.css HTTP/1.1 tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.819 openLuup.server:: request completed (0 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.821 openLuup.server:: GET /icons/openLuup.svg HTTP/1.1 tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.821 openLuup.server:: request completed (458 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe949c8 2020-12-14 02:08:01.821 openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbeddd88 2020-12-14 02:08:06.822 openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x557ccbeddd88 2020-12-14 02:08:13.090 openLuup.server:: GET /openLuup?page=log HTTP/1.1 tcp{client}: 0x557ccbe949c8
@therealdb What is the difference between Windows Terminal and PowerShell? Are you suggesting that I type my commands into Terminal instead of Ubuntu Bash?
Thanks
-
therealdbreplied to Quixote on Dec 14, 2020, 7:58 AM last edited by therealdb Dec 14, 2020, 2:58 AM
@quixote said in New to the forum:
@therealdb What is the difference between Windows Terminal and PowerShell? Are you suggesting that I type my commands into Terminal instead of Ubuntu Bash?
It's a multi-window terminal. No differences, besides side-by-side window, colors, and much more.
2020-12-14 01:58:30.958 luup_log:3: AltAppStore : starting <job> phase...
2020-12-14 01:58:30.958 luup_log:3: AltAppStore : download failed, status: wantreadSo, it's not able to download AltUI. Have you tried running
sudo ./openLuup_reload
? -
@therealdb said in New to the forum:
Have you tried running sudo ./openLuup_reload?
That's a really good suggestion.
-
Yes, multiple times. Like, multi multi times.
-
Have you tried Alpine, next? We seem to have two examples of that working already...
...although I do still wonder whether if isn’t a more fundamental Windows issue, but it would be good to try.
61/81