io_guy Posted October 30, 2019 Posted October 30, 2019 Still not running on 443. Can you add libunwind and openssl111 to your UDI repo? What's the best way to add something to startup - I see a lot of UDI warnings in the rc files?
Toddimus Posted October 30, 2019 Posted October 30, 2019 5 minutes ago, Michel Kohanim said: @Toddimus, Ok, let's try this: 1. killall and stop 2. mongo polyglot --eval "db.dropDatabase()" 3. reboot Thank you! With kind regards, Michel [admin@polisy ~]$ sudo killall daemon Password: [admin@polisy ~]$ sudo service polyglot stop polyglot not running? (check /var/polyglot/polyglot_daemon.pid). [admin@polisy ~]$ mongo polyglot --eval "db.dropDatabase()" MongoDB shell version v3.4.23 connecting to: mongodb://127.0.0.1:27017/polyglot MongoDB server version: 3.4.23 { "dropped" : "polyglot", "ok" : 1 } [admin@polisy ~]$ sudo reboot login as: admin Keyboard-interactive authentication prompts from server: | Password for admin@polisy: End of keyboard-interactive prompts from server Last login: Wed Oct 30 15:00:09 2019 from 10.10.10.70 FreeBSD 12.0-RELEASE-p10 r351358 POLISY Welcome to Polisy! [admin@polisy ~]$ ps -aux | grep poly polyglot 1066 0.0 0.1 10768 2188 - Ss 15:04 0:00.00 daemon: /usr/local/bin/polyglot-v2-freebsd-x64[1198] (daemon) polyglot 1198 0.0 0.7 571920 29356 - R 15:04 0:00.08 /usr/local/bin/polyglot-v2-freebsd-x64 -w /var/polyglot admin 1200 0.0 0.1 11248 2696 0 S+ 15:04 0:00.01 grep poly [admin@polisy ~]$ ps -aux | grep poly polyglot 1066 0.0 0.1 10768 2188 - Ss 15:04 0:00.00 daemon: /usr/local/bin/polyglot-v2-freebsd-x64[1198] (daemon) admin 1204 0.0 0.1 11248 2696 0 S+ 15:05 0:00.00 grep poly [admin@polisy ~]$ ps -aux | grep poly polyglot 1205 59.9 2.9 689432 119284 - R 15:05 0:03.68 /usr/local/bin/polyglot-v2-freebsd-x64 -w /var/polyglot polyglot 1066 0.0 0.1 10768 2188 - Ss 15:04 0:00.00 daemon: /usr/local/bin/polyglot-v2-freebsd-x64[1205] (daemon) admin 1207 0.0 0.1 11248 2696 0 S+ 15:05 0:00.01 grep poly [admin@polisy ~]$ 1
Michel Kohanim Posted October 30, 2019 Author Posted October 30, 2019 @Toddimus, What do you get for: pkg info polyglot? With kind regards, Michel
Toddimus Posted October 30, 2019 Posted October 30, 2019 5 minutes ago, Michel Kohanim said: @Toddimus, What do you get for: pkg info polyglot? With kind regards, Michel [admin@polisy ~]$ pkg info polyglot polyglot-2.2.5_4 Name : polyglot Version : 2.2.5_4 Installed on : Wed Oct 30 11:12:00 2019 PDT Origin : misc/polyglot Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : misc Licenses : MIT Maintainer : andrey@xkinghome.net WWW : https://github.com/UniversalDevicesInc/polyglot-v2 Comment : Polyglot v2 for UDI ISY 5.x.x Annotations : FreeBSD_version: 1200086 repo_type : binary repository : udi Flat size : 88.8MiB Description : Polyglot v2 server for Universal Devices ISY994 version 5.x.x WWW: https://github.com/UniversalDevicesInc/polyglot-v2 [admin@polisy ~]$
dwengrovitz Posted October 30, 2019 Posted October 30, 2019 I'm seeing similar issues to others. My Polisy had a noticeable rattle so I opened it up and the wifi card wasn't attached to the main board. Reseated it, and went through some of the update steps described in prior postings. I can still SSH into the box, but the web UI isn't accessible. Glad to see Nodelink running on this. I hope that's a supported option going forward as i could then totally repurpose the Pi I've been using to previously run Nodelink and Polyglot.
Bumbershoot Posted October 30, 2019 Posted October 30, 2019 1 hour ago, Michel Kohanim said: Hello everyone, Sincere apologies for the radio silence. The crashing issue is definitely related to multiple instances of Polyglot running. We are working on a fix. @Bumbershoot, in the meantime, please do this: sudo killall daemon sudo service polyglot stop sudo service polyglot start Please let me know what you get. @Toddimus, Please the same as above BUT do not do sudo polyglot start. Please let me know what ps shows. With kind regards, Michel Here's what I get, but it looks the same as before: polyglot 3518 0.0 0.1 10768 2336 - Ss 15:45 0:00.01 daemon: /usr/local/bin/polyglot-v2-freebsd-x64[3535] (daemon) polyglot 3535 0.0 1.0 585004 42768 - R 15:46 0:00.43 /usr/local/bin/polyglot-v2-freebsd-x64 -w /var/polyglot admin 3537 0.0 0.1 11248 2696 0 S+ 15:46 0:00.01 grep poly [admin@polisy ~]$
Michel Kohanim Posted October 30, 2019 Author Posted October 30, 2019 @Toddimus & @Bumbershoot, Can you please do us a huge favor? 1. Put NODE_ENV=development in the /var/polyglot/.env file 2. Reboot and wait for 5 minutes 3. Send /var/polyglot/log/debug.log to support@universal-devices.com or post @io_guy, Let me check with the team. Just need to make sure we have enough resources for everything. With kind regards,
Jimbo.Automates Posted October 30, 2019 Posted October 30, 2019 I only did update/upgrade so polyglot is latest [admin@polisy /var/polyglot/log]$ pkg info polyglot polyglot-2.2.5_4 Name : polyglot Version : 2.2.5_4 Installed on : Wed Oct 30 15:39:27 2019 PDT and now it's stuck in a continual restart... 2019-10-30 15:47:11 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:11 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:11 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:11 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:11 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:17 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:17 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:17 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:17 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:17 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:22 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:22 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:22 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:22 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:22 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:28 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:28 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:28 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:28 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:28 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:33 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:33 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:33 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:33 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:33 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:39 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:39 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:39 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:39 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:39 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:44 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:44 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:44 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:44 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:44 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:50 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:50 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:50 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:50 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:50 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:47:55 [polyglot] info: Starting Polyglot.... 2019-10-30 15:47:55 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:47:55 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:47:55 [polyglot] info: Running in Polisy mode 2019-10-30 15:47:55 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:48:01 [polyglot] info: Starting Polyglot.... 2019-10-30 15:48:01 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:48:01 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:48:01 [polyglot] info: Running in Polisy mode 2019-10-30 15:48:01 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 15:48:06 [polyglot] info: Starting Polyglot.... 2019-10-30 15:48:06 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 15:48:06 [polyglot] info: Settings: Retrieved config from database 2019-10-30 15:48:06 [polyglot] info: Running in Polisy mode 2019-10-30 15:48:06 [polyglot] info: Settings: Retrieved config overrides from .env and updated database
lesliew Posted October 30, 2019 Posted October 30, 2019 Received my Polisy today Another one here with the same issues. Nothing listening on port 3000 Tried updates and have the same issues as others.
Bumbershoot Posted October 30, 2019 Posted October 30, 2019 8 minutes ago, Michel Kohanim said: @Toddimus & @Bumbershoot, Can you please do us a huge favor? 1. Put NODE_ENV=development in the /var/polyglot/.env file 2. Reboot and wait for 5 minutes 3. Send /var/polyglot/log/debug.log to support@universal-devices.com or post @io_guy, Let me check with the team. Just need to make sure we have enough resources for everything. With kind regards, Letting it run for a few more minutes... I'll have your log shortly.
Michel Kohanim Posted October 30, 2019 Author Posted October 30, 2019 @Bumbershoot, THANK YOU! With kind regards, Michel
Bumbershoot Posted October 30, 2019 Posted October 30, 2019 8 minutes ago, Michel Kohanim said: @Bumbershoot, THANK YOU! With kind regards, Michel Email coming shortly, but this is the jist of it: 2019-10-30 16:10:11 [polyglot] debug: Created PID file: /var/polyglot/polyglot.pid 2019-10-30 16:10:14 [polyglot] info: Starting Polyglot.... 2019-10-30 16:10:14 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 16:10:14 [polyglot] info: Settings: Retrieved config from database 2019-10-30 16:10:14 [polyglot] info: Running in Polisy mode 2019-10-30 16:10:14 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 16:10:14 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /var/polyglot/ssl/ 2019-10-30 16:10:14 [polyglot] debug: Checking for DB Maintenence needs... 2019-10-30 16:10:14 [polyglot] debug: DB Version Found: 2 no maintenence necessary. 2019-10-30 16:10:14 [polyglot] info: Aedes MQTT Broker Service: Started on port 1883 2019-10-30 16:10:15 [polyglot] info: MQTT Client Service: Started 2019-10-30 16:10:15 [polyglot] error: uncaughtException: listen EACCES 0.0.0.0:443 Error: listen EACCES 0.0.0.0:443 at Object._errnoException (util.js:1031:13) at _exceptionWithHostPort (util.js:1052:20) at Server.setupListenHandle [as _listen2] (net.js:1350:19) at listenInCluster (net.js:1408:12) at doListen (net.js:1523:7) at _combinedTickCallback (internal/process/next_tick.js:141:11) at process._tickCallback (internal/process/next_tick.js:180:9) 2019-10-30 16:10:15 [polyglot] error: uncaughtException REPORT THIS!: Error: listen EACCES 0.0.0.0:443 at Object._errnoException (util.js:1031:13) at _exceptionWithHostPort (util.js:1052:20) at Server.setupListenHandle [as _listen2] (net.js:1350:19) at listenInCluster (net.js:1408:12) at doListen (net.js:1523:7) at _combinedTickCallback (internal/process/next_tick.js:141:11) at process._tickCallback (internal/process/next_tick.js:180:9) 2019-10-30 16:10:15 [polyglot] info: Caught SIGTERM/SIGINT Shutting down. 2019-10-30 16:10:15 [polyglot] debug: All NodeServers stopped.
Michel Kohanim Posted October 30, 2019 Author Posted October 30, 2019 @Bumbershoot, THANK YOU THANK YOU. Working on it right now. With kind regards, Michel
Bumbershoot Posted October 30, 2019 Posted October 30, 2019 5 minutes ago, Michel Kohanim said: @Bumbershoot, THANK YOU THANK YOU. Working on it right now. With kind regards, Michel My pleasure, kind sir!
Toddimus Posted October 30, 2019 Posted October 30, 2019 15 minutes ago, Michel Kohanim said: @Bumbershoot, THANK YOU THANK YOU. Working on it right now. With kind regards, Michel I just got back from an errand. I'm assuming @Bumbershoot got you the info you need? Also, I looked and didn't see a .env file in the /var/polyglot folder. I tried vi .env but it was blank. Is that how I would do it? I didn't have any polyglot nodes installed so I have a pretty blank slate.
Michel Kohanim Posted October 30, 2019 Author Posted October 30, 2019 @Toddimus, YES. Thanks again @Bumbershoot! With kind regards, Michel
Bumbershoot Posted October 30, 2019 Posted October 30, 2019 Just now, Toddimus said: I just got back from an errand. I'm assuming @Bumbershoot got you the info you need? Also, I looked and didn't see a .env file in the /var/polyglot folder. I tried vi .env but it was blank. Is that how I would do it? I didn't have any polyglot nodes installed so I have a pretty blank slate. Yep, I didn't have the file either. sudo touch .env I used vi as well to enter the content. Scary... It's been 20 years since I've used vi, and I swore I'd never use it again. Emacs forever! ? 2
Michel Kohanim Posted October 30, 2019 Author Posted October 30, 2019 THANK YOU ALL (especially the log from @Bumbershoot), @xKing fixed it … please do: sudo pkg update && sudo pkg upgrade sudo service polyglot restart The port is 443 but can be set in the Settings. With kind regards, Michel 1
Bumbershoot Posted October 30, 2019 Posted October 30, 2019 polyglot 2.2.5_5 I might be getting ahead of things here, but this might help. 2019-10-30 16:46:59 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:46:59 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/connections/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/settings QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/nodeservers QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/log QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/ns/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/profile/# QoS 0 2019-10-30 16:47:00 [polyglot] debug: ISY: 404 - http://192.168.1.10:80/rest/config/ 2019-10-30 16:47:00 [polyglot] error: ISY: Could not get Version. Check your settings. If this is the first time you are starting Polyglot, this is normal. 2019-10-30 16:47:45 [polyglot] error: MQTTS: polyglot_frontend-cDOoa authentication failed. Someone is messing with something.... 2019-10-30 16:47:45 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:47:45 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:48:22 [polyglot] info: Settings Saved Successfully. 2019-10-30 16:48:22 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/config/ 2019-10-30 16:48:22 [polyglot] info: ISY: Got Version 5.0.16 2019-10-30 16:48:22 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/profiles/ns/0/connection/ 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: Ring(1) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: isylink(2) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: Push(3) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: LiFX(4) 2019-10-30 16:48:22 [polyglot] info: NS: Registered new unmanaged NodeServer: Camera(5) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: WirelessTag(6) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: ISY Portal(7) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: Sonos(8) 2019-10-30 16:48:23 [polyglot] info: NS: Registered new unmanaged NodeServer: DarkSky(9) 2019-10-30 16:48:32 [polyglot] debug: {"node":"polyglot_frontend-cDOoa","restartPolyglot":{}} 2019-10-30 16:48:32 [polyglot] info: Caught SIGTERM/SIGINT Shutting down. 2019-10-30 16:48:32 [polyglot] debug: All NodeServers stopped. 2019-10-30 16:48:32 [polyglot] info: MQTT Client Services Stopping Gracefully. 2019-10-30 16:48:32 [polyglot] info: HTTP Interface Service: Stopping 2019-10-30 16:48:32 [polyglot] info: Aedes MQTT Broker Service: Stopping 2019-10-30 16:48:32 [polyglot] error: unhandledRejection REPORT THIS!: MongoError: pool destroyed at Pool.write (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/connection/pool.js:860:12) at _command (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/wireprotocol/command.js:107:10) at command (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/wireprotocol/command.js:25:5) at Object.query (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/wireprotocol/query.js:57:3) at Server.query (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/topologies/server.js:640:16) at FindOperation.execute (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/find.js:24:12) at topology.selectServer (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/execute_operation.js:167:15) at Server.selectServer (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/topologies/server.js:828:3) at Server.selectServer (/snapshot/polyglot-v2/node_modules/mongodb/lib/topologies/topology_base.js:363:32) at executeWithServerSelection (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/execute_operation.js:150:12) at executeOperation (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/execute_operation.js:81:16) at Cursor._initializeCursor (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/cursor.js:545:7) at Cursor._initializeCursor (/snapshot/polyglot-v2/node_modules/mongodb/lib/cursor.js:191:11) at nextFunction (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/cursor.js:748:10) at Cursor._next (/snapshot/polyglot-v2/node_modules/mongodb/lib/core/cursor.js:202:5) at fetchDocs (/snapshot/polyglot-v2/node_modules/mongodb/lib/operations/to_array.js:27:14) 2019-10-30 16:48:32 [polyglot] debug: MongoDB: Disconnected from database. 2019-10-30 16:48:34 [polyglot] debug: Created PID file: /var/polyglot/polyglot.pid 2019-10-30 16:48:37 [polyglot] info: Starting Polyglot.... 2019-10-30 16:48:37 [polyglot] info: Settings: Polyglot Version 2.2.5 2019-10-30 16:48:37 [polyglot] info: Settings: Retrieved config from database 2019-10-30 16:48:37 [polyglot] info: Running in Polisy mode 2019-10-30 16:48:37 [polyglot] info: Settings: Retrieved config overrides from .env and updated database 2019-10-30 16:48:37 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /var/polyglot/ssl/ 2019-10-30 16:48:37 [polyglot] debug: Checking for DB Maintenence needs... 2019-10-30 16:48:37 [polyglot] debug: DB Version Found: 2 no maintenence necessary. 2019-10-30 16:48:37 [polyglot] info: Aedes MQTT Broker Service: Started on port 1883 2019-10-30 16:48:38 [polyglot] info: MQTT Client Service: Started 2019-10-30 16:48:38 [polyglot] info: HTTPS Interface Service: Started - Address: 0.0.0.0 Port: 443 2019-10-30 16:48:38 [polyglot] debug: NodeServer Ring [1] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer isylink [2] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer Push [3] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer LiFX [4] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer Camera [5] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer WirelessTag [6] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer ISY Portal [7] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer Sonos [8] added to running config. 2019-10-30 16:48:38 [polyglot] debug: NodeServer DarkSky [9] added to running config. 2019-10-30 16:48:38 [polyglot] debug: MongoDB: 9 NodeServer(s) retrieved from database 2019-10-30 16:48:38 [polyglot] info: MQTTS: polyglot authenticated successfully. 2019-10-30 16:48:38 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/connections/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/settings QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/nodeservers QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/frontend/log QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/ns/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: MQTTC: Subscribed to udi/polyglot/profile/# QoS 0 2019-10-30 16:48:38 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/config/ 2019-10-30 16:48:39 [polyglot] info: ISY: Got Version 5.0.16 2019-10-30 16:48:39 [polyglot] debug: ISY: 200 - http://192.168.1.20:80/rest/profiles/ns/0/connection/ 2019-10-30 16:48:43 [polyglot] debug: REST: SET_HSBKD Command received from ISY for n004_d073d5213fe8 2019-10-30 16:48:43 [polyglot] info: Received SET_HSBKD for n004_d073d5213fe8 however NodeServer LiFX is not connected. Ignoring. 2019-10-30 16:48:46 [polyglot] debug: REST: ACTIONS Command received from ISY for n003_humidifier 2019-10-30 16:48:46 [polyglot] info: Received ACTIONS for n003_humidifier however NodeServer Push is not connected. Ignoring. 2019-10-30 16:49:00 [polyglot] info: Successful login by admin 2019-10-30 16:49:00 [polyglot] error: MQTTS: polyglot_frontend-cDOoa authentication failed. Someone is messing with something.... 2019-10-30 16:49:00 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:49:00 [polyglot] info: MQTTP: Frontend Websockets interface Disconnected. 2019-10-30 16:49:00 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:00 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:00 [polyglot] error: MQTTS: clientError: polyglot_frontend-cDOoa write after end 2019-10-30 16:49:00 [polyglot] info: MQTTS: Client Disconnected: 2019-10-30 16:49:01 [polyglot] error: MQTTS: polyglot_frontend-cDOoa authentication failed. Someone is messing with something.... 2019-10-30 16:49:01 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:49:01 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:01 [polyglot] info: MQTTP: Frontend Websockets interface Connected. 2019-10-30 16:49:16 [polyglot] info: MQTTS: Client Disconnected: 2019-10-30 16:49:16 [polyglot] info: MQTTS: polyglot_frontend-rGDEs authenticated successfully. 2019-10-30 16:49:16 [polyglot] info: MQTTS: Client Connected: 2019-10-30 16:49:17 [polyglot] info: MQTTP: Frontend Websockets interface Connected.
Bumbershoot Posted October 31, 2019 Posted October 31, 2019 All my nodeservers are reporting as "Unmanaged". Slots 3, 4, 6 ,8 and 9 should be running on Polisy (see screenshot).
Michel Kohanim Posted October 31, 2019 Author Posted October 31, 2019 @Bumbershoot, My fault. I had you drop the database. Sincere apologies. Did you take a backup? With kind regards, Michel
larryllix Posted October 31, 2019 Posted October 31, 2019 Now how can I get my RPi Polyglot to upgrade to v2.2.5, in order to make the version match for backup/restore?
Toddimus Posted October 31, 2019 Posted October 31, 2019 1 hour ago, Michel Kohanim said: THANK YOU ALL (especially the log from @Bumbershoot), @xKing fixed it … please do: sudo pkg update && sudo pkg upgrade sudo service polyglot restart The port is 443 but can be set in the Settings. With kind regards, Michel It works!! I didn't have the database issue that @Bumbershoot had because I didn't have any nodes on the new Polisy. I successfully added the Darksky node on the new Polisy and it showed up in the ISY. Questions on migration from a Raspberry Pi based Polyglot install: Is the version 2.2.4 that's available using the "beta" tag in Polyglot settings stable enough to use for its Backup feature to be used in migration? (I'm currently on v2.2.3 on the RPi) Would you recommend waiting a bit to fully migrate all my nodeservers over to the new Polisy, or just go for it? Thanks for all of your work on this everyone! Very cool stuff! 1
larryllix Posted October 31, 2019 Posted October 31, 2019 17 minutes ago, Toddimus said: It works!! I didn't have the database issue that @Bumbershoot had because I didn't have any nodes on the new Polisy. I successfully added the Darksky node on the new Polisy and it showed up in the ISY. Questions on migration from a Raspberry Pi based Polyglot install: Is the version 2.2.4 that's available using the "beta" tag in Polyglot settings stable enough to use for its Backup feature to be used in migration? (I'm currently on v2.2.3 on the RPi) Would you recommend waiting a bit to fully migrate all my nodeservers over to the new Polisy, or just go for it? Thanks for all of your work on this everyone! Very cool stuff! Same as Toddimus here. I have installed v2.4.4 in my RPi Polyglot. Seems OK but only the ecobee NS.
larryllix Posted October 31, 2019 Posted October 31, 2019 (edited) OK....all seems to be working and I have restored my backup from my RPi PolyGlot. How do I disable the original Polyglot for starting on bootup to avid NS conflicts? I still need a few other ISY service programs running on the original RPI so I need to only disable Polyglot on that RPi. Thanks in advance!! Edited October 31, 2019 by larryllix
Recommended Posts