# Lost everything after Update

**URL:** <https://discourse.nodered.org/t/lost-everything-after-update/54236>\
**Category:** General\
**Created:** [24 November 2021 22:33 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236 "2021-11-24T22:33:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichdeCrep](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/richdecrep/32/48088_2.png) [@RichdeCrep](https://discourse.nodered.org/u/RichdeCrep)\
**Post date:** [24 November 2021 22:33 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/1 "2021-11-24T22:33:49Z")

</div>

Hi,  
This is a warning more than a question.

I have a large (0.5MB) Node Red system that has been reliable to date. I have also been backing up the system regularly (about 4 times a day).

But one hour ago, Node Red displayed a dialogue screen to request updating nodes and that there would be no conflictions. I approved the update. After a few minutes of nothing, I realised that I had lost everything.

I did not bother looking into the Pi folders to see what had happened. I simply restored the last backup and accept that I have lost 2 hrs of work.

So my warning is that everyone should backup their flows before allowing Node Red to import updates. I'll look into seeing if I can turn off auto updates...

Perhaps I am missing some bit of knowledge in this area so would welcome any comments. But the purpose of this notes is to warn people to not become complacent with Node Red's reliability and back up often!

Rich

---

<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:** [24 November 2021 22:43 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/2 "2021-11-24T22:43:54Z")

</div>

> [@RichdeCrep](#):
>
> Node Red displayed a dialogue screen to request updating nodes

This is not something node-red does. Can you describe more what this "dialog" looked like?  
What versions of node-red and node-js are you running?

> [@RichdeCrep](#):
>
> I did not bother looking into the Pi folders to see what had happened

That is a shame. Potentially, you lost nothing and there was some kinda glitch.

If it happens again, please try to grab screenshots and info as possible - if this is a bug, we really need to track it down.

---

<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:** [24 November 2021 22:54 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/3 "2021-11-24T22:54:42Z")

</div>

> [@RichdeCrep](#):
>
> Node Red displayed a dialogue screen to request updating nodes

Node-RED doesn't request anyone to update anything. So what dialogue was this ?

---

<div class="post-metadata">

**Author:** ![RichdeCrep](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/richdecrep/32/48088_2.png) [@RichdeCrep](https://discourse.nodered.org/u/RichdeCrep)\
**Post date:** [25 November 2021 01:50 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/4 "2021-11-25T01:50:22Z")

</div>

I am sorry for these "loose" words I used. I vaguely remember "merging" and "updates". I'll put in more effort the next time I see this.

Thanks for offering help.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 November 2021 01:59 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/5 "2021-11-25T01:59:55Z")

</div>

Did you or someone else have the Editor for the same instance of Node-RED open by any chance? That sounds like the conflicting update message that you get when a different tab or browser has had the same Editor instance open and made a change. If that happens, Node-RED tries to merge the changes.

---

<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:** [25 November 2021 07:26 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/6 "2021-11-25T07:26:28Z")

</div>

> [@RichdeCrep](#):
>
> I vaguely remember "merging" and "updates

Usually this means you have been editing the flow in two browser tabs. The safest thing to do when this happens is to close that tab down and find the original. You will only lose any un deployed changes in the window you close.

---

<div class="post-metadata">

**Author:** ![RichdeCrep](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/richdecrep/32/48088_2.png) [@RichdeCrep](https://discourse.nodered.org/u/RichdeCrep)\
**Post date:** [25 November 2021 21:53 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/7 "2021-11-25T21:53:59Z")

</div>

Colin, I must take most of the blame. I accepted the "Merge" operation in one dialog box, then selected "Deploy" to update my active script.

So in hindsight there would have been two tasks competing to update the same flows.

This is why I accepted defeat and referred back to a backup.

I suggest that if there is to be a "Merge" of updated nodes, that the "Deploy" button is disabled, or a message to highlight the problem (if this logic is correct).

---

<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:** [24 January 2022 21:54 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236/8 "2022-01-24T21:54:34Z")

</div>

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