PSA: Docker 17.05.0-0348 on Synology breaks Homebridge

Just an FYI and heads up for anyone (like me) that is running HA and HB via docker, the latest release of DSM (6.1.4-15217) and Docker for DSM (17.05.0-0348) break HB. I tested multiple HB and HA docker containers trying to find a good combination, but it wasn’t until I downgraded my Synology DSM to 6.1.3-15152 Update 8 and installed Docker 1.11.2-0329 from the Package Center that things started working again. The error I was receiving in the log for HB was repeated attempts to setup the avahi service (another name for the Bonjour File Service). My Synology serves up a Time Machine destination using Bonjour and having it enabled broke HB due to the service already running on the host networking service.

I don’t know yet which one breaks HB, but I’ll find out soon as downgrading DSM has presented a separate unique issue and is probably why Synology does not recommend downgrading.

EDIT: For reference, I am using the official HA docker container and the HB docker container released by oznu found here and on GitHub.

1 Like

I re-upgraded to DSM 6.1.4-15217 and kept Docker at 1.11.2-0329 and everything still works. HB can see my HA devices as per my config.json file. I’m not brave enough to upgrade my Docker package yet as I don’t want to break it again. In doing some research it looks like the way containers interact with the host network (command line --net=host) has changed and that’s why it broke.

Synology has since pulled the latest Docker version 17.05.0-0344 and 17.05.0-0348.

Had the same problem. After I reinstalled the docker application (version 1.11.2-0329 after reinstall) everything worked again.