Mar 21:13:42 - [warn] [node-red-contrib-s7comm/s7comm] 's7comm' already registered by module industrialcomm
3 Mar 21:13:42 - [warn] ------------------------------------------------------
3 Mar 21:13:42 - [info] Settings file : /etc/node-red/config.js
3 Mar 21:13:42 - [info] Context store : 'memoryOnly' [module=memory]
3 Mar 21:13:42 - [info] Context store : 'file' [module=localfilesystem]
3 Mar 21:13:42 - [error] Failed to start server:
3 Mar 21:13:42 - [error] Error: Error loading context store: Error: Invalid JSON in context file '/config/context/269276275166cf0f/9f0042a5f5c0b7d3.json'
at /opt/node_modules/@node-red/runtime/lib/nodes/context/index.js:180:15
[21:13:42] INFO: Service Node-RED exited with code 0 (by signal 0)
[21:13:43] INFO: Starting Node-RED...
Welcome to the forum @Home-kia
For the invalid context file it sounds as if it is corrupt. The easiest solution is to delete it (or move it somewhere in case you decide you want to get something out of it, if possible. Alternatively have a look at it and see if you can correct the error.
That means you have installed two nodes that conflict, and should remove one of them. To do that if you go into the folder where you flows file is (I don't know where that will be if you are running the HA addon) and run
npm remove node-red-contrib-s7comm
or the other one, then restart node-red.
Having said that HA may have a special method for defining which nodes to install, in which case use that method to remove it.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.