DennisC Posted August 15, 2023 Posted August 15, 2023 After updating PG3x to v3.2.1 and reinstalling all of the node servers, I noticed there was an update to Elk v3.8.0. After doing the upgrade, I noticed the version # on the Elk node server page was v0.0.0. I re-did the upgrade with the same result. I tried to sop and restart the node server with no change.
Jimbo.Automates Posted August 15, 2023 Posted August 15, 2023 That's odd. @bmercier any idea why it would show that? With this release I removed the old server.json so it should get the version the new way now.
bmercier Posted August 15, 2023 Posted August 15, 2023 That's odd. @bmercier any idea why it would show that? With this release I removed the old server.json so it should get the version the new way now.No I’m not sure why. I also don’t use server.json for Ring, and it works well. Does the log tells us anything?Sent from my iPhone using Tapatalk
Jimbo.Automates Posted August 15, 2023 Posted August 15, 2023 13 minutes ago, bmercier said: No I’m not sure why. I also don’t use server.json for Ring, and it works well. Does the log tells us anything? Not sure, I was going to test on mine, but just noticed PG3 isn't telling me an upgrade is available? I'm on 3.7 and 3.8 is out?
Jimbo.Automates Posted August 15, 2023 Posted August 15, 2023 I manually did a sync purchases, then it showed the update. Now I have the 0.0.0 as well and log says: 2023-08-15 13:54:43,570 MainThread udi_interface.interface WARNING interface:_get_server_data: get_server_data: failed to read file server.json: [Errno 2] No such file or directory: 'server.json'
Jimbo.Automates Posted August 15, 2023 Posted August 15, 2023 I know why now, I will fix in next release.
Solution Jimbo.Automates Posted August 15, 2023 Solution Posted August 15, 2023 Version 3.8.1 released with the fix.
DennisC Posted August 15, 2023 Author Posted August 15, 2023 1 hour ago, Jimbo.Automates said: Version 3.8.1 released with the fix. I completed the upgrade and it fixed the version number issue. After about 5 minutes of uptime, I checked the node server in the admin console and it was showing disconnected. I had to restart the Elk node server and no all seems fine. Thank you. 1
bmercier Posted August 16, 2023 Posted August 16, 2023 3 hours ago, Jimbo.Automates said: I know why now, I will fix in next release. What was the problem and how did you fix it?
Jimbo.Automates Posted August 16, 2023 Posted August 16, 2023 What was the problem and how did you fix it?When removing the legacy server.json you must pass the version to the interface start call. I knew that but forgot.https://github.com/UniversalDevicesInc-PG3/udi-poly-ELK/commit/4d3299aac70944c2548ef2a4107bdb74253e1dc3Sent from my Pixel 6 Pro using Tapatalk 1
Recommended Posts