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 241 forks source link

1.7.0 requires Node.js v18.15.0 or later but Docker image has Node.js v18.13.0 #524

Closed aberkvam closed 7 months ago

aberkvam commented 8 months ago

Analysis

I get the following message when trying to update to the recently-released Homebridge 1.7.0:

Homebridge v1.7.0 requires Node.js v18.15.0 or later. You are currently running Node.js v18.13.0.

The "How To Update Node.js" wiki says "Users running in Docker should update Node.js by pulling down the latest version of the Homebridge Docker Image." But I have the latest image, which is 10 months old. https://hub.docker.com/r/oznu/homebridge/

Expected Behavior

Docker image would have Node.js v18.15.0 or later prepackaged

Steps To Reproduce

Try updating to Homebridge 1.7.0 from the official Docker container.

Logs

N/A

Configuration

N/A

Environment

Process Supervisor

Docker (Mention image name in Additional Context)

Additional Context

oznu/homebridge latest 4602d8486a4c 9 months ago 913MB

ebaauw commented 8 months ago

They moved to https://hub.docker.com/r/homebridge/homebridge, but I don’t know what version of NodeJS they use there.

NorthernMan54 commented 8 months ago

FYI - docker-homerbidge uses the Homebridge APT package internally, which includes NodeJS v18.18.2

NorthernMan54 commented 8 months ago

I also mentioned the docker image location move on the How to Update NodeJS page.

aberkvam commented 7 months ago

Thanks for the hint about the oznu-homebridge -> homebridge-homebridge move and the updating of the documentation. (It would be nice if there was a depreciation notice at https://hub.docker.com/r/oznu/homebridge/ too...)

That led me down another rabbit hole because the version of Docker that comes with Synology DSM 6 is too ancient to support the latest homebridge-homebridge image format. Updating to DSM 7 (a long-overdue headache) got me a newer Docker that could load the homebridge-homebridge image, which could then update to homebridge 1.7.0. Problem(s) solved. Thanks.