# How to make node red restart automatically?

**URL:** <https://discourse.nodered.org/t/how-to-make-node-red-restart-automatically/96889>\
**Category:** General\
**Tags:** docker\
**Created:** [5 May 2025 06:24 UTC](https://discourse.nodered.org/t/how-to-make-node-red-restart-automatically/96889 "2025-05-05T06:24:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike67](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mike67](https://discourse.nodered.org/u/mike67)\
**Post date:** [5 May 2025 06:24 UTC](https://discourse.nodered.org/t/how-to-make-node-red-restart-automatically/96889/1 "2025-05-05T06:24:22Z")

</div>

Hello  
I have installed nodered from the docker.  
I use podman.  
The container is set with the option restart=always.

When the container is started, it start the flow.  
But there are some errors generated by the flow (I use google-smarthome). when the dedicated nodes are not yet online.  
So, nodered stops.  
But if I restart the container after a while, there is no more error, and the flows run fine.  
So, my question would be 🙂 - Is there any real possibility to make nodered restart automatically in the case the flows are stopped by nodered?

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [5 May 2025 14:53 UTC](https://discourse.nodered.org/t/how-to-make-node-red-restart-automatically/96889/2 "2025-05-05T14:53:24Z")

</div>

> [@mike67](#):
>
> google-smarthome

I'm not familiar with that node, but it shouldn't really be stopping NR.

Can you share what errors you are getting ?

---

<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:** [3 August 2025 14:54 UTC](https://discourse.nodered.org/t/how-to-make-node-red-restart-automatically/96889/3 "2025-08-03T14:54:09Z")

</div>

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