#What do the container logs show?

1 messages · Page 1 of 1 (latest)

lost prawn
#

logs
https://gist.github.com/KienHui/f912ac7409de4fec91e8e6117e4c0582
which appears to be not much of anything relating to startup
container def is:

  home-assistant:
    container_name: "home-assistant"
    environment:
      - "TZ=UTC"      
      - TAILSCALE_STATE_DIR=/var/lib/tailscale
      - TAILSCALE_SERVE_PORT=8123
      - TAILSCALE_SERVE_MODE=https
      - TAILSCALE_USE_SSH=1
      - TAILSCALE_HOSTNAME=hass
      - "TAILSCALE_AUTHKEY=${TS_AUTHKEY}"
      - "DOCKER_MODS=ghcr.io/tailscale-dev/docker-mod:main"
    hostname: "home-assistant"
    image: "linuxserver/homeassistant:latest"
    restart: "always"
    volumes:
      - "/volume1/docker/synology:/config"        
      - "/volume1/docker/synology/varlib:/var/lib"        # State data will be stored in this directory
      - "/dev/net/tun:/dev/net/tun"                      # Required for tailscale to work
    working_dir: "/config"
    networks:
      hass:
        ipv4_address: 192.168.3.200
    cap_add:
      - NET_ADMIN
      - NET_RAW
round hatch
#

Those are the HA container logs?

lost prawn
#

the home-assistant.log file hasn't updated since it stopped working, and the last thing in there is apparently unrelated, indicating it never wrote to that file

#

that is the log from portainer, yes

round hatch
#

Right, but it's the log for the HA container, not some other container?

lost prawn
#

yes, from the HA container

round hatch
#

Nothing there mentions HA at all

lost prawn
#

i know

round hatch
#

You may want to ask for help on the LinuxServer Discord, since that's their image

lost prawn
#

but line 78 of that log is about it being hass.drake-justice.ts.net, which is my hass server

round hatch
#

Personally I just run tailscale in another container, you don't have to embed things like this

lost prawn
#

for whatever reason, i've not been able to get the sidecar thing to work

#

you know what? fuck it, i've got some recent back ups of the config. i can just blow away the old container volume and restart it from backup

round hatch
#

And if that doesn't work, ask the people on the LinuxServer Discord, they'll be more able to help with their container image than we can

#

Otherwise, just use the official image and run Tailscale separately