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

no UI access and no API access after June 15 upgrade #451

Closed handy80 closed 2 years ago

handy80 commented 2 years ago

Describe The Bug

After the upgrade yesterday homebridge stopped working for me. looking into the logs does not show anything to me. (running on a synology DS1813+ latest DSM 6.2.4-25556 Update 6)

Not sure where docker/homebridge got the 169* IP adresses and where to set those correctly. My network is 172.16.0.1/16

any idea what might help to restore/fix the issues.

Thanks by the way. your homebridge docker is working fine a long long time now.

Docker Config

ENV 
ENABLE_AVAHI    1
HOMEBRIDGE_PKG_VERSION  1.0.24
npm_config_audit    false
npm_config_fund false
npm_config_global_pnpmfile  /opt/homebridge/global_pnpmfile.cjs
npm_config_global_style true
npm_config_prefix   /opt/homebridge
npm_config_store_dir    /var/lib/homebridge/node_modules/.pnpm-store
npm_config_update_notifier  false
PATH    /opt/homebridge/bin:/var/lib/homebridge/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID    100
PUID    1028
S6_CMD_WAIT_FOR_SERVICES_MAXTIME    0
S6_OVERLAY_VERSION  3.1.0.1
TZ  Europe/Amsterdam
LABELS  
com.docker.compose.config-hash  0fe37c5231f21aceceb5050adadbfa7385d797d70ffd77607760d0c349095ef3
com.docker.compose.container-number 1
com.docker.compose.oneoff   False
com.docker.compose.project  homebridgedocker
com.docker.compose.project.config_files /volume2/@appstore/HomebridgeDocker/docker-compose.yml
com.docker.compose.project.working_dir  /volume2/@appstore/HomebridgeDocker
com.docker.compose.service  homebridge
com.docker.compose.version  1.28.5
org.opencontainers.image.authors    oznu
org.opencontainers.image.description    Official Homebridge Docker Image
org.opencontainers.image.licenses   GPL-3.0
org.opencontainers.image.title  Homebridge in Docker
org.opencontainers.image.url    https://github.com/oznu/docker-homebridge

Logs

Registering new address record for 169.254.13.94 on eth3.IPv4.
Registering new address record for 169.254.31.123 on eth2.IPv4.
Registering new address record for 169.254.247.127 on eth1.IPv4.
Registering new address record for fe80::211:32ff:fe20:55fb on eth0.*.
Registering new address record for 172.16.0.100 on eth0.IPv4.
Registering new address record for ::1 on lo.*.
Registering new address record for 127.0.0.1 on lo.IPv4.
Server startup complete. Host name is Nagini.local. Local service cookie is 538627041.
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service tzupdate: stopping
s6-rc: info: service credits: stopping
s6-rc: info: service avahi: stopping
Got SIGTERM, quitting.
s6-rc: info: service credits successfully stopped
s6-rc: info: service tzupdate successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Leaving mDNS multicast group on interface eth3.IPv4 with address 169.254.13.94.
Leaving mDNS multicast group on interface eth2.IPv4 with address 169.254.31.123.
Leaving mDNS multicast group on interface eth1.IPv4 with address 169.254.247.127.
Leaving mDNS multicast group on interface eth0.IPv4 with address 172.16.0.100.
Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
avahi-daemon 0.7 exiting.
s6-rc: info: service avahi successfully stopped
s6-rc: info: service dbus: stopping
s6-rc: info: service dbus successfully stopped
s6-rc: info: service setup: stopping
s6-rc: info: service setup successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service tzupdate: starting
s6-rc: info: service setup: starting
s6-rc: info: service credits: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting

    Thank you for using the oznu/homebridge docker image!

  If you find this project useful please STAR it on GitHub:

         https://github.com/oznu/docker-homebridge

                Or donate to the project:

            https://github.com/sponsors/oznu
                  https://paypal.me/oznu

s6-rc: info: service credits successfully started
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service tzupdate successfully started
usermod: no changes
usermod: no changes
s6-rc: info: service setup successfully started
s6-rc: info: service userdata: starting
s6-rc: info: service dbus: starting
Starting dbus-daemon
Executing user startup script /homebridge/startup.sh
/homebridge/startup.sh: 21: apk: not found
s6-rc: warning: unable to start service userdata: command exited 127
s6-rc: info: service dbus successfully started
s6-rc: info: service avahi: starting
s6-rc: info: service avahi successfully started
Starting Avahi daemon
Found user 'avahi' (UID 105) and group 'avahi' (GID 108).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
No service file found in /etc/avahi/services.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface eth3.IPv4 with address 169.254.13.94.
New relevant interface eth3.IPv4 for mDNS.
Joining mDNS multicast group on interface eth2.IPv4 with address 169.254.31.123.
New relevant interface eth2.IPv4 for mDNS.
Joining mDNS multicast group on interface eth1.IPv4 with address 169.254.247.127.
New relevant interface eth1.IPv4 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 172.16.0.100.
New relevant interface eth0.IPv4 for mDNS.
Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
New relevant interface lo.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::7453:56ff:fe35:c35a on docker61e8ebb.*.
Registering new address record for fe80::985c:9dff:fede:8b2f on docker72420ff.*.
Registering new address record for fe80::b84c:35ff:fe3a:18cd on dockerf8f6348.*.
Registering new address record for fe80::e05b:2bff:fe85:56e3 on docker9de665f.*.
Registering new address record for fe80::42:9ff:fe4c:683f on docker0.*.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for 169.254.13.94 on eth3.IPv4.
Registering new address record for 169.254.31.123 on eth2.IPv4.
Registering new address record for 169.254.247.127 on eth1.IPv4.
Registering new address record for fe80::211:32ff:fe20:55fb on eth0.*.
Registering new address record for 172.16.0.100 on eth0.IPv4.
Registering new address record for ::1 on lo.*.
Registering new address record for 127.0.0.1 on lo.IPv4.
Server startup complete. Host name is Nagini.local. Local service cookie is 366427701.

Host Operating System

Synology DSM

Host Architecture

x86_64 / amd64

oznu commented 2 years ago

Same as https://github.com/oznu/docker-homebridge/issues/449

Delete the startup.sh script or remove the apk commands from it then restart the container.

I did push a fix for this a couple hours ago though.

handy80 commented 2 years ago

Thanks, worked!