Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant updates lose all settings (new install screen) #2076

Closed
PegFaceMan opened this issue Feb 6, 2025 · 3 comments
Closed

Home Assistant updates lose all settings (new install screen) #2076

PegFaceMan opened this issue Feb 6, 2025 · 3 comments

Comments

@PegFaceMan
Copy link

Describe the bug

Hi.
Seems after each Watchtower update of Home Assistant I lose everything and it's new install time.
I am using Docker and Portainer
No other containers have updated so far, so i'm worried the same will happen to those. I will need to disable Watchtower until I find a cause or setting to resolve.

Steps to reproduce

Watchtower update overnight

Expected behavior

Update not full re-install

Screenshots

No response

Environment

  • Docker version 27.5.1 API 1.47 git commit 9f9e405
  • Debian version 12 (Bookworm)
  • Portainer version Community Edition 2.21.3

Your logs

INFO[41510] Found new homeassistant/home-assistant:latest image (543b62111c0c) 
INFO[41513] Stopping /HomeAssistsant (85d7ace09040) with SIGTERM 
INFO[41521] Creating /HomeAssistsant                     
INFO[41521] Removing image 7fa0101862f6                  
INFO[41536] Session done                                  Failed=0 Scanned=5 Updated=1 notify=no
INFO[84650] Session done                                  Failed=0 Scanned=5 Updated=0 notify=no
INFO[127851] Session done                                  Failed=0 Scanned=5 Updated=0 notify=no
INFO[171050] Session done                                  Failed=0 Scanned=5 Updated=0 notify=no
INFO[214294] Found new homeassistant/home-assistant:latest image (b278a9fefdec) 
INFO[214299] Stopping /HomeAssistsant (a5e30efc24e8) with SIGTERM 
INFO[214320] Creating /HomeAssistsant                     
INFO[214320] Removing image 543b62111c0c                  
INFO[214329] Session done                                  Failed=0 Scanned=5 Updated=1 notify=no

Additional context

No response

Copy link

github-actions bot commented Feb 6, 2025

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

@mervincm
Copy link

mervincm commented Feb 7, 2025

likely your home assistant is not using persistent storage. Your docker compose file or docker run command line needs to map persistent storage to the location that your image uses to store this configuration. If this is missing, it's not related to watchtower and you would see the problem occur regardless of how you pulled a newer image / deploy a new container.

@PegFaceMan
Copy link
Author

PegFaceMan commented Feb 10, 2025

Thank you for your response. This makes sense and gives me a great starting point to investigate further.
I'll go back to Portainer and/or Home Assistant as my issue lies in that direction and my configuration when i set it up.
Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants