#1. Backup HASS from GUI backup option
Settings > System > Backup
Settings > System > Backup
# 2. Download latest image, if this returns "Image is up to date" then you can stop here
docker pull ghcr.io/home-assistant/home-assistant:stable
# 3. stop the running container
docker stop homeassistant
# 4. remove it from Docker's list of containers
docker rm homeassistant
# 5. finally, start a new one with custom letsencrypt command
docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-e TZ=Europe/London \
-v /home/<username>/Docker/hass:/config \
-v /etc/letsencrypt:/etc/letsencrypt \
--network=host \
ghcr.io/home-assistant/home-assistant:stable
No comments:
Post a Comment
Note: only a member of this blog may post a comment.