Hi, first, I did try for a good hour to find my answer and failed…
I would like to update my HA on Synology/Docker. Issue is that I was super motivated 2 months ago and got in the details of installing everything, and all is working fine but since then - I literally forgot all I did… as I am not often into configuration things on computers.
Is there a way to update using UI only?
When I login now, it’s all working good, I also have Nabu Casa thing running so Google Home works and I even got Xiaomi to work there too.
? - Will I loose all this? How to I make sure this transfers and works on the new version?
I could only find one video helping out and it starts directly with Putty… I’m scared…
Don’t know, but I imagine if you go into the DOCKER section on your Synology, there would be an option to pull a new image and restart. I don’t use Synology, but Docker is super simple.
No, that’s why you should have bind mounts.
If you set it up correctly the first time, it will all just transfer over.
I can help, I do this “all the time.” While there are ways to automate this, some Docker items (like HA) aren’t updated often enough to warrant it, and I’d rather be in control of an update process.
I’m assuming you setup HA according to the Docker directions so your config is outside of the container.
What you want to do:
Go into Docker on your Synology.
Click Containers.
Highlight your homeassistant container.
Click the Settings drop-down and choose “Export” and save this file somewhere. I save mine along with the config for HA. These are the settings for your Container that you did when first setting up HA.
Stop HA with the switch in that panel.
From the Action menu choose “Delete” (yes, you’re deleting the HA container.)
Click Image in the sidebar.
Click the homeassistant Image and delete it with the button up top.
Go into the Registry sidebar item and download homeassistant and be sure to choose the “latest” tag. Let it finish downloading.
Go back into Containers and click the Settings drop-down again and choose “Import”.
Choose your backup created in step 4. This will re-create the container with all the settings you first did. All you have to do is start it up and HA should be updated with all of your configs intact.
Oooo, thanks. I didn’t realize it’d rebuild the existing container with the latest version. I’ll be trying this way next time! Synology’s Docker information can be pretty sparse.