Closed juani13973 closed 8 months ago
I just figured this out. Before proceeding you can always export to a backup.
Steps:
Those are the steps that worked for me for Docker. I'm now showing as being on Node.js v20.11.0. I didn't lose any configuration or data when doing the update.
Thx Chuckaknuckie. I finally did it but in a different way. I asked in Chatgpt how to upgrade hombridge node.js bla bla and executed what came in. All work and did not loose anything. I basically pause the old container and created a new one with the new image directing it to the same folder etc. It picked everything from the same folder and started with the same config. (the only difference in my new version of Qnap is that I had to define a new IP address and not the NAS one)
this is what came from Chat GPT :
Upgrading Homebridge running in a Docker container on your QNAP NAS involves a few steps. Here's a step-by-step guide:
Access your QNAP NAS:
Stop the Homebridge Docker Container:
Update the Docker Image:
Start the Updated Container:
Check Logs for Errors:
Verify Homebridge Functionality:
Update Homebridge Plugins:
docker exec -it <your_homebridge_container_name> npm outdated -g
docker exec -it <your_homebridge_container_name> npm update -g
<your_homebridge_container_name>
with the actual name of your Homebridge container.Backup Configuration:
Reconfigure (if necessary):
Test Your Devices:
Remember to consult the Homebridge and Docker documentation for any version-specific instructions or updates. Also, take note of any specific configurations you've made in your current setup, as you may need to replicate them in the updated version.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.
Current Situation
Dear community, I apologize if this is posted somewhere else. I could not find it.
I am not an expert on containers so I am looking to get a STEP BY STEP process to upgrade my home bridge from v16.15.0 to the latest so I can update homebridge as well. My hombridge is running on a DOCK container in a QNAP NAS.
I have read multiple threads : you can update from inside the container. you should re install the image to the latest etc
could you please recommend the best way and provide the steps. Of course, my objective is to not loose any configuration and set up I have right now.
Thanks for your support,
Docker Config
Logs
Host Operating System
QNAP
Host Architecture
x86_64 / amd64