# Persist Safe Mode

**URL:** <https://discourse.nodered.org/t/persist-safe-mode/62736>\
**Category:** Core Development\
**Created:** [17 May 2022 09:15 UTC](https://discourse.nodered.org/t/persist-safe-mode/62736 "2022-05-17T09:15:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 May 2022 09:15 UTC](https://discourse.nodered.org/t/persist-safe-mode/62736/1 "2022-05-17T09:15:28Z")

</div>

Hi all, something that I feel would provide more benefits than I can think of has been raised on the node-red designs discussion - "Persist Safe Mode".

Please take a look and feel free to participate.

> **[Persist Safe Mode · Discussion #74 · node-red/designs](https://github.com/node-red/designs/discussions/74)**
>
> Problem Safe mode is great for recovering from a bad value or crashing due unhandled exception (surfaced by an incoming msg or bad node configuration) or an imported node/flow etc. However as soon ...

---

<div class="post-metadata">

**Author:** ![Hypnos](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hypnos/32/7566_2.png) [@Hypnos](https://discourse.nodered.org/u/Hypnos)\
**Post date:** [17 May 2022 17:27 UTC](https://discourse.nodered.org/t/persist-safe-mode/62736/2 "2022-05-17T17:27:05Z")

</div>

Hi,

I don't know if there already an option to start node-red in safe mode by a flag in the settings.json.

Thus would be nice for people who does not have access to the command line, because they have node-red integrated into an other system like Homeassistant.

Regards

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 May 2022 19:26 UTC](https://discourse.nodered.org/t/persist-safe-mode/62736/3 "2022-05-17T19:26:15Z")

</div>

HA uses a docker container. You can set an environment variable to set safe mode if you want.

---

<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:** [16 July 2022 19:26 UTC](https://discourse.nodered.org/t/persist-safe-mode/62736/4 "2022-07-16T19:26:19Z")

</div>

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