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.57k stars 241 forks source link

Can't start docker compose after upgrade to 2022-06-02 #444

Closed hannoeru closed 2 years ago

hannoeru commented 2 years ago

Describe The Bug

Looks like is some thing related to s6.

Workaround

Add privileged: true to docker-compose.yml can fix it.

Docker Config

version: '2'
services:
  homebridge:
    image: oznu/homebridge:apt
    restart: always
    network_mode: host
    environment:
      - TZ=Asia/Tokyo
    volumes:
      - ./data:/homebridge
    logging:
      driver: json-file
      options:
        max-size: "10mb"
        max-file: "1"

Logs

homebridge-homebridge-1  | s6-svscan: warning: unable to iopause: Operation not permitted
homebridge-homebridge-1  | s6-svscan: warning: executing into .s6-svscan/crash
homebridge-homebridge-1  | s6-svscan crashed. Killing everything and exiting.
homebridge-homebridge-1  | s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
homebridge-homebridge-1 exited with code 111

Host Operating System

Raspberry Pi OS / Raspbian

Host Architecture

armv7l

oznu commented 2 years ago

This is noted in the README:

https://github.com/oznu/docker-homebridge#2-container-will-not-start-on-older-versions-of-raspbian

hannoeru commented 2 years ago

Oh, sorry I didn't saw that. Let me check if update Raspberry Pi can fix this.

oznu commented 2 years ago

No worries. It is quite an annoying issue 😢

oznu commented 2 years ago

Apart from this issue, was the upgrade to the 2022-06-02 / apt tag successful for you?

hannoeru commented 2 years ago

Yes, upgrade successful and without any issue so far.

hannoeru commented 2 years ago

Just finished upgrading my Raspberry Pi from debian buster to bullseye, it works without privileged: true option.

Thanks for all the hard work and keeping this project updated!!