homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

update Node.js v14.18.0 or later #391

Closed danielschafer closed 2 years ago

danielschafer commented 2 years ago

Please support Node.js v14.18.0 or later. It is needed for Phillips hue plugin. Thank you!

oznu commented 2 years ago

The current image is on 14.18.0.

oznu commented 2 years ago

https://github.com/oznu/docker-homebridge/commit/8bcca3da046de6be2c7e8fb7e4bd41239ad16492

danielschafer commented 2 years ago

Thank you very much, but how to update? Did the following steps as described for Synology NAS on the wiki. But I'm still on v14.17.5.

sudo docker stop homebridge sudo docker pull oznu/homebridge:latest sudo docker start homebridge

Thanks in advance.

oznu commented 2 years ago

You need to recreate the container, not just start/stop it.

Current image is now node 14.18.1.

vskal commented 2 years ago

I also need to update the Node.js As far as I understand, for Homebridge installations in Alpine Docker it is not that simple.

I need to recreate the container so I stopped my working container. I created a new Docker container by installing the latest oznu/homebridge with different port and name However the Node.js is still showing 14.15.4

Can we please have some advice on how to recreate the container with an updated Node.js ?