# Node-red-dashboard upgrade - Lost my nodes

**URL:** <https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649>\
**Category:** Dashboard\
**Created:** [10 December 2018 18:28 UTC](https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649 "2018-12-10T18:28:27Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![fritserasmus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fritserasmus/32/274_2.png) [@fritserasmus](https://discourse.nodered.org/u/fritserasmus)\
**Post date:** [6 May 2020 14:32 UTC](https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649/21 "2020-05-06T14:32:23Z")

</div>

Hi Marci,

what I meant, is how did you update Node-RED on the Ubuntu environment?

---

<div class="post-metadata">

**Author:** ![marci144](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marci144/32/21344_2.png) [@marci144](https://discourse.nodered.org/u/marci144)\
**Post date:** [6 May 2020 14:53 UTC](https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649/22 "2020-05-06T14:53:47Z")

</div>

remove the old-one first : **sudo apt-get remove nodejs**

and then install the new one : **sudo apt-get -y install nodejs**

that's it

---

<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:** [6 May 2020 15:12 UTC](https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649/23 "2020-05-06T15:12:41Z")

</div>

nodejs != Node-RED.

Hopefully you can **sudo apt-get remove nodejs** and then run the Node-RED upgrade script  
[https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi) - which will install a LTS version of nodejs and then Node-RED.

All your work will be in your ~/.node-red directory - so back that up just to be sure -but the script doesn't touch it so it should come back ok.

---

<div class="post-metadata">

**Author:** ![fritserasmus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fritserasmus/32/274_2.png) [@fritserasmus](https://discourse.nodered.org/u/fritserasmus)\
**Post date:** [7 May 2020 19:44 UTC](https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649/24 "2020-05-07T19:44:57Z")

</div>

Thanks marci and dceejay,

I am just VERY, VERY cautions as I can not be without the server.  
It controls too many Solar production, heaters and lights at the moment and I HAVE to upgrade to be able to use a subflow to restrict heater to only switch on during office hours.

I am considering to follow this cheat sheet

[Previous page](https://discourse.nodered.org/t/node-red-dashboard-upgrade-lost-my-nodes/5649.md?page=1)
