For some reason Plex removes episodes of The Grand Tour as soon as I watch them. The show is set to keep all episodes, but somehow, as soon as I add them back, they immediately disappear again.
The Alerts section simply states:
6:39pm Deleted an item
For now it only seems to happen for this show.
I’ve even disabled to Allow file deletion option, but Plex doesn’t care. It simply removes the episode as soon as I’ve copied it back from my backup. If the episode has been watched, Plex is determined to keep it gone. This also means I can never ever watch an episode again, even if put it back, it is just immediately removed. I’ve got time to start the episode, but it just cuts out after a minute cause it’s removed.
How in the world do I keep Plex from doing this? I’ve got a cleanup script for this that works only at night!
I assume that at one time you may have enabled the “delete after watching” option. Most people don’t know that this option exists in two places. The first is in the DVR settings as you probably well know, and have checked several times over.
The second area to check is at the show level itself. Click the icon in the lower left of the show poster and then click the Advanced tab. The very first option should be the Keep settings. Make sure everything looks good there as well.
If both places show the correct settings, you may have a larger issue.
@dizzyweb you might have enabled option to delete episode after watching by mistake
go into your PMS where your TV shows are, press >EDIT on a TV show>ADVANCED and you have there > Delete episodes after watching [set to NEVER], if still have that problem then is from somewhere else
I do not use the DVR feature, no Plex Pass so I can’t change any settings there. That is the place I don’t know about. And the show’s advanced options (the one I did know about) are set to NEVER delete episodes.
I’ve just checked for the… well, a lot of times. It’s set to keep all and never delete.
Changed the permissions on the directories both my libraries are stored in, so Plex won’t have write access anymore. Unfortunately that makes SubZero useless too. So I’d really love a better solution.
The files vanish no matter what. Even if I copy them as root, or copy them and immediately remove everything but read permissions. Hell, the file vanishes while copying.
I did that. As soon as I mark the replaced episode as watched, it’s deleted.
I’m certain it is Plex though, but I have to review my permissions more thoroughly, the plex user shouldn’t even be able to delete stuff.
Edit:
Weirdest thing is, I started just about fresh with Plex last weekend because of connectivity issues. Deleted all application data and started fresh, as per the wiki. All I did since then is re-add all libraries and let it scan and add a few channels (trakt, for one, for my watched states). Oh, and I set Plex to update the database as soon as changes are detected and do a partial scan. That was pretty much it. Haven’t touched anything else.
I did a bit more testing… the user Plex is running on doesn’t even have permission to delete the file. If I change to that user, I cannot delete the file. Yet Plex seems to manage it (and yes, it is definitely running as user plex).
I’m using Sonarr to handle my filenames and Plex picks up everything just fine. It’s all running on a headless linux server, so a Windows app won’t help me much, I’m afraid. And starting with an all clean database is what got me into this mess in the first place, so I’m afraid I’ve “been there, done that”.
I’ve now stopped everything else that does anything with those files (Sonarr, Radarr, PlexCleaner script, even transmission) and so far… the episode remains. I’m going to start service after service, checking for a couple of minutes after starting if it’s still there. See if I can pin down what’s doing this.
…I think I might have found it… and I’m kicking myself.
My PlexCleaner cronjob was setup as “* */1 * * *”, so basically, every minute after every hour. That should have been “0 */1 * * *”, which would mean at minute 0 of every hour.
@dizzyweb said:
I’ve just checked for the… well, a lot of times. It’s set to keep all and never delete.
Have you tried setting Grand Tour to all unwatched to be safe > toggling to delete after a week ( they shouldn’t because all unwatched) > saving settings> then toggling back keep all and to never delete for that show> mark one as watched and see if it works
Thanks for the suggestion and yes, I actually tried exactly that. I figured maybe some setting was still somewhere in the database and maybe setting and resetting that might fix it. It did not.
But I have already found the issue, it was the cleaner script I’m using that was set to run every minute. I can’t for the life of me fire out why it hasn’t ben an issue before, though.
Hopefully developers might give the option to set a time for deleting… I’d like to set maybe a day for soaps, a week for other stuff, a month for some things and 3 months for movies… currently there are only 3 selectable options.