[SOLVED] Plex unable to update metadata for some TV Shows

PMS Version#: 1.15.4.993
Player Version#: Any (last tested on Chrome Web browser)
Synology Version: 6.1.7.15284 Rel 3

Hello Community,
I’m facing a weird behavior in Plex since a few weeks ago. This did not start after an upgrade (neither in Plex nor in Synology), it just started out of the blue (but I’ve tried rolling back Plex server to the last version I had and didn’t help).

New episodes of SOME TV shows (not all) started to miss metadata (episode name) and a subgroup of these missed external SRT subtitles.

I’ve tried everything I found in the forum, from Plex Dance, remove caches, move shows out of the media folder, and so on. Nothing helped.

As a desperate final attempt, I created a brand new Library. It solved the issue to those “forgotten” episodes but, in other hand, completely messed up entire OTHER TV Shows.

So I come here and ask for help. To have an easy analysis subject, this is what I’ve done now:

Removed one show from the media directory
Scanned Library Files
Emptied Trash (both in the Library and entire Plex)
Cleaned Bundles
Waited 5 minutes (I’ve read that this may take some time)
Stopped Plex
Cleaned Cache
Cleaned Logs
Moved the TV show back in
Started Plex
Scanned Library Files

The TV show is “Young Sheldon”. None of the episodes was named, and it is missing the SRT subtitle for the episodes 2x16, 2x19 and 2x20.

In time, naming conventions were followed (“Young Sheldon - SnnEnn.mp4” and “Young Sheldon - SnnEnn.por.srt”), and, in TheTVDB agent, “TheTVDB” is the first, LMA is the second and the rest is disabled and all the subtitles are UTF-8.

Debug logs are attached.

Any help will be very welcome.

Thanks a lot.

Logs.zip (166.0 KB)

Thanks a lot for the reply!

Yes, upgrading XPE is in my to do list.

But for the network error, it’s curious that this happens only for a couple of shows, among dozens of others that were updated correctly, and the subtitles not recognized are just a few, among hundreds of episodes that were updated. As I mentioned, I created a brand new library. If it was because of a network issue, none of the episodes from all tv shows would work, right?

Nevertheless, I’ve rebooted the router and switch (everything’s on gigabit cables here) and the issue remains.

Any other idea?

Thanks again!

Well, finally I found the issue.

I found this in the file “PMS Plugin Logs/com.plexapp.agents.localmedia.log”:

2019-05-11 12:11:14,385 (7fa3664fd700) : ERROR (model:205) - Cannot read model from /volume1/Plex/Library/Application Support/Plex Media Server/Metadata/TV Shows/7/a1ea6fbf49b18760ead0b76be695035d5dec0da.bundle/Contents/com.plexapp.agents.localmedia
2019-05-11 12:11:14,386 (7fa3664fd700) : DEBUG (networking:166) - Requesting ‘http://127.0.0.1:32400/library/metadata/16239/tree
2019-05-11 12:11:14,393 (7fa3664fd700) : CRITICAL (agentkit:1063) - Exception when constructing media object for dbid 16239 (most recent call last):

Then I noticed that the permissions on some files there were different from the rest (more restrictive). I fixed the permissions for the entire /Library, refreshed all metadata and everything was back to normal.

For the sake of safety, I’ve scheduled a task (cron) to do this once a week.

So, here is the tip for anyone who face such issue.

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