homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.59k stars 244 forks source link

Lost configuration after container restart / host reboot #551

Closed Tamas92 closed 8 months ago

Tamas92 commented 9 months ago

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

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 8 months ago

This issue has been closed as no further activity has occurred.