# Update Nodered 1.0.6

**URL:** <https://discourse.nodered.org/t/update-nodered-1-0-6/41128>\
**Category:** General\
**Created:** [17 February 2021 00:20 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128 "2021-02-17T00:20:07Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [17 February 2021 00:20 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/1 "2021-02-17T00:20:08Z")

</div>

Hello,  
I have updated nodered on a Raspberry 4 without any problem (1.0.6 to 1.2.9), following the method describe [here](https://nodered.org/docs/getting-started/raspberrypi).  
On a Raspberry 3, installed the same way as the 4, the command `bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)` has no effect, event after running `sudo apt install build-essential git`.  
Any idea what is wrong?  
Thanks,

---

<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:** [17 February 2021 07:21 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/2 "2021-02-17T07:21:42Z")

</div>

Welcome to the forum.

Do you see any errors when you run the script? If not then please post the install log here, it tells you where it is at the end of the run. The log may contain multiple runs of the script, please just post the last one. When you paste it here use the `</>` button at the top of the forum text entry window.

---

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [17 February 2021 09:14 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/3 "2021-02-17T09:14:20Z")

</div>

No error reported in the terminal. Where is located the install log?  
Thx

---

<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:** [17 February 2021 09:40 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/4 "2021-02-17T09:40:59Z")

</div>

> [@Renaudp](#):
>
> the command `bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)` has no effect,

What do you mean by "has no effect"? Nothing happened? or the script ran fully but old node-red is still present?

on this problem PI...

- how was node-red first installed?
- what does `which node-red` report?
- can you post a copy of terminal output from node-red starting to the point it says flows are running (might have some clues).

---

<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:** [17 February 2021 10:30 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/5 "2021-02-17T10:30:39Z")

</div>

> [@Renaudp](#):
>
> Where is located the install log?

As I said it tells you at the end of the install script running (assuming you do see it running that is). Assuming you do see it running and showing its progress (it should take several minutes) then it is in /var/log/nodered-install.log.

---

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [17 February 2021 12:42 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/6 "2021-02-17T12:42:13Z")

</div>

I get this with the bash:

```auto
pi@pi:~ $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
pi@pi:~ $ 

```

• Node-red 106 is installed and is working.  
• Node-red was preinstalled with noobs351  
• Which node-red returns /usr/bin/node-red  
• Nodered output:

```auto
17 Feb 12:27:31 - [info] Started flows
17 Feb 12:27:31 - [info] [sqlitedb:f8adad6d.04982] opened /home/pi/Documents/NodeRedData/laundry.db ok
17 Feb 12:27:31 - [info] [sqlitedb:2e7de606.ecde22] opened /home/pi/Documents/NodeRedData/laundry.db ok
17 Feb 12:27:31 - [info] [sqlitedb:b14e9106.b09f4] opened /home/pi/Documents/NodeRedData/laundry.db ok
17 Feb 12:27:31 - [info] serial port /dev/ttyS0 opened at 9600 baud 8N1
17 Feb 12:27:31 - [info] [mqtt-broker:ea4dc112.5ec9e8] Connected to broker: mqtt://localhost:1883
17 Feb 12:27:31 - [info] [mqtt-broker:1f9b560e.ea3b9a] Connected to broker: mqtt://localhost:1883

```

---

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [17 February 2021 12:44 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/7 "2021-02-17T12:44:34Z")

</div>

File /var/log/nodered-install.log does not exist

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 February 2021 13:08 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/8 "2021-02-17T13:08:02Z")

</div>

This isn’t, by any chance, a docker image...is it?

---

<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:** [17 February 2021 13:25 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/9 "2021-02-17T13:25:54Z")

</div>

In addition to the docker question, Is curl installed? Run  
`sudo apt install curl`  
to check and install it.

If it is, what happens if you run just the curl line  
`curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered`  
It should display a load of text ending with

```auto
echo "Please see the documentation at http://nodered.org/docs/getting-started/upgrading."
echo " "
exit 1
fi
fi

```

---

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [18 February 2021 21:25 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/10 "2021-02-18T21:25:19Z")

</div>

Curl is installed: curl is already the newest version (7.64.0-4+deb10u1).

Nothing happend when I run your curl line:

```auto
pi@pi:~ $ curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
pi@pi:~ $ 

```

---

<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 February 2021 22:06 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/11 "2021-02-18T22:06:32Z")

</div>

There is something wrong with curl or your internet access then.  
What do you see if you put the https://... bit in the browser on the node-red machine? Also try  
wget [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

---

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [18 February 2021 22:22 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/12 "2021-02-18T22:22:47Z")

</div>

[https://192.168.1.25:1880/](https://192.168.1.25:1880/) does not work on both raspberry but I've just updated Node-red 1.2.9 on RPI4 without problem.

```auto
pi@pi:~ $ wget https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
--2021-02-18 22:08:10-- https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Name or service not known.
wget: unable to resolve host address ‘raw.githubusercontent.com’

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [19 February 2021 00:26 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/13 "2021-02-19T00:26:07Z")

</div>

> [@Renaudp](#):
>
> `wget: unable to resolve host address ‘raw.githubusercontent.com’`

Is the Pi connected to the internet?

---

<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 February 2021 07:12 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/14 "2021-02-19T07:12:56Z")

</div>

If it is connected to the internet then that suggests that DNS is not working. Does  
`ping www.google.com`  
work? It not then you need to sort that.

---

<div class="post-metadata">

**Author:** ![Renaudp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/renaudp/32/37381_2.png) [@Renaudp](https://discourse.nodered.org/u/Renaudp)\
**Post date:** [20 February 2021 20:50 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/15 "2021-02-20T20:50:33Z")

</div>

Right, internet was not anymore reachable since I've switched the rpi to AP with a static address. It is working fine in local but no link to internet.  
It is working fine without a static address.  
I have to dig that point.  
Thank you for your time!

---

<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:** [6 March 2021 20:50 UTC](https://discourse.nodered.org/t/update-nodered-1-0-6/41128/16 "2021-03-06T20:50:52Z")

</div>

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