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 240 forks source link

DSM_HOSTNAME does not get passed anymore #499

Closed GravityRZ closed 1 year ago

GravityRZ commented 1 year ago

Describe The Bug

Running DSM 7.1.1 with latest docker homebridge version 1.6.0 package version 1.0.33

after i upgraded to DSM7 and installed the lateest homebridge version i noticed that DSM_HOSTNAME does not get passed anymore after the container has started the name is still homebridge. this results in an error hostname: No address associated with hostname everything is working like it should exept for the hostname error

when i login to the container and type env the result for DSM_HOSTNAME=DISKSTATION. so it is active inside the container but it is not translated back to the hostname

looks like an old problem https://github.com/oznu/docker-homebridge/issues/365

ENABLE_AVAHI is set to 0 i also tried 1 but this does not fix the problem

Docker Config

DSM_HOSTNAME=DISKSTATION

Logs

[3/31/2023, 7:23:01 PM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge) is running on port 51826.
[3/31/2023, 7:23:01 PM] [eDomoticz] Successfully connected to MQTT broker.
hostname: No address associated with hostname
[3/31/2023, 7:33:01 PM] [eDomoticz] synchronizeAccessories in progress...
[3/31/2023, 7:43:01 PM] [eDomoticz] synchronizeAccessories in progress...

Host Operating System

Synology DSM 7

Host Architecture

x86_64 / amd64

github-actions[bot] commented 1 year 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.