# Stop Node-Red randomly

**URL:** https://discourse.nodered.org/t/stop-node-red-randomly/51656
**Category:** General
**Created:** [29 September 2021 07:35 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656 "2021-09-29T07:35:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![SoftwareIndustrial](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softwareindustrial/32/34089_2.png) [@SoftwareIndustrial](https://discourse.nodered.org/u/SoftwareIndustrial)
#### Post date: [29 September 2021 07:35 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656/1 "2021-09-29T07:35:46Z")

</div>

Hi,

I have a NodeRed installation:

- Node-RED version: V1.3.5
- Node.js: V16.9.1  
running on:
- Microsoft Windows Server 2012 (64-bit)  
autostarted from Task Scheduler and suddenly it stops without any cause.

The log says:  
"  
20 Sep 14:51:09 - [info] Stopping flows  
20 Sep 14:51:11 - [info] Stopped flows  
Terminate batch job (Y/N) ? 20 Sep 17:49:06 - [info] Stopping flows  
"

Any idea?  
Thanks!

---

<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: [29 September 2021 08:31 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656/2 "2021-09-29T08:31:26Z")

</div>

When you say it suddenly stops, are you doing anything with the PC at the time?

How often does this happen?

---

<div class="post-metadata">

### Author: ![SoftwareIndustrial](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softwareindustrial/32/34089_2.png) [@SoftwareIndustrial](https://discourse.nodered.org/u/SoftwareIndustrial)
#### Post date: [29 September 2021 09:16 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656/3 "2021-09-29T09:16:14Z")

</div>

Hi Colin, thanks for your answer.

I'm doing nothing, I use it once a week or so, and it happens randomly... or not.  
Always on Friday 9-Aug, 30-Aug and 20-Sep. and always between 14:50 to 15:10. I'll check this.

I've seen that when I restarted NodeRED, node.js change its version automatically.  
From 16.6.1 to 16.8.1 to 16.9.1. Is it good?

Thxs!

---

<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: [29 September 2021 10:42 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656/4 "2021-09-29T10:42:06Z")

</div>

> [@SoftwareIndustrial](#):
>
> I've seen that when I restarted NodeRED, node.js change its version automatically.  
> From 16.6.1 to 16.8.1 to 16.9.1. Is it good?

You must have automatic upgrades enabled somehow. I don't use Windows so can't help with how that might be. Very likely it is associated with that.

When you say you use it once a week do you mean that node red is not running the rest of the time, or that node red is running all teh time but you only interact with it once a week?

---

<div class="post-metadata">

### Author: ![SoftwareIndustrial](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softwareindustrial/32/34089_2.png) [@SoftwareIndustrial](https://discourse.nodered.org/u/SoftwareIndustrial)
#### Post date: [29 September 2021 12:28 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656/5 "2021-09-29T12:28:34Z")

</div>

> [@Colin](#):
>
> You must have automatic upgrades enabled somehow. I don't use Windows so can't help with how that might be. Very likely it is associated with that.

I'll try to figure out, thanks!

> [@Colin](#):
>
> When you say you use it once a week do you mean that node red is not running the rest of the time, or that node red is running all teh time but you only interact with it once a week?

I use the computer once a week, but NodeRED is working 24/7 communicating with PLC's and sending messages by Telegram.

---

<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: [28 November 2021 12:29 UTC](https://discourse.nodered.org/t/stop-node-red-randomly/51656/6 "2021-11-28T12:29:28Z")

</div>

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