Jump to content

Elk node server won't run


Go to solution Solved by Jimbo.Automates,

Recommended Posts

Posted (edited)

Haven't touched the Elk itself or the nodeserver in ages.  Yesterday, noticed an exclamation mark next to Elk outputs on the admin console.  I was still controlling Elk from ISY fine.  I checked the node server, it said I had an error from a wrong passcode (which wasn't wrong).  Also said I had an update.  I did the update and it wouldn't work at all.  I then rebooted polisy completely and it still doesn't work at all.  I try to start it and it won't start.  I did recently update ISY and Polisy firmware to the latest.  I really should learn my lesson and stop updating things.  Also, my Tesla node server says it is working, but there is zero data showing up in the admin console.  Not sure if these have anythign to do with each other.  Other nodes seem to be working.

 

image.thumb.png.d1de44aba7f97c484e035314dd45dfce.png

 

EDIT:  Turns out the Tesla issue is that the api changed, so not related.  

And here is the log

2024-01-25 13:21:16,770 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2024-01-25 13:21:16,772 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2024-01-25 13:21:16,773 MainThread udi_interface      INFO     __init__:<module>: User=polyglot
2024-01-25 13:21:16,774 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot
2024-01-25 13:21:16,775 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/0021b9023863_16
2024-01-25 13:21:16,775 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MjE6Yjk6MDI6Mzg6NjMiLCJwcm9maWxlTnVtIjoxNiwibG9nTGV2ZWwiOiJXQVJOSU5HIiwidG9rZW4iOiIreUNYQUh0VTgzdncpOT10IiwibXF0dEhvc3QiOiJsb2NhbGhvc3QiLCJtcXR0UG9ydCI6MTg4OCwic2VjdXJlIjoxLCJpc1BHM3giOmZhbHNlLCJwZzNWZXJzaW9uIjoiMy4xLjIzIiwiaXN5VmVyc2lvbiI6IjUuMy4zIiwiZWRpdGlvbiI6IlN0YW5kYXJkIn0=
2024-01-25 13:21:16,776 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2024-01-25 13:21:17,666 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2024-01-25 13:21:17,968 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2024-01-25 13:21:20,186 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2024-01-25 13:21:20,190 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2024-01-25 13:21:20,190 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2024-01-25 13:21:20,191 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2024-01-25 13:21:20,191 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2024-01-25 13:21:20,191 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.6 Starting...
2024-01-25 13:21:20,198 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2024-01-25 13:21:20,198 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9023863_16/./elk-poly.py", line 10, in <module>
2024-01-25 13:21:20,200 MainThread udi_interface      ERROR    udi_interface:write: from nodes import VERSION,Controller
2024-01-25 13:21:20,201 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9023863_16/nodes/__init__.py", line 3, in <module>
2024-01-25 13:21:20,202 MainThread udi_interface      ERROR    udi_interface:write: from .BaseNode import BaseNode
2024-01-25 13:21:20,203 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9023863_16/nodes/BaseNode.py", line 7, in <module>
2024-01-25 13:21:20,204 MainThread udi_interface      ERROR    udi_interface:write: from const import NODE_DEF_MAP,ELK_TO_INDEX
2024-01-25 13:21:20,205 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9023863_16/const.py", line 1
2024-01-25 13:21:20,205 MainThread udi_interface      ERROR    udi_interface:write: 233: "Invalid",
2024-01-25 13:21:20,206 MainThread udi_interface      ERROR    udi_interface:write: ^
2024-01-25 13:21:20,207 MainThread udi_interface      ERROR    udi_interface:write: SyntaxError
2024-01-25 13:21:20,207 MainThread udi_interface      ERROR    udi_interface:write: :
2024-01-25 13:21:20,208 MainThread udi_interface      ERROR    udi_interface:write: illegal target for annotation

 

EDIT 2:  @Jimbo.Automates

I tried uninstalling and reinstalling and it still won't run.  It says it is starting, and then after a few seconds it stops.

Edited by apostolakisl
  • Solution
Posted
On 1/25/2024 at 11:08 AM, apostolakisl said:

 I did recently update ISY and Polisy firmware to the latest.  I really should learn my lesson and stop updating things. 

Looks like you are still on PG3 not PG3x.  This is a know issue with PG3 on Polisy where files are not properly created during an install.  The issue was never resolved since it no longer happens with PG3x.

See "Upgrading to PG3x" at https://wiki.universal-devices.com/Polisy:User_Guide

 

  • Thanks 1
Posted
19 hours ago, Jimbo.Automates said:

Looks like you are still on PG3 not PG3x.  This is a know issue with PG3 on Polisy where files are not properly created during an install.  The issue was never resolved since it no longer happens with PG3x.

See "Upgrading to PG3x" at https://wiki.universal-devices.com/Polisy:User_Guide

 

Against my better judgement, I switched to PG3x and now it is a mess.  PG3x isn't finding Iox, and most of my programs simply disappeared.  

image.thumb.png.1ae42462f393595926cda52f574d857d.png

Posted
Against my better judgement, I switched to PG3x and now it is a mess.  PG3x isn't finding Iox, and most of my programs simply disappeared.  
http://d2z8ydsemzif1x.cloudfront.net/monthly_2024_01/image.thumb.png.1ae42462f393595926cda52f574d857d.png
A lot of people have converted to PG3x since it was released a long time ago, I did 3 systems with no problems. Submit a ticket and someone can take a look.

Sent from my Pixel 8 Pro using Tapatalk

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...