# Why my flow gets deleted on its on?

**URL:** <https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840>\
**Category:** General\
**Created:** [23 January 2024 18:05 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840 "2024-01-23T18:05:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AhmedElbahat](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@AhmedElbahat](https://discourse.nodered.org/u/AhmedElbahat)\
**Post date:** [23 January 2024 18:05 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/1 "2024-01-23T18:05:45Z")

</div>

I am implementing a flow that takes data from my code and store it in a CSV file, but there is a strange thing that is happening . When I opened it again after a couple of days it was deleted on its own.

If someone would help solving this isssue. It would be great.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [23 January 2024 18:10 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/2 "2024-01-23T18:10:05Z")

</div>

Welcome to the forums @AhmedElbahat

Please can you provide the following?

- Is your Node RED accessible on the internet
- What security measures have you taken
- What version of node RED, NodeJS and what server/OS/device is Node RED running on?

---

<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:** [23 January 2024 18:32 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/3 "2024-01-23T18:32:20Z")

</div>

In all likeliness, you have left your Node-RED open to the internet and as such, it has been abused.

Similar threads:

- [All flows have disappeared on AWS hosted system - #9 by Colin](https://discourse.nodered.org/t/all-flows-have-disappeared-on-aws-hosted-system/83569/9)
- [Dashboard disappears after a while - #5 by LauCaen](https://discourse.nodered.org/t/dashboard-disappears-after-a-while/83924/5)
- [Recurring "The flows on the server have been updated" message - #70 by SveinHa](https://discourse.nodered.org/t/recurring-the-flows-on-the-server-have-been-updated-message/13885/70)

---

<div class="post-metadata">

**Author:** ![AhmedElbahat](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@AhmedElbahat](https://discourse.nodered.org/u/AhmedElbahat)\
**Post date:** [23 January 2024 18:32 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/4 "2024-01-23T18:32:31Z")

</div>

Yes it accessible on the internet .  
It should only be accessible to the people that have the URL that I created .  
The version is 1.2.9

---

<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:** [23 January 2024 18:34 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/5 "2024-01-23T18:34:09Z")

</div>

> [@AhmedElbahat](#):
>
> It should only be accessible to the people that have the URL that I created .

Read the linked threads. It takes virtually no time from appearing online to being abused.

> [@AhmedElbahat](#):
>
> The version is 1.2.9

Very very old - needs updating.

you are also likely using a very old, and unsafe/unsupported version of NodeJS (you should be using NodeJs v18.19.x at minimum)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [23 January 2024 18:39 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/6 "2024-01-23T18:39:52Z")

</div>

I think you know what this _might_ mean @AhmedElbahat.

It doesn’t take a URL to find an open Node RED instance.

Take the server off-line, secure it correctly (a “secret” URL is not a security measure)

Jump to the FAQs category here to learn ways to secure it

---

<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:** [22 April 2024 18:40 UTC](https://discourse.nodered.org/t/why-my-flow-gets-deleted-on-its-on/84840/7 "2024-04-22T18:40:17Z")

</div>

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