I am running Plex on Ubuntu 18.04 LTS on a 6-core Intel Broadwell Xeon 3.6 GHz (4.0 turbo) based system with 64 GBs of ECC RAM and hardware RAID 5 for storage.
Plex version: 1.14.1.5488
I am seeing Plex intermittently fail to record a show or fail somewhere in the middle of recording. However it seems every time I check the tuner (HDHomeRun EXTEND), it always tunes into the channel when done in a more manual fashion or even watching through Plex live. I am wondering why Plex does not retry when a failure occurs and also if something else is going on? I did some digging through the logs and first right before I see failures in the log where it looks to be recording on the same channel the next show before stopping the recording of the previous show even though I don’t tell it to go over and I can’t find a way to tell it to go under:
Jan 15, 2019 16:00:00.930 [0x7f350c7ff700] DEBUG - DVR:Grabber: Starting operation for ‘Eyewitness News 4:00PM - Episode 01-15’ on channel 7.1.
Jan 15, 2019 16:00:00.931 [0x7f350c7ff700] DEBUG - Activity: registered new activity 936bf345-1305-4d01-baad-47e5b0c0933c - Recording
Jan 15, 2019 16:00:00.931 [0x7f350c7ff700] DEBUG - DVR:Grabber: HDHomerun starting a media grab on device device://tv.plex.grabbers.hdhomerun/10583C70 (Silicondust HDHomeRun EXTEND, supported) tuner 0.
Jan 15, 2019 16:00:00.931 [0x7f34dbfff700] DEBUG - Activity: updated activity 519f362e-2906-49bd-ab41-3f2020672096 - completed 100% - Recording
Jan 15, 2019 16:00:00.934 [0x7f350c7ff700] DEBUG - DVR:Subscription: Resolved subscription to library item ‘Eyewitness News 4:00PM’ (39984)
Jan 15, 2019 16:00:01.011 [0x7f350c7ff700] DEBUG - There were 1 top-level paths for Eyewitness News 4:00PM.
Jan 15, 2019 16:00:01.012 [0x7f350c7ff700] DEBUG - DVR:Grabber: Saving recording to “/pub/Videos/Plex/.grab/060bceb7f98975e3fc8ad4db1db6f004307ae296”
Jan 15, 2019 16:00:01.013 [0x7f350c7ff700] DEBUG - HTTP requesting GET http://192.168.1.211:80/lineup.json
Jan 15, 2019 16:00:01.310 [0x7f34d6bff700] DEBUG - EPG[onconnect]: Next thing to start/end is at 2019-01-16 00:20:00 GMT (in 1200 seconds)
Jan 15, 2019 16:00:01.670 [0x7f353bfff700] DEBUG - buildLiveM3U8: min 0 max 876 ended 0
Jan 15, 2019 16:00:01.671 [0x7f353bfff700] DEBUG - buildLiveM3U8: ended due to segment 1796.612044 past end time 2019-01-16 00:00:00.000000000 +0000
Jan 15, 2019 16:00:01.673 [0x7f350d7ff700] DEBUG - Request: [::ffff:127.0.0.1:40320 (Loopback)] GET /livetv/sessions/e1ac7eb1-cf27-440c-b0e6-04e64cfc507d/6ce47a4d-e69a-4b56-851e-4b32b697ab64/00876.ts (13 live) Signed-in
Jan 15, 2019 16:00:01.674 [0x7f350d7ff700] DEBUG - Content-Length of /tmp/plex_transcode/Transcode/Sessions/plex-transcode-e1ac7eb1-cf27-440c-b0e6-04e64cfc507d/media-00876.ts is 1623756.
Jan 15, 2019 16:00:01.677 [0x7f353a7fe700] DEBUG - Completed: [::ffff:127.0.0.1:40320] 200 GET /livetv/sessions/e1ac7eb1-cf27-440c-b0e6-04e64cfc507d/6ce47a4d-e69a-4b56-851e-4b32b697ab64/00876.ts (13 live) 3ms 1623756 bytes (pipelined: 23)
Jan 15, 2019 16:00:01.685 [0x7f353cfff700] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 20429 is 0 (success)
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - DVR:Recorder: No more consumers, stopping.
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - DVR:Recorder: Asked to stop recording ‘ABC World News Tonight With David Muir - E15 - Episode 15’ on channel 7.1.
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - DVR:Recorder: Stopping transcode session.
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - Killing job.
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - Signalling job ID 20424 with 9
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - Job was already killed, not killing again.
Jan 15, 2019 16:00:01.686 [0x7f34c53f8700] DEBUG - Stopping transcode session e1ac7eb1-cf27-440c-b0e6-04e64cfc507d
Jan 15, 2019 16:00:01.686 [0x7f34dd7fb700] DEBUG - Cleaning directory for session e1ac7eb1-cf27-440c-b0e6-04e64cfc507d (/tmp/plex_transcode/Transcode/Sessions/plex-transcode-e1ac7eb1-cf27-440c-b0e6-04e64cfc507d)
Jan 15, 2019 16:00:01.689 [0x7f353cfff700] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 20424 is -9 (signal: Killed)
Jan 15, 2019 16:00:01.705 [0x7f34c53f8700] DEBUG - DVR:Grabber: Freed a tuner (now 2 available)
Jan 15, 2019 16:00:01.705 [0x7f34c53f8700] DEBUG - DVR:Grabber: Recording for ‘ABC World News Tonight With David Muir - E15 - Episode 15’ on channel 7.1 stopped with status complete.
Jan 15, 2019 16:00:01.705 [0x7f34c53f8700] DEBUG - DVR:Grabber: Using recording status.
Jan 15, 2019 16:00:01.705 [0x7f34c53f8700] DEBUG - Activity: updated activity 519f362e-2906-49bd-ab41-3f2020672096 - completed 100% - Recording
Jan 15, 2019 16:00:01.706 [0x7f34c53f8700] DEBUG - [MI] Opening input file: “/pub/Videos/Plex/.grab/24a1bc4b8a16ca5fb3ba93217869365c14679cad/ABC World News Tonight With David Muir (2014) - S2019E15 - Episode 15.ts”
Jan 15, 2019 16:00:01.706 [0x7f34c53f8700] DEBUG - [FFMPEG] - Opening ‘/pub/Videos/Plex/.grab/24a1bc4b8a16ca5fb3ba93217869365c14679cad/ABC World News Tonight With David Muir (2014) - S2019E15 - Episode 15.ts’ for reading
Then 29 seconds into recording a show where I see the failure:
Jan 15, 2019 16:00:29.340 [0x7f34ddffc700] DEBUG - DVR:Device: Discovering and refreshing devices with identifier tv.plex.grabbers.hdhomerun
Jan 15, 2019 16:00:29.341 [0x7f34ddffc700] DEBUG - DVR:Grabber: HDHomerun discovered 0 compatible devices.
Jan 15, 2019 16:00:29.341 [0x7f34ddffc700] DEBUG - DVR:Device: Testing grabber HDHomerun device device://tv.plex.grabbers.hdhomerun/10583C70 at http://192.168.1.211:80
Jan 15, 2019 16:00:29.341 [0x7f34ddffc700] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/10583C70 was already known, refreshing database info
Jan 15, 2019 16:00:34.348 [0x7f34ddffc700] ERROR - DVR:Device: Error refreshing existing device device://tv.plex.grabbers.hdhomerun/10583C70, marking as dead.
Jan 15, 2019 16:00:35.010 [0x7f34c4bf7700] DEBUG - Activity: updated activity 9f94c961-f47f-419b-84bb-a549332b1d1d - completed 32% - Generating video preview thumbnails
Jan 15, 2019 16:00:35.510 [0x7f34d63fe700] DEBUG - Activity: updated activity 9f94c961-f47f-419b-84bb-a549332b1d1d - completed 33% - Generating video preview thumbnails
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] DEBUG - TranscodeSession: timed out waiting to find duration for live session
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] ERROR - Failed to start session.
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] DEBUG - Streaming Resource: Terminated session 0x7f350ac39160:3072d361-9484-469e-93df-99ec1237fadd with reason Recording failed. Please check your tuner or antenna.
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] ERROR - DVR:Recorder: Unable to create transcode session or session failed to start.
Jan 15, 2019 16:00:36.065 [0x7f34cc3ff700] DEBUG - Killing job.
Jan 15, 2019 16:00:36.065 [0x7f34cc3ff700] DEBUG - Signalling job ID 25515 with 9
Jan 15, 2019 16:00:36.065 [0x7f34cc3ff700] DEBUG - Job was already killed, not killing again.
Jan 15, 2019 16:00:36.065 [0x7f34cc3ff700] DEBUG - Stopping transcode session 3072d361-9484-469e-93df-99ec1237fadd
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] DEBUG - Job was already killed, not killing again.
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] ERROR - DVR:Recorder: Error 16 (Recording failed. Please check your tuner or antenna.) starting the record, shutting things down.
Jan 15, 2019 16:00:36.065 [0x7f35137ff700] DEBUG - Cleaning directory for session 3072d361-9484-469e-93df-99ec1237fadd (/tmp/plex_transcode/Transcode/Sessions/plex-transcode-3072d361-9484-469e-93df-99ec1237fadd)
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] DEBUG - MediaRecorderVirtual: setting stop time to 2019-01-15 16:00:36
Jan 15, 2019 16:00:36.065 [0x7f350c7ff700] DEBUG - DVR:Recorder: Asked to stop recording ‘Eyewitness News 4:00PM - Episode 01-15’ on channel 7.1.
Jan 15, 2019 16:00:36.068 [0x7f353cfff700] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 25515 is -9 (signal: Killed)
Jan 15, 2019 16:00:36.068 [0x7f350c7ff700] DEBUG - DVR:Grabber: Freed a tuner (now 2 available)
Jan 15, 2019 16:00:36.068 [0x7f350c7ff700] ERROR - DVR:Recorder: Error 16 (Recording failed. Please check your tuner or antenna.) starting the record, shutting things down.
Jan 15, 2019 16:00:36.068 [0x7f350c7ff700] DEBUG - MediaRecorderVirtual: setting stop time to 2019-01-15 16:00:36
Jan 15, 2019 16:00:36.068 [0x7f350c7ff700] DEBUG - DVR:Recorder: No more consumers, stopping.
Jan 15, 2019 16:00:36.068 [0x7f350c7ff700] DEBUG - DVR:Grabber: Operation for ‘Eyewitness News 4:00PM - Episode 01-15’ on channel 7.1 completed with status error (Recording failed. Please check your tuner or antenna.)
Jan 15, 2019 16:00:36.069 [0x7f350c7ff700] DEBUG - Activity: Ended activity 936bf345-1305-4d01-baad-47e5b0c0933c.
Jan 15, 2019 16:00:36.069 [0x7f350c7ff700] ERROR - DVR:Grabber: Starting media grab failed.