# Pause flows from cmd line

**URL:** <https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293>\
**Category:** General\
**Created:** [12 July 2021 08:46 UTC](https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293 "2021-07-12T08:46:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoshuaG](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JoshuaG](https://discourse.nodered.org/u/JoshuaG)\
**Post date:** [12 July 2021 08:46 UTC](https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293/1 "2021-07-12T08:46:02Z")

</div>

I'm running my node from within a portainer container system and one of my flows has ran away and now I cannot manage the node from the web interface, does anyone know a command i can use from the console to pause the flows so I can rectify

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [12 July 2021 08:57 UTC](https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293/2 "2021-07-12T08:57:20Z")

</div>

I remember seeing this recently...

_[Steve-Mcl]_

_You can start node-red in safe mode and fix up your flows / remove any bad nodes._

`node-red --safe`

---

<div class="post-metadata">

**Author:** ![JoshuaG](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JoshuaG](https://discourse.nodered.org/u/JoshuaG)\
**Post date:** [12 July 2021 09:18 UTC](https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293/3 "2021-07-12T09:18:50Z")

</div>

I've seen this I'm just struggling to find where to inject in.

Portainer is refusing to let me edit the container and I cant find it when I SSH into the metal hosting it.

---

<div class="post-metadata">

**Author:** ![JoshuaG](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JoshuaG](https://discourse.nodered.org/u/JoshuaG)\
**Post date:** [12 July 2021 09:28 UTC](https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293/4 "2021-07-12T09:28:40Z")

</div>

Solved it.

Duplicated the container using the same mounted volume and edited the flow in there.  
This probably only worked due to the custom nodes not being installed so the flow halted.

---

<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:** [26 July 2021 09:28 UTC](https://discourse.nodered.org/t/pause-flows-from-cmd-line/48293/5 "2021-07-26T09:28:56Z")

</div>

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