Reset Password or Update Home Assistant Container

Reset Password or Update Home Assistant Container

Reset Password or Update Home Assistant Container

Reset Password

  • docker exec -it homeassistant /bin/bash hass --script auth --config /config change_password USER PASSWORD exit

now you have a new password

Updating Home Assistant

  • sudo docker stop homeassistant
  • sudo docker rm homeassistant
  • sudo docker run -d --name ha --restart=unless-stopped --privileged -e TZ=Europe/Oslo -v /home/pi/ha_config:/config --network=host ghcr.io/home-assistant/home-assistant:stable

now your updated

change ha with what you like the container to be called
change /home/pi/ha_config to your path to your config folder
change TZ to your timezone

DigitalOcean Referral Badge
Keep my site online & receive a $100 60-day credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Proudly published with Ghost | Header Image by GUWEIZ@DeviantArt Creative Commons Licence