Plex doesn't recognize some movies / TV shows on a fresh install

Hi fellas,

So, I’ve just installed PLEX on a new VM running Ubuntu Server 16.04. I’ve done this several times and it’s the first time Plex gives me some horsesh*t.

Here are a little informations about my problem :

How my files are organized

How my files are named

Now, the problem I have is that 1) PLEX doesn’t display all my movies :


(I have 512 movies, not 487)


(Specifically, when I search for 300 : can’t see it)

  1. PLEX doesn’t display some TV shows’ seasons & pictures :


(Some images missin’)


(Missing season 1 when you can see on the previous screenshots that it is on the disk, and it is named as the other ones)

Now, I’ve tried pretty much everything : delete the library then recreate it so it can run through the files again, dissociate and re-associate, refresh metadatas… Nothing seems to work.

I’ll put the logs right after I do a disk scan attached to this message.

Thanks in advance for your help!

PS : I have to add, so you guys have all the infos you need, that all these movies / TV shows came from a previous PLEX installation where they were working and recognized just fine. I used Sonarr and Radarr to rename and organize them.

Look at the permissions you show. PMS can’t see the main movie file. They are owned by root, group root. You have not given permission for plex to read it

Hey Chuck,

I hear that, but then : how come PLEX can see 400+ of them movies ? They are all owned by root…

I’ll try to change owner to plex when I get home tonight but I don’t really think that’s it, cause PLEX would not be able to see any movie otherwise.

Look at the permission flags. Owner means nothing. Group means nothing. Permission bit flags mean everything.

root:root means the 640 permissions decode as:

  1. User root gets RW
  2. Group root gets Read-only
  3. Everyone else gets nothing

As additional information,

Because Plex has DVR capability and will record media that you’ll ultimate want to manage / move around, you want ownership of the files but you still want to give Plex permission to write into those directories.

Here’s how to do it… You use inheritance (officially known as setuid and setgid flags)

Well, sir, you were right! Thanks a lot, PLEX now displays all my movies and TV shows correctly.

Last problem before I can get this beast going is the damn posters. They’re still not coming for my TV shows. I tried to add one movie though and it worked like a charm : PLEX got dem posters, dem descriptions and dem subtitles right.

How could I fix this? Clearing the TV shows cache or something? If so, how?

Thanks in advance!

Got the same problem with the poster and a quick search showed we are not the only one.

Probably a bug that will be fixed next release :slight_smile:

No… It’s the TVDB still. Switch the Agent to TMDB and presto; magic happens as the fingers never leave the hands :smiley:

Did a little check, he is right. TMDB is the movie Database, probably at the bottom.

Thanks

Cheers

@ChuckPA said:
No… It’s the TVDB still. Switch the Agent to TMDB and presto; magic happens as the fingers never leave the hands :smiley:

I’m going to sound stupid but… How would I do that? :weary:

That’s not as PEBKAC as it sounds :dizzy:

Edit each library section. → Advanced tab → scroll down and change the agent.

EDIT : You got me! You were quicker than me! :smiley:

Alright @ChuckPA nevermind, found how : edit library settings, choose TMDB instead of TVDB. Still no luck though :


Refreshing metadatas…


MEH.

Isn’t it some kind of cache PLEX is using? Cause I’m thinking, since I imported all these TV shows from a previous PLEX installation, where they all had posters, it may have done something bad during the process. Maybe if I could find the path where those posters are stored on Ubuntu and erase them, then refresh the metadatas…

If you brought over the entire previous instance using a tar image, they should still be there.
To track down where they actually exist in the bundles is a PITA because you must query 4 different tables in the DB manually in order to find the information you need to construct the actual file pathname. NOT pretty :frowning:

Dance the series because TMDB will engage as it matches again for the first time

I didn’t do it there, but in Server settings under Setting (up right)>Server>Agents>shows redone the order and it worked perfectly fine

