Issue getting metadata for some shows but not others

I’m unable to get meta data for some shows like Brooklyn Nine-Nine. I’ve plex danced, I’ve checked my file naming (Currently: TV/Brooklyn Nine-Nine/Season 6/Brooklyn Nine-Nine - s06e01 - Honeymoon.mkv). I’ve deleted cache data in var/lib/plexmediaserver/library/application support/plex media server/plug in support/caches. I’ve even deleted the whole library and re-added. I’ve matched file, I’ve unmatched file. I’m not getting meta data or posters. No dice. I’m out of ideas now.

Here’s my agent settings:

I’m sure logs are probably required but I’m not sure which logs.

Server Version#: 1.18.7.2438

and that is some fine naming right there too. Casual observation.

You don’t really need to disable LMA, it comes in handy at times, but do leave it at the bottom of the stack of active agents and it won’t misbehave (usually). It has nothing to do with this problem anyway.

Thanks :slight_smile: I just wasn’t sure whether it was the problem or not so I disabled it to make sure, I’ll re-enable it. Any ideas what my issue might be?

No, not a Linus guy, but whatever your issue is - it ain’t that file name…lol

I will add this in an effort to help:
Negotiations with TVDB have been taking - a long time. I get an instant match, then it thinks about it, for what seem like an eternity (some 10s of seconds and longer) before the poster flips and everything is aboard.

Be sure you’re not too quick on the trigger.

… and now that you’ve been playing around with it - remove it, make sure it’s gone, clean the bundles, and put it back. Clean slate.

1 Like

I’ve been pretty patient thus far (or at least I’d like to think I have been) with giving it ample time to fetch information, I don’t think I’m being to quick about it. I just removed it again, scanned, emptied trash, cleaned the bundles, put the show back, scanned. still no luck :frowning:

Yep - just right.

@ChuckPa will know just what it is, I bet.

I have been checking my own here while you’ve been working on it.

-rw-r--r-- 1 chuck chuck   39 Apr 26  2016 Brooklyn Nine-Nine - S01E01 - Pilot.mkv
-rw-r--r-- 1 chuck chuck   44 Apr 26  2016 Brooklyn Nine-Nine - S01E02 - The Tagger.mkv
-rw-r--r-- 1 chuck chuck   43 Apr 26  2016 Brooklyn Nine-Nine - S01E03 - The Slump.mkv
-rw-r--r-- 1 chuck chuck   43 Apr 26  2016 Brooklyn Nine-Nine - S01E04 - M.E. Time.mkv
-rw-r--r-- 1 chuck chuck   45 Apr 26  2016 Brooklyn Nine-Nine - S01E05 - The Vulture.mkv
-rw-r--r-- 1 chuck chuck   43 Apr 26  2016 Brooklyn Nine-Nine - S01E06 - Halloween.mkv
-rw-r--r-- 1 chuck chuck   42 Apr 26  2016 Brooklyn Nine-Nine - S01E07 - 48 Hours.mkv
-rw-r--r-- 1 chuck chuck   44 Apr 26  2016 Brooklyn Nine-Nine - S01E08 - Old School.mkv
-rw-r--r-- 1 chuck chuck   45 Apr 26  2016 Brooklyn Nine-Nine - S01E09 - Sal's Pizza.mkv
-rw-r--r-- 1 chuck chuck   46 Apr 26  2016 Brooklyn Nine-Nine - S01E10 - Thanksgiving.mkv
-rw-r--r-- 1 chuck chuck   43 Apr 26  2016 Brooklyn Nine-Nine - S01E11 - Christmas.mkv
-rw-r--r-- 1 chuck chuck   48 Apr 26  2016 Brooklyn Nine-Nine - S01E12 - Pontiac Bandit.mkv
-rw-r--r-- 1 chuck chuck   41 Apr 26  2016 Brooklyn Nine-Nine - S01E13 - The Bet.mkv
-rw-r--r-- 1 chuck chuck   50 Apr 26  2016 Brooklyn Nine-Nine - S01E14 - The Ebony Falcon.mkv
-rw-r--r-- 1 chuck chuck   59 Apr 26  2016 Brooklyn Nine-Nine - S01E15 - Operation- Broken Feather.mkv
-rw-r--r-- 1 chuck chuck   43 Apr 26  2016 Brooklyn Nine-Nine - S01E16 - The Party.mkv
-rw-r--r-- 1 chuck chuck   44 Apr 26  2016 Brooklyn Nine-Nine - S01E17 - Full Boyle.mkv
-rw-r--r-- 1 chuck chuck   47 Apr 26  2016 Brooklyn Nine-Nine - S01E18 - The Apartment.mkv
-rw-r--r-- 1 chuck chuck   50 Apr 26  2016 Brooklyn Nine-Nine - S01E19 - Tactical Village.mkv
-rw-r--r-- 1 chuck chuck   47 Apr 26  2016 Brooklyn Nine-Nine - S01E20 - Fancy Brudgom.mkv
-rw-r--r-- 1 chuck chuck   44 Apr 26  2016 Brooklyn Nine-Nine - S01E21 - Unsolvable.mkv
-rw-r--r-- 1 chuck chuck   51 Apr 26  2016 Brooklyn Nine-Nine - S01E22 - Charges and Specs.mkv
[chuck@lizum Season 01.519]$ 

