docker-homebridge icon indicating copy to clipboard operation
docker-homebridge copied to clipboard

Lost configuration after container restart / host reboot

Open Tamas92 opened this issue 1 year ago • 0 comments

Describe The Bug

I had a power outage and after my server rebooted I've got the default start screen for homebridge. Create user or restore from backup. I restored from backup. Rebooted the host and had the default screen again. If I stop then start the container I have the same issue. I tried to create the new user to have a new config. Same issue after reboot/container restart. Always lose all the config.

Screenshot 2024-02-11 at 19 17 22

Docker Config

version: '2'
services:
  homebridge:
    container_name: homebridge
    image: homebridge/homebridge:ubuntu
    restart: always
    network_mode: host
    volumes:
      - ./homebridge:/homebridge
      - ./cameraui:/var/lib/homebridge/camera.ui/recordings/
    logging:
      driver: json-file
      options:
        max-size: "10mb"
        max-file: "1"

Logs

No response

Host Operating System

Ubuntu / Debian (or a variant)

Host Architecture

x86_64 / amd64

Tamas92 avatar Feb 11 '24 18:02 Tamas92