# Node res flow vanish or replace by other flow

**URL:** <https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018>\
**Category:** General\
**Created:** [18 March 2022 06:47 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018 "2022-03-18T06:47:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![aminulhaq](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Post date:** [18 March 2022 06:47 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/1 "2022-03-18T06:47:46Z")

</div>

Hi, using node red on rbpi, i have created flow which contained many input from plc and also created dashboard to displatly values but now the whole program is gone and showing another programe how to check my old program and why it is vanish i had two flow one is with localhost:1880 other was thi ip see pic for reference

 ![20220318_111937](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e368430c7a95cbb45de3d4965465e93ff9874418.jpeg)  
 ![20220318_111957](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/c/6cda927b1b403f4e1328effdcc830abda85f1d14.jpeg)

---

<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:** [18 March 2022 07:39 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/2 "2022-03-18T07:39:27Z")

</div>

Hi. Probably not lost. More likely your host name has changed - and an alternative flow file was loaded. Or, you started node-red from the command line incorrectly

Show us the contents of your `.node-red` folder.

---

<div class="post-metadata">

**Author:** ![aminulhaq](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Post date:** [18 March 2022 10:37 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/3 "2022-03-18T10:37:07Z")

</div>

where can i find .node-red folder because terminal says command not found

---

<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:** [18 March 2022 11:24 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/4 "2022-03-18T11:24:58Z")

</div>

That depends entirely on how you installed node-red and how you run node-red. For example, using the official installer script on a raspberry, the default place is `~/.node-red`

Q1: How did you install node-red?

Q2: How do you run node-red?

---

<div class="post-metadata">

**Author:** ![aminulhaq](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Post date:** [18 March 2022 15:02 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/5 "2022-03-18T15:02:24Z")

</div>

i starts it with 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:** [18 March 2022 15:17 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/6 "2022-03-18T15:17:45Z")

</div>

And the answer to Q1?

---

<div class="post-metadata">

**Author:** ![aminulhaq](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Post date:** [19 March 2022 04:01 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/7 "2022-03-19T04:01:25Z")

</div>

I installed without sudo command  
kindly see pic of node red directory folder and there is no .node red folder in it

 ![node red file](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/4/54ba167edd9b4b9588b8109a300f3ce2e16c36d3.png)

---

<div class="post-metadata">

**Author:** ![aminulhaq](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Post date:** [19 March 2022 05:18 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/8 "2022-03-19T05:18:38Z")

</div>

i have found the node red directory kindly see pic for reference which contain jason files

 ![node red directory](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/80243e645ea5366e6fae679fb9a99ebc1adbc7f4.png)

---

<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:** [19 March 2022 07:16 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/9 "2022-03-19T07:16:38Z")

</div>

Ok good. So my guess is at some point you have started node-red like this `node-red start` when you should have done `node-red-start`

Ok, so do this...  
restart the pi then open node-red editor - what flows are running. The flow you want? Or, the old flow you don't want?

---

<div class="post-metadata">

**Author:** ![aminulhaq](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Post date:** [19 March 2022 07:59 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/10 "2022-03-19T07:59:26Z")

</div>

yes it happens that i have used different ways to start node red  
now as u said i have restarted raspberry pi and then open browser without starting node red from terminal and tried to open editor but fails to open, how to check what flows i am running and how to change flows

---

<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:** [19 March 2022 08:57 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/11 "2022-03-19T08:57:05Z")

</div>

Start node-red using the command  
`node-red`  
and see which flows are there. That command should show the flows in the `flows.json` file which is the default flows file. Then break out of that and start node-red using  
`node-red start`  
which will start the flows in the file `start` in the screenshot you posted, and see what that shows.

---

<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:** [18 May 2022 08:57 UTC](https://discourse.nodered.org/t/node-res-flow-vanish-or-replace-by-other-flow/60018/12 "2022-05-18T08:57:44Z")

</div>

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