Recording not finishing, no resulting file

I came back with more information this time to see if this problem can be resolved.
I am running a Proxmox Server with a Ryzen 2700, on a ASRockRack X470D4u, with 64GB ECC ram. My Containers and VM’s run of a Samasung Datacenter SSD zfs mirrored drive and recordings are placed on a 2TB WD Purple HDD drive.

Here are the logs from shortly before the ending of a 9:30am recording of ‘Lauren Lake’s Paternity Court’ that shows as completed but with no file created on the drive or populating in Plex to watch, and the start of another episode right after that of the same show that ran from 9:30am to 10:00am plus some extra time to allow for transcode to complete. The second episode of ‘Lauren Lake’s Paternity Court’ also shows as completed without error in Plex console GUI but with no file to watch.
Plex DVR Debug HSHS.txt (6.4 MB)

I will also attach the full logs as well.
Plex Media Server Logs_2022-08-12_11-20-05.zip (6.1 MB)

This is not the only show that does this. It appears randomly. I had uninstalled plex, remade the Deb 11 container on my server, reinstalled the DVR, re did all the recordings manually etc. Things I have tried from my documentation. I’m sure there are more.

I appreciate your time.

I moved this from the Sports team topic. I’m not an expert with DVR stuff but will get someone to take a look and see if we already have a bug report for this.

1 Like

That would be great. Its very weird. Plex says it has recorded, it even does the post processing of the video capture (as I see the cpu usage jump up a few minutes)… but the file never appears and plex is showing me no errors or giving me any feedback of what happened.

Normally it will say storage full, or tuner failed… I have zero feedback to work with.

Ill comb through the logs myself to see if I see anything out of the ordinary, but I didnt write it nor am I a guru… I can just look for inconsistencies from a working sample.

I have started looking at the logs
For the first recording that was at 09:00 am on 12th August - we did save the file in this path after all the post processing and commercial skipper running

/dvr/DVR recordings/Lauren Lake's Paternity Court (2013)/Season 07/Lauren Lake's Paternity Court (2013) - S07E78 - McElroy vs. Zeighami.ts

Can you see the file is there ? Was Season 7 Episode 78 already in the library before the recording ?

I will have a look at the log entries for the 2nd recording tomorrow

1 Like

OK managed to find some more time today to look further in the logs for this recording and the later recordings.

We deleted the recordings because of the watched status deletion policy

These were the deletions

