New episodes imported from Sonarr are not recognized by Plex

Server Version#: Container, 1.41.3.9314
Player Version#: Mac Desktop 1.105.2.269-12a32491, but also any other player (Android, iOS, Windows, Browser)

Hi! Having a problem similar to this issue raised here, but it’s still not working:

Newly added episodes are not recognized

I’ve increased the table size, I’ve repeatedly tried the Plex Dance, I’ve renamed the folders and files EXACTLY as suggested in the Plex help article - all with no success. I’ve also tried to refresh the metadata and look for duplicate files, and still no success.

And to be specific, it’s random episodes in a TV show season that Plex won’t read (but it’s always the same episode number). It started maybe happening a few month ago. The way I got around it previously was to download another version of the episode file. More recently, I tried getting another release of an episode 3 separate times, and none of them were recognized by Plex.

Any help would greatly be appreciated. Thanks!

Can you recreate the issue and then upload a copy of your server logs?

Sorry for the delay! I’ll have that over to you later tonight. Thanks!

Okay, weird thing - I manually downloaded the file (The Challenge S40E11) outside of Sonarr and straight with an NZB file from an indexer, and it was recognized fine by Plex last night.

For this issue post, I recreated the problem by deleting that file, and then downloading it through Sonarr again, and sure enough, Plex isn’t picking up the file. I’m super confused what might be happening. Anyway, I’ve attached the latest logs that I have. Thanks!

Plex Media Server Logs_2024-12-30_23-04-32.zip (3.5 MB)

Not related to this issue but:
Dec 30, 2024 22:53:25.135 [139699364940600] ERROR - [Req#13901/Transcode] Error creating directory "/transcode": Permission denied

Looking at your logs I only see:
Dec 30, 2024 23:03:06.844 [139699470920504] DEBUG - File '/data/media/tv/The Challenge (1998)/Season 40/The.Challenge.S40E11.1080p.HEVC.x265-MeGusta.mkv' didn't exist, can't skip.

What are the permissions on the file?

I actually deleted this file so I could recreate the issue:
The.Challenge.S40E11.1080p.HEVC.x265-MeGusta.mkv

Permissions should be okay because I’ve provided access at the “media/TV” folder level, right?

Depends on the Sonarr settings.

Lets try capturing a fresh clean set of logs.

While performing the plex dance, make sure nothing else is going on.

After emptying the trash, and cleaning bundles> Stop your server, rename your log folder to logs.old (will keep the data intact if we need to go back to it), start the server, add the file back, and perform a library scan. Wait 5 minutes after the scan finishes, and get the clean server logs and post that here with the exact filename.

Fresh clean set of logs:
Plex Media Server Logs_2024-12-31_14-47-12.zip (113.0 KB)

The exact filename of the file in question is:
The Challenge (1998) - S40E11 - Payback Era [WEBDL-1080p ].mkv

Thanks @dbirch!

What kind of NAS do you have? can you get terminal access on it?

I have a Synology 220+. I’m not super technical, but I think I can, yeah.

Can you check the permissions on that file? I didnt see the file detected in the most recent log files

FYI: FAQ 14: Use SSH to access the Synology command line

Note that Windows 10 & 11 now have SSH. You can invoke it from the c:\ prompt (Putty still works too).

c:\ssh user@ip

user = Synology DSM login id.
IP = the IP address of the NAS.

1 Like

Dear lord, you were right on the money @dbirch! For some reason that file, along with another one that couldn’t be picked up by Plex did not inherit the permissions of the folder like the other files that were in there did.

That leads to me to a potential noobie question - how are the mechanics of that supposed to work with Sonarr? So many episodes that I get imported from Sonarr work fine, but then some random ones just won’t get the proper permissions?

Sonarr has the ability to set file permissions when it moves files, or you can set up a cron job on the NAS as per Plex Linux 1.31.2.6739 constantly scanning - #10 by ChuckPa

1 Like

Ah, understood. I just checked the box setting in Sonarr to do a chmod when files are imported/renamed.

If I wanted to do the latter, that’s just create a user-defined script in Task Scheduler, right? Thanks again for your help!

I would assume so, but I dont have a syno, so not 100%

1 Like

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