# Node red vil not start i home assistent

**URL:** <https://discourse.nodered.org/t/node-red-vil-not-start-i-home-assistent/86101>\
**Category:** General\
**Tags:** node-red-dashboard\
**Created:** [3 March 2024 20:24 UTC](https://discourse.nodered.org/t/node-red-vil-not-start-i-home-assistent/86101 "2024-03-03T20:24:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Home-kia](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/home-kia/32/88860_2.png) [@Home-kia](https://discourse.nodered.org/u/Home-kia)\
**Post date:** [3 March 2024 20:24 UTC](https://discourse.nodered.org/t/node-red-vil-not-start-i-home-assistent/86101/1 "2024-03-03T20:24:16Z")

</div>

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...

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [3 March 2024 21:40 UTC](https://discourse.nodered.org/t/node-red-vil-not-start-i-home-assistent/86101/2 "2024-03-03T21:40:57Z")

</div>

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.

> [@Home-kia](#):
>
> 's7comm' already registered by module industrialcomm

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 June 2024 21:41 UTC](https://discourse.nodered.org/t/node-red-vil-not-start-i-home-assistent/86101/3 "2024-06-01T21:41:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
