Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

xlurkr

Members

Everything posted by xlurkr

  1. When I was having my problem, I copied Michel's command and pasted it into a ssh terminal session on the Policy. I got the HTML response, and bash choked on it. Two days later I did exactly the same thing, and it updated correctly. I would say that the server destination has occasionally been borked. Not sure how or why, but this isn't just about browsers or incorrect paths. -Tom
  2. This morning, the curl | bash command worked, and I successfully upgraded to 12.2. The NS installed correctly. After initial configuration, it's working fine. Thanks to all for your help, especially Rob. The most logical conclusion is that the current version of this NS requires version 12.2 of the OS. I hope 12.2 doesn't break any of the other NSs, but I suppose if it does, the authors will fix them over time. -Tom
  3. Michel: It is working this morning. It was not yesterday. Curl was returning HTML, not a bash script, and bash was choking on it. See my first post in this thread. I don't know what changed, but it was broken, and now it's not. Thank you. -Tom
  4. Ticketed. -Tom
  5. That's what I'm saying. Thanks for the the technical version. What I've been trying to do all day is run my first NS on my new Policy. The Policy is up-to-date, as far as it knows. The NS won't install correctly. Everyone trying to help me has already upgraded the OS to 12.2, so they told me to do so. I tried to and can't, apparently. I'm out of next moves. -Tom
  6. Can you try this yourself? The curl command on its own, I mean. I get back some html, not an install script. -Tom
  7. Couldn't you run the curl command and pipe it to more, like I did, just to see what you get? I wonder if that command returns something different now, compared to when you early upgraders did it. Michel said this was temporary, as he was moving to a new upgrade process, or something. I will open a ticket, once it looks like my situation is unique. -Tom
  8. OK, I will, but isn't curl returning the wrong thing? What I got back doesn't look like a shell script to me. -Tom
  9. Yes, ssh in Terminal on a Mac. I am using the correct pipe character. I got the curl output I posted above by piping that to more. What do you get, right now, if you execute the curl command? -Tom
  10. OK, the update fails. Details are in the "100 Packages..." thread in Geek Batch. -Tom
  11. Here's what the curl returns: <html> <head><title>302 Found</title></head> <body> <center><h1>302 Found</h1></center> <hr><center>nginx/1.18.0</center> </body> </html> -Tom
  12. Trying to do this right now. I get bash: line 1: html: No such file or directory bash: line 2: syntax error near unexpected token `<' 'ash: line 2: `<head><title>302 Found</title></head> -Tom
  13. The logs/ directory doesn't appear to exist. I will try Rob's suggestion next, since I tried running install.sh before he posted and got this: ld-elf.so.1: /usr/local/lib/libpython3.7m.so.1.0: Undefined symbol "close_range@FBSD_1.6" Collecting polyinterface Using cached polyinterface-2.1.0-py3-none-any.whl (13 kB) Requirement already satisfied: requests in /usr/local/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (2.22.0) Collecting python-dotenv Using cached python_dotenv-0.15.0-py2.py3-none-any.whl (18 kB) Requirement already satisfied: netifaces in /usr/local/lib/python3.7/site-packages (from polyinterface->-r requirements.txt (line 1)) (0.10.9) Collecting markdown2 Using cached markdown2-2.3.10-py2.py3-none-any.whl (34 kB) Collecting paho-mqtt Using cached paho-mqtt-1.5.1.tar.gz (101 kB) ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zygobz9e/paho-mqtt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zygobz9e/paho-mqtt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-yzk5qby4 cwd: /tmp/pip-install-zygobz9e/paho-mqtt/ Complete output (1 lines): ld-elf.so.1: /usr/local/lib/libpython3.7m.so.1.0: Undefined symbol "close_range@FBSD_1.6" ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  14. I just uninstalled it while logged in, and I can now see that the node servers directory is empty, unless something is hidden. Just in case, I ran the rm command you suggested. Reinstalled; same errors in the log. Now that I'm logged in, are there any particular files you want me to look for? -Tom
  15. Sorry, thought I was clear. I hadn't logged in at all, just uninstalled the NS from the GUI, which I hadn't tried before. It warns you that it's going to delete the files and directory, and I said OK. Rebooted, attempted to reinstall the NS, and got the errors in the log that I posted above. Next step is to log in and delete the directory myself, after uninstalling again. I'm taking it slowly, b/c it's obviously possible to do damage this way. I'm trying as much as I can to use the Policy like the appliance it's supposed to be before manually intervening. I hope you understand. Back soon. -Tom
  16. I just deleted the NS, then uninstalled it from the Polisy. I had not done that before. When I reinstalled it, I got this in the log: 2020-12-23 11:02:45 [polyglot] info: NSChild cloneRepo: Successfully cloned ISY-Inventory into NodeServer directory. 2020-12-23 11:02:53 [polyglot] error: NSChild: Install failed - Non-zero exit code: 1 2020-12-23 11:02:53 [polyglot] error: NSChild: ISY-Inventory cloneRepo: Error: runInstallProcess: undefined 2020-12-23 11:02:53 [polyglot] error: Error: runInstallProcess: undefined at runInstallProcess (/snapshot/polyglot-v2/lib/modules/children.js:45:11) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) 2020-12-23 11:02:53 [polyglot] error: NSResponse: Success: false - cloneRepo: Error: runInstallProcess: undefined I looked back at the log, and it also reported these errors the original time I installed it from the store. Later I will login and delete the directories as you suggested, but I thought I'd show you this first in case it sets off any bells. -Tom
  17. Installed from store. Twice, with same result. Polisy says it's up-to-date, but I'm not sure, given the recent thread about FreeBSD updates. I have not updated them manually to 12.2 or whatever. I will login and delete the directory later today and retry. -Tom
  18. When I try to start the NS, this is what shows up in the Polisy log: 2020-12-23 09:04:24 [polyglot] info: ISY-Inventory(1): Processing command: start 2020-12-23 09:04:24 [polyglot] info: NS: Starting Local NodeServer ISY-Inventory profile number 1 :: Version 0.1.1 2020-12-23 09:04:24 [polyglot] error: NSChild STDERR: ISY-Inventory: Traceback (most recent call last): File "./inventory-poly.py", line 4, in <module> import polyinterface ModuleNotFoundError: No module named 'polyinterface' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./inventory-poly.py", line 6, in <module> import pgc_interface as polyinterface ModuleNotFoundError: No module named 'pgc_interface' 2020-12-23 09:04:25 [polyglot] info: ISY-Inventory(1): NodeServer Disconnected. -Tom
  19. I don't think it is starting. I never get an instructions box. The Poly log is empty. The Polisy log has some exceptions in it. I will send those tomorrow when I am awake enough to check for sensitive contents. -Tom
  20. Thanks both. Installed on Polisy. Custom Configuration is there, but there are no predefined entries. That's why I asked if I need to add them. I have already removed it and reinstalled it once, with the same behavior both times. Next step? -Tom
  21. Do I need to create custom parameters for these 3 things? -Tom
  22. From your instructions, I thought I was supposed to do that. But the NS's configuration page has, under "Advanced Configuration", only shortPoll and longPoll parameters. I don't see a username and password anywhere. -Tom

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.