Aug 12, 2022 09:32:23.001 [0x7f2506e9ab38] DEBUG - [Grabber/18853c2ad25dbfe12880746a79a1372d93637975] Garbage Collector: Deleting expired watched content for Lauren Lake's Paternity Court (policy: 1)
Aug 12, 2022 09:32:23.004 [0x7f2506e9ab38] DEBUG - [Grabber/18853c2ad25dbfe12880746a79a1372d93637975] Garbage Collector: Deleting episode 78 - McElroy vs. Zeighami (watched: 2022-02-21 22:04:31)
Aug 12, 2022 09:32:28.086 [0x7f2506472b38] DEBUG - Deleting directory [Lauren Lake's Paternity Court (2013)/Season 07] (2035)

and

Aug 12, 2022 10:02:20.537 [0x7f2506b79b38] DEBUG - [Grabber/53f17ac781fe0ebe7ad49d73b6d5c38362e223c6] Garbage Collector: Deleting expired watched content for Lauren Lake's Paternity Court (policy: 1)
Aug 12, 2022 10:02:20.540 [0x7f2506b79b38] DEBUG - [Grabber/53f17ac781fe0ebe7ad49d73b6d5c38362e223c6] Garbage Collector: Deleting episode 70 - Quarles vs. Forester (watched: 2022-08-11 09:34:32)
Aug 12, 2022 10:02:20.627 [0x7f2506b79b38] DEBUG - [Grabber/53f17ac781fe0ebe7ad49d73b6d5c38362e223c6] Garbage Collector: Deleting episode 80 - Miller vs. Brewer (watched: 2022-02-21 22:34:56)

and

Aug 12, 2022 10:31:26.993 [0x7f2506790b38] DEBUG - [Grabber/2d99411268168c62952eeddd89e4a742d16b92df] Garbage Collector: Deleting expired watched content for Relative Justice (policy: 1)
Aug 12, 2022 11:01:28.837 [0x7f2506126b38] DEBUG - [Grabber/e0be72fa247ea67ab408cac6f0d436130a5e327e] Garbage Collector: Deleting expired watched content for Relative Justice (policy: 1)
Aug 12, 2022 11:01:28.840 [0x7f2506126b38] DEBUG - [Grabber/e0be72fa247ea67ab408cac6f0d436130a5e327e] Garbage Collector: Deleting episode 8 -  (watched: 2022-08-11 10:54:17)

Have you watched this season / these episodes before?

What is your deletion policy?

The watched status information for episode 78 shows as have been watched before in February

episode 78 - McElroy vs. Zeighami (watched: 2022-02-21 22:04:31)

1 Like

Currently I have it set to delete after 24hrs.

I have just set it to keep indefinitely to see if this solves the issue of immediate deletion with no GUI explination.

I had someone from the community point out the same issue from the logs.

Some of the episodes I may have watched recently, but some of the episodes I had watched like you saw back in February.

It seems plex keeps a long running log of what I had watched in the past and deletes based on that not the date and time of the “current” recording.

I would have thought the “delete after 24 hrs” was for the current recording time and date because I have “record new and repeat episodes” selected as well for those shows recordings which I would think would mean keep those shows.

I know we may have seen that episode in the past, but these shows have soooooo many episodes we sometimes see one from the past that was “good” it just gives us something to keep on to half watch while doing other things etc. Wife also uses judge judy to fall asleep to.

I can manually delete the episodes, but the description of those two features seems counter intuitive to what I would like to have happen with my system.

I do see how this would help some people keep their recordings from being cluttered with thing they have seen in the past, but for me the removal is a nuisance and requiring manual deletion would be inconvenient.

Maybe a option would be to have a setting to NOT keep a running record of what was recorded and ONLY use what is currently in the library as a guide for what to delete?

Im still not sure this will fix the issue, so I will post later today or tonight.

I am following this up - at the moment I think only deletion policy of never for watched would help

1 Like

I am the server admin, and these shows are being deleted before I watch them. The tag in the logs says I watched them back in February so plex is deleting them as soon as they are processed.

Aug 12, 2022 10:02:20.627 [0x7f2506b79b38] DEBUG - [Grabber/53f17ac781fe0ebe7ad49d73b6d5c38362e223c6] Garbage Collector: Deleting episode 80 - Miller vs. Brewer (watched: 2022-02-21 22:34:56)

IE Aug 12, 2022 10:02:20.627 was when it was recorded and processed to be added to the library.

Yet it was deleted because I had watched it (watched: 2022-02-21 22:34:56).

I would have thought the logic of having the Recording settings of settings of “Airings” -“New and Repeat Airings” and then under advanced I have “Keep”- “All Episodes” then under “Delete Episodes After Playing”- “After a Day” would mean the new recording would be kept for one day after that date time recording instance. I realize I had watched it in Feb, but I like to have a selection of episodes to watch and they change. Just because I had seen it in the past doesn’t mean I don’t like to have it for background noise.

I realize this would be a nice feature for plex to have such a long memory for others who remember what they had watched, but for me I don’t mind I had seen it in the past. I wouldn’t have selected “New and Repeat Airings” for recordings If I didn’t want episodes I had seen in the past. I guess that was what confused me.

I liked the auto delete feature, but if that’s what triggering the immediate deletion as soon as the recording is finished I will have to manually delete the episodes I guess.

This is fine, I was just at a loss because the logic seems weird in my head and not only to me.

There were no files present after the transcode was completed. I checked the folders via CLI in the Container, and Via Windows because I have Samba share set up.

I had had the file I guess in the past in February.

So Plex does keep a long standing record of what you have watched not based strictly on what is in your library.

So, with the “Advanced” Feature of “Delete Episodes After Playing” set to “After a day” if I record an episode that I have watched even a few months ago, Once it is finished recording and processing it will delete the show’s file right away. Seems the “Fix” for this is to not use the “Delete Episodes After Playing” and set it to default of “Never” and then manually delete each show as needed to clear up space on the DVR drive.

I don’t see this as much of a “Fix”, but probably a lot of people are happy with this feature so they don’t catch episodes they have watched before and deleted at some point.

Does anyone know where the file is located that keeps track of what has been watched? I may want to run a script via cron on my server to delete that file and that would be a real “Fix” for me.

Your server knows everything you have ever watched on it, even if you delete something it still knows you watched a particular movies ID. If you add Batman, watch it, delete it, then add it again ( even if different file but same movie) it will still know Batman was watched

1 Like

Is there a file location and name I can delete to clear said data via a script?

No - the information is in the database

I have referred this to the server team requesting that any watched times prior to the time of end of recording should be ignored when actioning the Watched Deletion Policy

1 Like

That would be fantastic. I think that would follow the logic of what I had selected in the settings for my DVR recording for OTA TV shows.
“Airings” -“New and Repeat Airings”
“Keep”- “All Episodes”
“Delete Episodes After Playing”- “After a Day”

Thank you so much for you and your teams assistance with this issue. I will attempt to keep up on the changelogs to see if this issue makes it into production or the Beta testing branch.

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