homebridge/homebridge-config-ui-x

How to Update Docker Image from ozno/homebridge to homebridge/homebridge

thetatae opened this issue · 4 comments

Current Situation

I have a working homebridge running on the Synology DSM6 using the Docker. It seems like that I need to update Node.js to version 18.15 or newer to keep my homebridge working sooner or later. But the current Docker Image is ozno/homebridge. To update the Node.js, I believe that I need to change the image to homebridge/homebridge as per my understanding.
Please kindly help to provide step-by-step procedures to accomplish this. I have a beginner level of programming or coding so I'm just afraid that I might break my working homebridge if I try to do this myself. Any insights or instructions are highly appreciated! =D
Screenshot 2023-12-08 at 3 04 07 PM

Screenshot 2023-12-08 at 3 23 13 PM

Logs

No response

Config

No response

Homebridge UI Version

v4.53.0

Homebridge Version

v1.6.1

Node.js Version

v18.13.0

Operating System

Synology DSM

Environment Info

  • Using Docker?
  • Using Hyper-V?
  • Using hb-service?

Raspberry Pi Model

None

Hi thetatae,

You need to delete your current homebridge docker and relaunch your docker (compose up or docker run) with replacing oznu/homebridge by homebridge/hombridge. Before delete, be sure your home bridge data are external to the docker itself, if not, you will loose your homebridge config and the HomeKit devices !!

Hi thetatae,

You need to delete your current homebridge docker and relaunch your docker (compose up or docker run) with replacing oznu/homebridge by homebridge/hombridge. Before delete, be sure your home bridge data are external to the docker itself, if not, you will loose your homebridge config and the HomeKit devices !!

Hi Grunchy99,

Thanks for your help. It would be highly appreciated if you can help me with a few more questions about this.
Can you elaborate on the steps to delete the current homebridge docker? Do you mean deleting the whole docker or deleting homebridge container or oznu/homebridge image?
Screenshot 2023-12-09 at 8 54 51 AM
Screenshot 2023-12-09 at 8 54 58 AM

And after that how to add the docker image homebridge/hombridge back without loosing the running homebridge?

Currently I have all homebridge configuration files under the directory /docker/homebridge/

I just don't understand how to replace the existing oznu/homebridge with homebridge/hombridge.

Thanks for your support =D

You don't need to upgrade your docker image to Homebridge:Homebridge, in order to upgrade your node.js. I have successfully upgraded my node.js and am also running the oznu image.

From the Homebridge web interface, launch terminal and run command:

hb-service update-node

I have the same setup as you.

image

@dwyeraidan
It works!!! And it's so easy and straightforward. Thanks a lot!