Jump to content

Error starting August Node server (No such file: token.txt)


someguy

Recommended Posts

  • 2 months later...

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

 

  • Like 1
Link to comment
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 by tmorse305
Link to comment
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...

Link to comment
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.

  • Like 1
Link to comment
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
      36.6k
    • Total Posts
      367.9k
×
×
  • Create New...