and that comes up nicely.

I do have Local Media Assets at the bottom.

Silly question: What are permissions? (we all fubar those from time to time).

I’m not all that familiar with linux but afaik every user/group/other has permission to read/write/create and delete files within my home/Videos/TV folder and all sub-folders inside that

For the directories above it, the permissions should be -rwxr-xr-x
All the files should look like as I have shown.

If yours are not, I will give you the the commands to set it all to right.

I googled the command to show me file permissions and all of my tv files permissions look like this:

Is this mounted on drives under /media in any way or mounted by the automounter (the graphical file manager)?

It doesn’t look like default Linux permissions.

I’m sorry I don’t know enough about linux to understand what you’re asking :sweat_smile:

I remember having permission issues in the past where plex wouldn’t see a file I added to the folder and to fix it I would just change all the permissions to allow all users create/delete privileges… probably not the most secure fix but like I said I don’t really understand enough about what I’m doing yet

Let’s do the easy thing first:

  1. Move the series to an area Plex doesn’t monitor.
  2. Scan files (wait for it to finish)
  3. Empty Trash
  4. Clean Bundles (also let this finish)
  5. Move the series back into position.
  6. Scan files again (if it doesn’t start scanning again after 1 minute.

If it doesn’t start picking it up, wait until all activity has stopped
then Settings - Server - Troubleshooting - Download Logs

Attach that ZIP file here please.

I’ll look.

Still no luck :frowning_face:

Plex Media Server Logs_2020-02-22_09-55-46.zip (1.2 MB)

Thanks for the logs.

I’m seeing several problems.

I must first ask if you changed the plex username to something else
-OR-
you brought any part of this installation from another system.

I ask because I am seeing “Permission Denied” in areas where only PMS writes and maintains data.

Feb 22, 2020 08:15:20.264 [0x7fcd2ffff700] DEBUG - Sync: garbage collecting filesystem
Feb 22, 2020 08:15:20.264 [0x7fcd2ffff700] DEBUG - Sync: deleting directory /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sync+/39418821
Feb 22, 2020 08:15:20.265 [0x7fcd2ffff700] WARN - Sync: error deleting directory /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sync+/39418821 during sync garbage collection (13): boost::filesystem::remove: Permission denied: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sync+/39418821"
Feb 22, 2020 08:15:20.265 [0x7fcd2ffff700] DEBUG - Sync: deleting directory /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sync+/39084444
Feb 22, 2020 08:15:20.265 [0x7fcd2ffff700] WARN - Sync: error deleting directory /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sync+/39084444 during sync garbage collection (13): boost::filesystem::remove: Permission denied: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sync+/39084444/37/831.mp4"
Feb 22, 2020 08:15:20.265 [0x7fcd2ffff700] DEBUG - Sync: garbage collected filesystem
Feb 22, 2020 08:15:20.265 [0x7fcd2ffff700] DEBUG - Sync: finished Sync garbage collection: 1

and

Language=en&includeConcerts=1&includeExtras=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=1&includeChapters=1&includeStations=1&includeExternalMedia=1&asyncAugmentMetadata=1&checkFiles=1 (8 live) TLS GZIP Signed-in Token (tobi-polar)
Feb 22, 2020 08:15:23.035 [0x7fcd2effd700] ERROR - Error creating directory "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/f/6905c1e2857397d030ebf493692d66d99ad7b6c.bundle/Contents": Permission denied
Feb 22, 2020 08:15:23.035 [0x7fcd2effd700] ERROR - Error creating directory "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/f/6905c1e2857397d030ebf493692d66d99ad7b6c.bundle/Contents": Permission denied
Feb 22, 2020 08:15:23.036 [0x7fcd2effd700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Feb 22, 2020 08:15:23.036 [0x7fcd2effd700] DEBUG - Selecting best audio stream for part ID 4906 (autoselect: 1 language: en)
Feb 22, 2020 08:15:23.036 [0x7fcd2effd700] DEBUG - We're going to try to auto-select a s

The second error block is a very definitive fingerprint of having been copied or username changed.

I haven’t changed the plex username afaik BUT I did copy some file (don’t even recall what it was) from a previous machine to this one when transferring all my movies/shows etc in an attempt to not lose all of my settings.

If it’s a permissions error should I do I complete un-install of plex and re-install?

No. Not necessary to reinstall.

If you are using a fully default configuration (important to these steps)

sudo sh
systemctl stop plexmediaserver
chown -R plex:plex /var/lib/plexmediaserver
systemctl start plexmediaserver

This puts user plex as the owner of the metadata directories .
With it owning the directories (Linux is very strict about permissions), PMS can write (save) metadata.

Now you can Refresh All Metadata
Anything missing will populate.

1 Like

THANKYOUUU :pray:

All good now? :smiley:

Did he fall over?

:slight_smile: