Project

General

Profile

Tvheadend continously restarts after Kodi connect

Added by Christoph Patscheider 4 months ago

Hello,

I hope someone can help me with this problem or point me in another direction, because i am stuck.
I am running:

Version: 4.2.8-36~g5bdcfd8ac
In Docker: linuxserver/tvheadend:release-4.2
On a Raspberry Pi 4 with up-to-date Raspberry Pi OS
Input: Triax TSS 400 SAT-IP 

On top of that I have pacemaker start the docker image on one of my pis in the cluster, but that should really not make a difference.

I have a tvheadend configuration folder that i pass into my docker container. This configuration runs just fine on my amd64 server and can do everything.

Now when I bring up the docker container on the pi, everything looks good. I can access the webgui. Stream channels from the webgui link via VLC.
But as soon as i try to connect with any of my Kodi devices (all Kodi version 19) tvheadend restarts inside the docker.
I tried to get more details adding logging so my parameters currently look like:

--satip_xml http://192.168.1.150/rootDescr -l /var/log/tvheadend.log --trace CRASH,main,tcp,http,htsp,htsp-sub,htsp-req,htsp-ans,tbl,TS,subscription,satip,iptv,iptv-sub,iptv-pcr,linuxdvb,xmltv

However i still do not see anything in the log, only that it restarted:

2021-04-12 21:41:34.127 [   INFO]:htsp: Got connection from 192.168.1.154
2021-04-12 21:41:34.129 [  TRACE]:htsp: 192.168.1.154 - method hello
2021-04-12 21:41:34.130 [   INFO]:htsp: 192.168.1.154: Welcomed client software: Kodi Media Center (HTSPv34)
2021-04-12 21:41:34.134 [   INFO]:htsp: 192.168.1.154 [ Kodi Media Center ]: Identified as user 'tvuser'
2021-04-12 21:41:34.135 [   INFO]:htsp: 192.168.1.154 [ tvuser | Kodi Media Center ]: Privileges updated
2021-04-12 21:41:34.135 [  TRACE]:htsp: 192.168.1.154 [ tvuser | Kodi Media Center ] - method authenticate
2021-04-12 21:41:34.137 [  TRACE]:htsp: 192.168.1.154 [ tvuser | Kodi Media Center ] - method getProfiles
2021-04-12 21:41:34.139 [  TRACE]:htsp: 192.168.1.154 [ tvuser | Kodi Media Center ] - method enableAsyncMetadata
2021-04-12 21:41:35.542 [   INFO]:main: Log started
2021-04-12 21:41:35.545 [   INFO]:http: Starting HTTP server 0.0.0.0:9981
2021-04-12 21:41:35.545 [   INFO]:htsp: Starting HTSP server 0.0.0.0:9982

Does anyone have an idea what could cause the issue? Or what further trace subsystems could i enable that help get more details?
In case there is any information missing i'd be glad to provide it.

Thanks for looking at,
Christoph


Replies (2)

RE: Tvheadend continously restarts after Kodi connect - Added by Flole Systems 4 months ago

Instead of trying to find the cause in some old 4.2 version and then backporting the fix for that from 4.3 it is probably easier to just update to 4.3.

RE: Tvheadend continously restarts after Kodi connect - Added by Christoph Patscheider 4 months ago

Well look at that...
It was kinda late yesterday and one of my tries the next days would have been to try with a fresh setup and/or change the version.
I changed to linuxserver/tvheadend:latest and voila it works. Thank very much for putting me on that right track.
I am now running 4.3-1950~g98a7c6cfd

Though i am a bit confused regarding the releases. In the roadmap on this page, 4.3 is not even listed. Thats why i assumed 4.2 was the latest official and 4.3 is some nightly build.
Do you know about the release system?

    (1-2/2)