@ChuckPA said:
If you brought over the entire previous instance using a tar image, they should still be there.
To track down where they actually exist in the bundles is a PITA because you must query 4 different tables in the DB manually in order to find the information you need to construct the actual file pathname. NOT pretty :frowning:

Dance the series because TMDB will engage as it matches again for the first time

I brought the entire previous instance using rsync -r -v --progress -e ssh user@previousPLEX:/home/plex /home/plex/

I understand it would be a hassle, but I do not understand the whole “Dance the series because TMDB will engage as it matches again for the first time” sentence. I’m really sorry that my english isn’t up to your level, but could you please reformulate / elaborate? :blush:

@Dreadeus said:
I didn’t do it there, but in Server settings under Setting (up right)>Server>Agents>shows redone the order and it worked perfectly fine

Here are my settings ATM :

  1. Change the Agent to use TMDB
  2. Move the television series files to a location not monitored by PMS
  3. Scan files
  4. Empty Trash
  5. Clean Bundles
  6. Move television series files into their original position
  7. Scan files.
  8. PMS will see them as new and match again

@ChuckPA said:

  1. Change the Agent to use TMDB
  2. Move the television series files to a location not monitored by PMS
  3. Scan files
  4. Empty Trash
  5. Clean Bundles
  6. Move television series files into their original position
  7. Scan files.
  8. PMS will see them as new and match again

I’m sorry my good man, I did everything and still, nothing…

Will you share with me the exact file names as you currently have them?
I want to create a test case in isolation

Alright, let’s take The Crown for example! :smile:

/Series/The Crown/Season 1$ ls -al total 8461752 drwxr-xr-x 2 plex plex 4096 juin 3 03:50 . drwxr-xr-x 4 plex plex 4096 juin 2 20:49 .. -rw-r--r-- 1 plex plex 832295989 juin 3 03:47 The Crown - S01E01 - Wolferton Splash Bluray-1080p.mkv -rw-r--r-- 1 plex plex 937779449 juin 3 03:47 The Crown - S01E02 - Hyde Park Corner Bluray-1080p.mkv -rw-r--r-- 1 plex plex 879066375 juin 3 03:47 The Crown - S01E03 - Windsor Bluray-1080p.mkv -rw-r--r-- 1 plex plex 864246768 juin 3 03:48 The Crown - S01E04 - Act of God Bluray-1080p.mkv -rw-r--r-- 1 plex plex 820771141 juin 3 03:48 The Crown - S01E05 - Smoke and Mirrors Bluray-1080p.mkv -rw-r--r-- 1 plex plex 868005839 juin 3 03:48 The Crown - S01E06 - Gelignite Bluray-1080p.mkv -rw-r--r-- 1 plex plex 51216 juin 3 03:48 The Crown - S01E07 - Scientia Potentia Est Bluray-1080p.en.srt -rw-r--r-- 1 plex plex 866236278 juin 3 03:49 The Crown - S01E07 - Scientia Potentia Est Bluray-1080p.mkv -rw-r--r-- 1 plex plex 877753556 juin 3 03:49 The Crown - S01E08 - Pride & Joy Bluray-1080p.mkv -rw-r--r-- 1 plex plex 49240 juin 3 03:49 The Crown - S01E09 - Assassins Bluray-1080p.en.srt -rw-r--r-- 1 plex plex 45574 juin 3 03:49 The Crown - S01E09 - Assassins Bluray-1080p.fr.srt -rw-r--r-- 1 plex plex 902111218 juin 3 03:49 The Crown - S01E09 - Assassins Bluray-1080p.mkv -rw-r--r-- 1 plex plex 46008 juin 3 03:49 The Crown - S01E10 - Gloriana Bluray-1080p.en.srt -rw-r--r-- 1 plex plex 44533 juin 3 03:49 The Crown - S01E10 - Gloriana Bluray-1080p.fr.srt -rw-r--r-- 1 plex plex 816247623 juin 3 03:50 The Crown - S01E10 - Gloriana Bluray-1080p.mkv