someguy Posted November 9, 2022 Posted November 9, 2022 I'm getting the same error: Quote 2022-11-09 12:51:54,330 Thread-1 udi_interface ERROR august_poly:parameterHandler: Error starting August Node server: [Errno 2] No such file or directory: '/var/polyglot/node servers/AugustLock/token.txt' any suggestions?
Geddy Posted November 9, 2022 Posted November 9, 2022 @someguy not technically the same error as where you originally posted so split out for help. That thread also had a solution. If you attempted that solution and still had problems then starting a new thread usually gets additional view and help. First question I'd have is what version is your PG3?
tmorse305 Posted January 11, 2023 Posted January 11, 2023 Hi @automationgeek, I just migrated the August NS from PG3 on polisy to PG3x on eisy. I now see this same error as reported above by @someguy. When I check /var/polyglot/node servers/AugustLock/token.txt, from ssh, the path does not exist. Should I create the path and file manually or has it moved to a new location in PG3x?. Thank you.
bpwwer Posted January 11, 2023 Posted January 11, 2023 The path for the token.txt file is something you configure in the node server. There's a configuration parameter with the key "tokenFilePath" used to define that. "/var/polyglot/node_servers/AugustLock" looks like it might have worked for PG2 but it won't work for PG3 or PG3x. For PG3(x), the node server is installed in /var/polyglot/pg3/ns/<uuid>_<slot> so it depends on the IoX UUID and the slot number where the node server is installed. If you look at the ISY or IoX configuration, you can get the UUID. For example: 00:21:b9:02:61:ab and if you installed the node server in slot 3, the path would look like: /var/polyglot/pg3/ns/0021b90261ab_3 1
tmorse305 Posted January 11, 2023 Posted January 11, 2023 (edited) 35 minutes ago, bpwwer said: the path would look like: /var/polyglot/pg3/ns/0021b90261ab_3 Thanks @bpwwer, I changed the path to the location of my NS, /var/polyglot/pg3/ns/0021b9026044_10/token.txt but it still creating errors on restart, different errors this time. I wonder if its a permission issue on that folder, when I used ssh to look for the token.txt file I got permission denied. Log attached. Update: I deleted the NS and reinstalled and this time it started up with no issue, thanks Bob August_1-11-2023_11412-PM.zip Edited January 11, 2023 by tmorse305
MrBill Posted January 13, 2023 Posted January 13, 2023 On 1/11/2023 at 12:20 PM, tmorse305 said: I changed the path to the location of my NS, /var/polyglot/pg3/ns/0021b9026044_10/token.txt Did you include token.txt on the path? On 1/11/2023 at 11:57 AM, bpwwer said: the path would look like: /var/polyglot/pg3/ns/0021b90261ab_3 if so, then don't...
tmorse305 Posted January 14, 2023 Posted January 14, 2023 2 hours ago, MrBill said: Did you include token.txt on the path? Yes I included it. per the NS configuration instructions: tokenFilePath - Path and Filename were the tokenFile should be generated ( /var/polyglot/node servers/AugustLock/token.txt ) The directory must exist and the user running polyglot must have read/write access. All is well once I deleted the NS it and reinstalled it. 1
MrBill Posted January 14, 2023 Posted January 14, 2023 I should have included the disclaimer that I was just comparing text in messages on the forum and don't actually have the node server.🙃 glad you got it working tho... 1
Recommended Posts