Update a default docker install

I installed HA with hassio about 13months ago in docker, dont remember much about that (whiskey?), but my automation has stopped working due to API changes and I need to update, I have gained a better understanding of docker images in the process but not sure how to go about updating HA in a docker env where I didn’t specifically move the data folders for containers outside of the image in setup.

this is what i have running → Screenshot by Lightshot

can anyone shed any light how i can move the important data from the image out, then update the container images and reference the new location for the data? i might need to run some more commands to show how my current setup is.

apologies, i know just enough to get in trouble as they say…

Please show, which docker containers are actually running. Type "docker ps’ on the command line.

Then you will get the id of your container

Then type ‘docker inspect [your id]’

Look for ‘volume’ or ‘bind’. There should be a path in there and if your are lucky, you will find all your data there.

Install portainer CE (free community edition) and use that.

Command line is easy but portainer makes docker management much easier

I also dont like using latest tag for images and suggest specifying the version you want for all docker images. There can be huge difference from v1.1 and v1.7

EDIT

It sound like you did not bind mount fokder for config and data only exists in the container?

If so, portainer has console function that gives command line inside coontainer.

You should first recreate container with bind mounted volume called temporary. Do not name it config to prevent the old data being removed and replaced by your new blan folder

rsync -aP /old folder /temporary

Recreate container properly mounting folder with correct names then use rsync to move data to location

Rsync is better than cp (copy) or mv (move) in my opinion and you dont want that data deleted or moved until its verified in place. Rsync will also grab the hidden folder used by HA

thanks all, so I installed portainer and can see this

does this mean my data is outside of the container?

Sorry, heard docker and container but missed the HASSIO

You do NOT have docker install. You have HAOS I believe.
HAOS can be backed up using UI or manually.. use that to get the data
You can update HAOS from the UI or manually.

The backup contains everything you need to restore HA and can be restored using the UI or Manually if needed. if you upgrade it will be automatically restored. You should check release notes because there may be breaking changes that affect upgrade

ahh i see, yes I tried that and it says the system is not healthy

I think this is a result of being 13 months old…

if you clear the errors it may update without issue.
You must backup install before anything.

Ive take a ful backup and downloaded it, so all good there

cant see a clear error button anywhere, or do you mean try and address the things its complaining about

Yes. Address what it complains about

Based on the screenshots maybe this is a Supervised install on an unsupported Linux version. I can’t see even an old versions of HAOS complaining about the operating system…

Unless you followed the supervised install directions as specified below, on debian, the system will stay in an unhealthy state and prevent you from updating.

It sounds like you were able to backup successfully. At this point, I would install a supported install (supervised on debian, a VM, or HAOS as the OS running your machine) and then restore your backup to the healthy/supported system.

roger that, yes its on ubuntu, so I see it says Debian. thanks all for your help! greatly appreciated @tmjpugh espically