Installing in to LibreElec (Pi, custom linux) help

I have 6 libreelec boxes. I am on team Kodi and a moderator on the le forum. I don’t have any on a pi.

I was trying this out with various incarnations of the docker command line without a lot of success. I am getting zeroconf errors.

I am not a docker expert. I am not a zeroconf expert. I imagine zeroconf needs to use a set of ports that will already be allocated to Kodi. Just guessing here.

A port can only be in use by ONE service/application, so it’s not about taking input from 2 applications, it’s about listening on a port.

100% likely. I guess turning off zeroconf will render discovery useless.

This is my home assistant log for one run. I think the solution will be to exclude default_config from configuration.yaml and include what is needed as a minimum.

2019-08-16 19:27:11 ERROR (MainThread) [homeassistant.setup] Error during setup of component zeroconf
Traceback (most recent call last):
File “/usr/src/app/homeassistant/setup.py”, line 172, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/zeroconf/init.py”, line 61, in setup
zeroconf = Zeroconf()
File “/usr/local/lib/python3.7/site-packages/zeroconf.py”, line 1807, in init
self._listen_socket = new_socket()
File “/usr/local/lib/python3.7/site-packages/zeroconf.py”, line 1778, in new_socket
s.bind((‘’, port))
OSError: [Errno 98] Address already in use
2019-08-16 19:27:11 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: zeroconf
2019-08-16 19:27:11 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.

In case anyone is following this, these are the ports running on libreelec (without the hass docker running)

MasterBedroom:~  netstat -tanp|grep LISTEN
tcp        0      0 127.0.0.1:36573         0.0.0.0:*               LISTEN      1008/kodi.bin
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      978/smbd
tcp        0      0 127.0.0.1:9090          0.0.0.0:*               LISTEN      1008/kodi.bin
tcp        0      0 127.0.0.1:39301         0.0.0.0:*               LISTEN      1008/kodi.bin
tcp        0      0 0.0.0.0:4713            0.0.0.0:*               LISTEN      270/pulseaudio
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      978/smbd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/systemd
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      1008/kodi.bin
tcp        0      0 127.0.0.1:52307         0.0.0.0:*               LISTEN      1008/kodi.bin
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      337/sshd
tcp        0      0 0.0.0.0:36666           0.0.0.0:*               LISTEN      1008/kodi.bin
tcp        0      0 :::445                  :::*                    LISTEN      978/smbd
tcp        0      0 :::4713                 :::*                    LISTEN      270/pulseaudio
tcp        0      0 :::139                  :::*                    LISTEN      978/smbd
tcp        0      0 :::111                  :::*                    LISTEN      1/systemd
tcp        0      0 :::8080                 :::*                    LISTEN      1008/kodi.bin
tcp        0      0 :::22                   :::*                    LISTEN      337/sshd
tcp        0      0 :::36666                :::*                    LISTEN      1008/kodi.bin

Oh wow, ok geez! Ok thanks man. Well that’s definitely going to be super helpful with my problem.

I can’t for the life of me, recall WHY I need zeroconf for kodi but I’m fairly sure it’s quite important :frowning: (might be using my Kodi Android / iOS remote app?)

https://kodi.wiki/view/Avahi_Zeroconf