# Upgrading RPi4 to 64-bit - Node-Red Bombs

**URL:** <https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192>\
**Category:** General\
**Created:** [2 August 2021 06:58 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192 "2021-08-02T06:58:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 06:58 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/1 "2021-08-02T06:58:48Z")

</div>

This could well be nothing to do with NR but I have to start somewhere.

As some of you know, I run Node-Red 24-7 on an RPi4 32 bit - EVERYTHING up to date....

Except as I just found out - if I wanted to re-install Grafana from scratch - they no longer support 32 bit ARM for InfluxDB - SO - with my fully working Grafana + MQTT + Node-Red setup, I (made a clone first and) did the rpi-update and the change to /boot/config.txt to say to use the 64-bit Raspbian... and rebooted.

Lovely, my existing Grafana works - and Node-Red started up - "Welcome to Node-Red" - flows started - "Zigbee2mqtt-server - refreshing device".... "email sent" - all looking good and then... "Bus Error" in the Node-Red console... NR stopped - end of story.

Any ideas as to how to progress this? I've no idea how to progress "bus error" in the NR console.

---

<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:** [2 August 2021 07:14 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/2 "2021-08-02T07:14:10Z")

</div>

I would guess you also need a new 64 bit version of nodejs

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 07:44 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/3 "2021-08-02T07:44:33Z")

</div>

#Could that possibly account for "bus error"?

---

<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:** [2 August 2021 07:50 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/4 "2021-08-02T07:50:32Z")

</div>

Yes it could

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 10:14 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/5 "2021-08-02T10:14:43Z")

</div>

Right - new clone - apt-get-update and upgrade... then sudo rpi-update - then the bit in config.txt.

Powers up as AARCH64. Done - and of course, NR is still dead. How do I update my Nodejs 14.74 to 64-bit - any idea? In ignorance I tried sudo apt full-upgrade - no changes. I tried your script - it left nodejs alone....

---

<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:** [2 August 2021 11:10 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/6 "2021-08-02T11:10:13Z")

</div>

Uninstall it and re-install it  
`sudo apt remove nodejs`  
`sudo apt install nodejs`

---

<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:** [2 August 2021 11:16 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/7 "2021-08-02T11:16:19Z")

</div>

On second thoughts I don't know if that will make a difference. In fact I don't understand what the change in config.txt actually does. Are you sure that changing it will allow grafana/influx to install?

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 12:26 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/8 "2021-08-02T12:26:33Z")

</div>

Preparing to unpack .../nodejs\_14.17.4-1nodesource1\_armhf.deb ...

Detected old npm client, removing...

Looks like it re-installed the same one.

The change in config.txt definitely changes the login info from arm7 to aarch

Right I'm booting.

Linux rpi419buster 5.10.52-v8+ #1440 SMP PREEMPT Tue Jul 27 09:56:40 BST 2021 aarch64

That AARCH64 wasn’t there before the config.txt change -= even after rpi-update.

Nope – same old nodejs it seems

 ![image001.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/e/2e68d2af185f1f5fcc3ffada5d5cbd6834f28927.png)

Oh, dear… Still no Node-Red. Good job this was a clone... oh and I've not yet tackled the 64 but Grafana - I believe that Grafana issue happened at the apt update and apt-upgrade before the rpi-update - as I did apt update and apt upgrade only a couple of days ago on my main SSD and everything was/is working perfectly at that point.

Any other ideas guys?

---

<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:** [2 August 2021 14:51 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/9 "2021-08-02T14:51:20Z")

</div>

Is influx running?

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 14:55 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/10 "2021-08-02T14:55:59Z")

</div>

Its the old influx - I'm not worried about that... that came later. The NR BUS ERROR appeared from the first time I upgraded to 64 bit RPI op system... 🙂 One thing at a time 🙂

---

<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:** [2 August 2021 15:08 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/11 "2021-08-02T15:08:14Z")

</div>

> [@scargill](#):
>
> they no longer support 32 bit ARM for InfluxDB

Are you sure? [repos.influxdata.com](http://repos.influxdata.com) still seems to have armhf packages for 1.8, or are you trying to install influxdb v2.0?

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 17:33 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/12 "2021-08-02T17:33:59Z")

</div>

Personally I'm happy with 1.8 but people using my script obviously want the latest version.

But the Influx is not the main issue – Node-Red bombing out at the start is the big problem.

Regards

Pete

---

<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:** [2 August 2021 18:21 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/13 "2021-08-02T18:21:59Z")

</div>

You need the aarch64 version of nodejs. You may need to install it manually as I have tried using the script for it.

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 19:22 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/14 "2021-08-02T19:22:43Z")

</div>

Thanks Dave but I've no idea how to get to the latest binary for that.. I've always just used firstly my own script -bit more recently - yours.

---

<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:** [2 August 2021 19:24 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/15 "2021-08-02T19:24:08Z")

</div>

Well. Now you are one step ahead of me ! Dive in !  
( did you try re-running my script but with the —node14 flag added to force a re-install?)

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 19:41 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/16 "2021-08-02T19:41:22Z")

</div>

I could try that now if I could grasp where to put that --node14 flag - I tried it at the start, in the middle - at the end - erm, no... So - where would you put that flag? (don't you hate dumb questions)..

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [2 August 2021 19:45 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/17 "2021-08-02T19:45:58Z")

</div>

> [@scargill](#):
>
> if I could grasp where to put that --node14 flag

At the end.  
If you put `--help` at the end instead, it will print out all of the options (the script doesn't run with `--help`)

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 19:56 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/18 "2021-08-02T19:56:32Z")

</div>

Yup - it's removing the old version 14.x and installing 14.17.4 but no idea if it's the 64 bit verdion (uname -m shows aarch64)... - I'm getting excited now....

---

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [2 August 2021 20:00 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/19 "2021-08-02T20:00:16Z")

</div>

Sadly - same result - "Bus Error"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/0/10688ddd692dbab8c696b6775ec12906f4dc789d.png)

I'm depressed again...

---

<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:** [2 August 2021 20:16 UTC](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192/20 "2021-08-02T20:16:28Z")

</div>

You already tried uninstalling and re-installing it, so doing that again won't help.

[Next page](https://discourse.nodered.org/t/upgrading-rpi4-to-64-bit-node-red-bombs/49192.md?page=2)
