Libreelec networking freezing

  • Hi all and thank you in advance for supporting, or just reading this topic.

    I've realized a small media center with a Raspberry PI4 in order to gain Kodi access to my Emby library that is located to external NAS.

    Libreelec is JEOS for Kodi, but due to the possibilty of PI4 hardware, I installed both docker add-on, in order to get Netdata dashboard and Transmission.

    In a nutshell:

    - PI4 has a static IP in my network x.x.x.253, and it's connected using Wifi interface;

    - Kodi has installed Emby plugin in order to get access to my libraries in NAS;

    - Libreelec has installed docker add-ons in order to get Netdata and Transmission;

    - Transmission's directories are in a separate drive /dev/sda1 mounted using autostart.sh;

    - Kodi has been customized in aspect using Aeon UI;

    - I have access to PI4 through ssh (changed both user and pass) and for accessing to transmission download folder, I've configured samba.conf.

    After completing the setup, it was great! My libraries contain both h264 and h265 videos, and all of the were streamed (original quality) through emby plug in.

    Netdata was usefull for monitoring cpu workload! And transmission did it job greatly.

    But..now.. something is happening and i don'f understand what.

    Sporadically the PI4 becomes inaccessible. No ssh access, no more samba sharing. No more netdata dashboard (webui), no more transmission webui.

    But, the OS is operative. If i take the controller and i try to navigate trough UI on my TV, this is possible.

    This lead me to think that is something related to network access.
    If i try to reproduce something in my NAS libraries, through Emby.. I get a OS crash.

    If i try to disconnect the system from WiFi and then reconnect, sometimes i get a crash, sometimes i get that all comes back working.

    Now, i could get here logs file, cli output and whatever it's possible to understand what it is happaning.

    Any ideas? Any ideas over which log i could le you see?

    This night i got an error. Through netdata i know when transmission stopped to share (attached an image). Time: 5:40.

    Kodi log, in this range of time reports:

    2020-04-22 04:15:51.232 T:2637542256 NOTICE: script.tv.show.next.aired: ### starting data update

    2020-04-22 04:15:51.239 T:2637542256 NOTICE: script.tv.show.next.aired: ### grabbing a new country mapping list

    2020-04-22 04:15:51.968 T:2637542256 ERROR: script.tv.show.next.aired: ### ERROR retreiving updates from thetvdb.com: File is not a zip file

    2020-04-22 04:15:52.303 T:2637542256 NOTICE: script.tv.show.next.aired: ### data update finished

    2020-04-22 05:15:54.768 T:2637542256 NOTICE: script.tv.show.next.aired: ### starting data update

    2020-04-22 05:15:54.768 T:2637542256 NOTICE: script.tv.show.next.aired: ### grabbing a new country mapping list

    2020-04-22 05:15:55.472 T:2637542256 ERROR: script.tv.show.next.aired: ### ERROR retreiving updates from thetvdb.com: File is not a zip file

    2020-04-22 05:15:55.796 T:2637542256 NOTICE: script.tv.show.next.aired: ### data update finished

    2020-04-22 05:56:18.960 T:2412770160 NOTICE: Emby.emby.core.ws_client -> ERROR:: argument of type 'int' is not iterable

    2020-04-22 05:56:24.041 T:2831053680 NOTICE: EMBY.entrypoint.service -> [ onNotification/http://plugin.video.emby/WebSocketRestarting ]

    2020-04-22 05:56:27.026 T:2412770160 NOTICE: Emby.emby.core.ws_client -> ERROR:: [Errno 113] No route to host

    2020-04-22 05:57:07.547 T:2831053680 NOTICE: Previous line repeats 6 times.

    Thank you for any suggestion.

  • Sporadically the PI4 becomes inaccessible. No ssh access, no more samba sharing.

    You may have simply an unstable wifi connection. For whatever reason, the connection is halted.

    Have you checked perhaps the lease time of the DHCP pool in your router?

    Perhaps you can double check with a cabled UTP connected and see if the same error occurs?


    We do prefer full log files from Kodi, not a simple snippet.

    Provide logs via pastebin websites.

  • As you suggested, i've check my dhcp configuration.

    • PI static ip is correctly assigned with libreelec UI
    • In my router, it was set a lease time of 24h.

    So, I've set up a static ip on the router to the mac address of PI4 (but, however, the range of dhcp was out of the static one set in the Pi4).

    Releted to log, here is the link for the 01_Kodi.log, from /storage/logfiles -> log-2020-04-22-06.35.27.zip

    Dropbox - 01_KODI.log - Simplify your life

    rh