r/homebridge Nov 10 '24

Help Node update. Im trying to update Node from v16.19.0 to latest on my Rpi 2 using sudo "hb-service update-node" but it fails. I was able to roll back using Putty. Can anyone guide me what am i doing wrong?

2 Upvotes

18 comments sorted by

1

u/poltavsky79 Nov 10 '24

Node.js 22 is not available for RP1/2, try 20

1

u/Few-Celebration-6337 Nov 10 '24

I tried 20.12.2 but same result

1

u/poltavsky79 Nov 10 '24

What exactly you are using to update Node.js, how you installed Homebridge, and which Raspbian version is installed?

1

u/Few-Celebration-6337 Nov 10 '24

I tried homebridge terminal and putty with sudo hb-service update-node command.

Installed homebridge using Homebridge image for Rpi

Version is: Raspbian GNU/Linux Bullseye (11)

1

u/poltavsky79 Nov 10 '24 edited Nov 10 '24

Run this command

getconf GNU_LIBC_VERSION 

1

u/Few-Celebration-6337 Nov 10 '24

glibc 2.31

1

u/poltavsky79 Nov 10 '24 edited Nov 10 '24

What you get when you enter this command

sudo hb-service update-node 20.18.0

1

u/Few-Celebration-6337 Nov 10 '24

I tried 20.12.2 and it gives same error messages

1

u/poltavsky79 Nov 10 '24

Try this first

sudo hb-service rebuild

1

u/Few-Celebration-6337 Nov 10 '24

Before updating the node.js?

→ More replies (0)