Live TV & DVR Error With XTEVE - tuners aren't clearing

Server Version#: 1.21.2.3943

Hi,

I have an Ubuntu PMS box that has Live TV & DVR with Xteve. I’ve been having this error where once a day the Live TV session will end and if I try to start a new live tv session, it says “Playback Error - Could not tune channel”.

On the Live Tv & DVR settings, it still thinks it’s recording the live tv sessions. They are stuck and every time I try to watch a new channel, it adds another tuner, even though it never actually plays. The only fix is to reboot the plex server completely.

Nothing shows in the Plex logs regarding the error. If I reboot xteve, it doesn’t resolve the issue and the tuners stay connected.

Is there any fix for this that doesn’t require me to reboot the pms?


I’m seeing this with a HDHomeRun extend tuner also. Restarting the HDHomeRun doesn’t clear the issue, but restarting the PMS does fix the issue. PMS is running on Ubuntu 16.04. I record several shows every day (10-20) and after a day or two, this error starts showing up for many of the recordings. If PMS isn’t rebooted and the error goes for several days, almost no shows will end up being recorded at all. Something’s getting stuck somewhere with regards to streaming the data from the tuner into PMS.

I can attach the logs on my most recent crash. I had just reinstalled a fresh install of Plex and after 48 hours, it crashed PMS causing me to restart the service.

Seeing this in the PMS logs right before the crash:

Shutting down idle session 1qr706sdhufdw0a3kcdxcnbd (idle time is 180 seconds)
Feb 04, 2021 20:09:41.299 [0x7fb85d7fa700] DEBUG - Killing job.
Feb 04, 2021 20:09:41.299 [0x7fb85d7fa700] DEBUG - Signalling job ID 715087 with 9
Feb 04, 2021 20:09:41.299 [0x7fb85d7fa700] DEBUG - Job was already killed, not killing again.
Feb 04, 2021 20:09:41.299 [0x7fb85d7fa700] DEBUG - Stopping transcode session 1qr706sdhufdw0a3kcdxcnbd
Feb 04, 2021 20:09:41.299 [0x7fb7f6ffd700] DEBUG - Cleaning directory for session 1qr706sdhufdw0a3kcdxcnbd (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-1qr706sdhufdw0a3kcdxcnbd-9a6952e3-75ec-4952-a1cb-ed1546cd6904)
Feb 04, 2021 20:09:41.301 [0x7fb88d15c700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 715087 is -9 (signal: Killed)
Feb 04, 2021 20:09:41.301 [0x7fb8157fa700] DEBUG - Notifying consumer that data is complete.
Feb 04, 2021 20:09:41.301 [0x7fb7f5ffb700] DEBUG - [TranscodeOutputStream] Input processing thread exited after writing 3590331121 bytes, m_closed=0, m_endOfFileReached=1, session->isStopped()=1
Feb 04, 2021 20:09:41.303 [0x7fb85d7fa700] DEBUG - Transcoder: Cleaning old transcode directories.
Feb 04, 2021 20:09:41.303 [0x7fb85d7fa700] DEBUG - Transcoder: Cleaning old transcode directory: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-1qr706sdhufdw0a3kcdxcnbd-9a6952e3-75ec-4952-a1cb-ed1546cd6904"
Feb 04, 2021 20:09:41.399 [0x7fb886197700] DEBUG - [TranscodeOutputStream] Reached end of file
Feb 04, 2021 20:09:41.399 [0x7fb886197700] DEBUG - Removed transcode data consumer, active count 1 => 0
Feb 04, 2021 20:09:41.434 [0x7fb85d7fa700] DEBUG - Whacked session 1qr706sdhufdw0a3kcdxcnbd, 0 remaining.
Feb 04, 2021 20:09:41.434 [0x7fb85d7fa700] DEBUG - Killed 1 idle sessions out of a total of 1.
20:09:50.070 [0x7fb88d15c700] DEBUG - Shutting down with signal 15 (Terminated)
Feb 04, 2021 20:09:50.070 [0x7fb88d15c700] DEBUG - Ordered to stop server.
Feb 04, 2021 20:09:50.073 [0x7fb88d15c700] WARN - Timed out waiting for server to finish.
Feb 04, 2021 20:09:50.073 [0x7fb88e6d2100] DEBUG - Stopping server...
Feb 04, 2021 20:09:50.073 [0x7fb88e6d2100] DEBUG - HttpServer: Stopping server.
Feb 04, 2021 20:09:50.074 [0x7fb83d7fa700] DEBUG - TranscodeJobManager: [Running] onServerShutdown
Feb 04, 2021 20:09:50.074 [0x7fb83d7fa700] DEBUG - TranscodeJobManager: [Running] -> [Shutdown]
Feb 04, 2021 20:09:50.074 [0x7fb83d7fa700] DEBUG - MetadataItemClusterRequestHandler: a shutdown event has been received
Feb 04, 2021 20:09:50.081 [0x7fb88e6d2100] DEBUG - Server stopped.
Feb 04, 2021 20:09:50.081 [0x7fb88e6d2100] DEBUG - NetworkService: Stopping advertisement.
Feb 04, 2021 20:09:50.081 [0x7fb83e7fc700] ERROR - Network Service: Error in advertiser handle read: 125 (Operation canceled) socket=91
Feb 04, 2021 20:09:50.081 [0x7fb88e6d2100] DEBUG - Killing plug-ins.
Feb 04, 2021 20:09:50.091 [0x7fb88e6d2100] DEBUG - [com.plexapp.system] Killing.
Feb 04, 2021 20:09:50.093 [0x7fb88e6d2100] DEBUG - ChildProcessMonitor: Waiting for Plex Tuner Service to exit.
Feb 04, 2021 20:09:50.097 [0x7fb88d15c700] WARN - JobManager: Could not find job for handle 2240

Any help would be appreciated!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.