Hi all
Panicking a little here…
I have a script that I run to perform updates when new releases of HA come out.
Its been fine for 12 months, but today it has fallen over and now I can’t access HA and it doesn’t seem to be running at all.
I run HA in a container (Portainer) and the script reported the network mode was incompatible (was host). Was weird, but thought maybe the update ment it should be change. I changed to “Bridge” and the update completed, but I can’t access HA.
I have subsequently changed it back to Host and restarted the container with no change in behaviour.
docker compose:
#
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /opt/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro #Bluetooth. Doesn't Work
devices:
- /dev/ttyACM0:/dev/ttyACM0 #zigbee USB
- /dev/sda5:/dev/sda5 #UPS. Maybe?
restart: unless-stopped
privileged: true
network_mode: host
ports:
- "443:443"
update script
#!/bin/bash
apt update
apt full-upgrade -y
apt autoremove -y
cd /opt/
docker-compose pull
docker-compose up -d
docker image prune -af
docker volume prune -f
I can ssh in to the server itself, but can’t get a response from HA