# Update 0.20.5 to 0.20.7 hasn't worked

**URL:** <https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250>\
**Category:** General\
**Created:** [12 August 2019 13:07 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250 "2019-08-12T13:07:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 August 2019 13:07 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/1 "2019-08-12T13:07:12Z")

</div>

This in on my main PiZero that does most of my cheerlights processing ☹

ran the standard script - all seemed to go OK but when I ran

```auto
node-red 

```

I got  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/7bb1727a821d1dd86bd720e3b8310a80f1abeb50.jpeg)

Tried runing script again again - same result ☹

tried

```auto
node-red-start

```

Just got into the node-RED is not installed properly loop ☹

It is an old Jessie install but it has managed to be upgraded to 0.20.5 in the past so unless 0.20.7 has something new been introduced that doesn't work with Jessie?

---

<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:** [12 August 2019 14:13 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/2 "2019-08-12T14:13:01Z")

</div>

This is using the bash script from the docs ? or the local command ?  
It should have reported the installed version of Node-RED like `Install Node-RED core ✔ 0.20.7` so something def not right..

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 August 2019 14:34 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/3 "2019-08-12T14:34:51Z")

</div>

Bash script from docs

This is second time I've had a problem recently (different PiZero)

> [@Nuke it from orbit](https://discourse.nodered.org/t/nuke-it-from-orbit/13963):
>
> I'm having problems installing/upgrading Node-RED on an older PiZero (Stretch so not ancient) (Its in the endless loop of saying that its not fully installed and do I want to re-install) I've tried loads of things and I'm now at the stage where I'd like to delete all Node-RED files, remove npm and remove node.js and start again sudo rm what?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 August 2019 14:38 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/4 "2019-08-12T14:38:15Z")

</div>

I've copied my flow/credentials from it to another SD card that already was at 0.20.7 and put that one in orig Pi instead so I'm up and running again

So I can do anything on the old setup without fear of damage if you want me to try anything

last bit of log file

```auto
Started : Mon 12 Aug 13:41:00 BST 2019
Running for user pi at /home/pi
Found global nodes: :

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 414 not upgraded.

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
Package 'nodejs-legacy' is not installed, so not removed
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 414 not upgraded.
dpkg: warning: ignoring request to remove nodejs which isn't installed
dpkg: warning: ignoring request to remove node which isn't installed
rm: cannot remove ‘/usr/lib/node_modules/npm’: Is a directory
E: Command line option 'y' [from -y] is not known.

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
Building dependency tree...
Reading state information...
414 packages can be upgraded. Run 'apt list --upgradable' to see them.
npm ERR! Cannot read property 'resolve' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-12T12_46_36_657Z-debug.log
npm ERR! Cannot read property 'resolve' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-12T12_46_55_842Z-debug.log
The user `pi' is already a member of `gpio'.
Finished : Mon 12 Aug 13:41:00 BST 2019

```

---

<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:** [12 August 2019 15:01 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/5 "2019-08-12T15:01:13Z")

</div>

OK - can you try the online script again please... - (slightly updated)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 August 2019 15:37 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/6 "2019-08-12T15:37:02Z")

</div>

Sucess 🙂

---

<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:** [12 August 2019 15:48 UTC](https://discourse.nodered.org/t/update-0-20-5-to-0-20-7-hasnt-worked/14250/7 "2019-08-12T15:48:35Z")

</div>

thanks for raising it.
