UniversalDevicesInc/polyglot-v2

Upgrade not working?

ferventgeek opened this issue · 1 comments

I'm sure I'm missing something, but clicking upgrade from the Polisy web interface appears to work, only doesn't actually update. The message suggests manual reboot may be required, but that doesn't work either. Is there a manual apt-get update method?

Thx.

Version 2.2.8 Status: Connected
Frontend Version: 2.2.8
ISY Version: 5.3.0

EDIT: Found this other issue that solved my problem polyglot-v2#ssl-error-ee-key-too-small
I didn't see the key too small error in my logs, but changing CipherString to DEFAULT@SECLEVEL=1 as mentioned did fix my issue with newer 2.2.11 binary continually restarting


I just tried updating from 2.2.3 in the web ui on a pi and got a progress bar but it didn't come back after the restart. When I tail the log with debug enabled I get the below entries over and over. Digging around a bit it looks like either the db check function has an uncaught exception or something is failing in the mqtt startup that comes after that. Fortunately, I was able to just go back to the old binary and everything seems to be working again.

6/10/2021, 23:01:31 [polyglot] debug: Created PID file: /home/pi/.polyglot/polyglot.pid
6/10/2021, 23:01:37 [polyglot] info: Starting Polyglot....
6/10/2021, 23:01:37 [polyglot] info: Settings: Polyglot Version 2.2.11
6/10/2021, 23:01:37 [polyglot] info: Settings: Retrieved config from database
6/10/2021, 23:01:37 [polyglot] info: Settings: Retrieved config overrides from .env and updated database
6/10/2021, 23:01:37 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /home/pi/.polyglot/ssl/
6/10/2021, 23:01:37 [polyglot] debug: Checking for DB Maintenence needs...
6/10/2021, 23:01:41 [polyglot] debug: Created PID file: /home/pi/.polyglot/polyglot.pid
6/10/2021, 23:01:46 [polyglot] info: Starting Polyglot....
6/10/2021, 23:01:47 [polyglot] info: Settings: Polyglot Version 2.2.11
6/10/2021, 23:01:47 [polyglot] info: Settings: Retrieved config from database
6/10/2021, 23:01:47 [polyglot] info: Settings: Retrieved config overrides from .env and updated database
6/10/2021, 23:01:47 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /home/pi/.polyglot/ssl/
6/10/2021, 23:01:47 [polyglot] debug: Checking for DB Maintenence needs...