TV Meta Data Oddity (Another one)

Server Version#: 1.20.3.3483
Player Version#: 4.45.0

Hi,

Long time Plex User, having a really annoying problem with Metadata, it started a few months ago, but seems to be compiling on.

I’ve tried tons of things as suggested in the forums, and through the site.

  1. Plex Dance
  2. Changing Agents
  3. Manually Fixing Matches
  4. Creating Local MetaData
  5. Creating New Libraries

Basically, it refuses to scrape things properly for TV Shows, it will get the Title + Year, won’t get dates, or set the Poster. I can set it manually (Posters will populate properly).

At the same time, 99% of episodes will be Episode #, and some will randomly / magically have a Episode Name.

I really would prefer not to completely do a reinstall, as I have tons of Media, and just spent a month detecting intros for all my TV Episodes.

Is there something I am doing wrong - Did I fubar somewhere, I’m hoping it’s a dumb mistake.

I have similar issue with Movies, but I’ve been able to manually code a script to parse the database for missing info, and forcing Plex to refresh MetaData for the Movie (which works) – but does not work for TV Shows.

Plex Media Server Logs_2020-10-28_16-10-46.zip (734.0 KB)

This isn’t an exhaustive examination of your logs, but your TVDB agent log does show a permissions problem which likely isn’t helping the situation:

OSError: [Errno 13] Permission denied: '/config/Library/Application Support/Plex Media Server/Media/localhost/0/0f9ddf7660210353eba97e0fddaa8199b1af7b2.bundle/Contents/Subtitle Contributions'

Everything in your Plex data path should be readable and writeable by your Plex user; in the case of directories, they must also be executable. So, 644 for files and 755 for directories.

If this is a Docker installation of Plex, make sure that the user under which it runs has ownership of the Plex data path you’ve mounted.

2 Likes

Thank you for the quick response.

Yes it is a docker container, uid 1000 (user) gid 119 (docker)

I’ve confirmed… looks like out of 3991 files in the 0 directory, looks like a 9 folders somehow had root:root.

I’ve corrected all permissions in the Application Support folder with the umasks/perms you’ve suggested… I’ll try again!

Thank you.

@pshanew – I really appreciate your time looking at it quickly.. Was pulling my hair out.

Such a dumb mistake, not to sure why the container was creating random files (like literally.. one in thousands) with wrong ownership.

After changing all the perms on the following files.. it seems to have worked for the test Library, going to “Refresh All Metadata” on main Library now to test - but she be a beast of a Library so won’t be able to report back for a few days..

1 Like

No problem, glad it worked for you. It’s definitely odd that the permissions got borked that way.

So, I’ve managed to get some of it scanned…

For some reason the scanner is creating files that belong to root:root, this is a docker issue, I’ll need to investigate further.

I’ve logged into the container, and it’s creating proper permissions… but not on local system.

Thanks again for the helped.

Alright, update for anyone who cares.

It ended up being a rogue script I made to force Plex catalog metadata for backup purposes.

For some reason there was a command that was using sudo within the container which forced it to root perms - and it would run in a very off case when it detected an error hence the randomness of when it would change perms.

Awesome, glad you found it. I was curious what Plex might be doing to change ownership, but I could think of nothing.

finally

this was driving me nuts

just on some shows new content would not match
the agent would throw an error that it could not find a match on thetvdb site
so the last I would think of was the filesystem

don’t know why there was a permission issue but I’ve reset the permissions and now it works again

thanks

1 Like

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