Plex setup help - not seeing my local media

  • Hi All,

    using OMV5 for a while not, really good experience.


    I'm new to Portainer and Plex and I am trying to get Plex setup right. I have installed it thusly aside from fixing the noexec thing (I don't know what it is).


    I am able to access my plex web interface and have signed into my Plex Account but get this message:




    I already had media folders, so I made a Config folder as required and it has been populated with files so this is working.




    These paths look good to me, I got them from within Portainer. So is the issue the sharing setup (permission or what have you), is it a signing into plex thing. Is there some config I am missing?


    Any help appreciated.

  • What is the exact URL you are using to reach the server and from where are you trying to connect to it from?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • The config folder is working fine, and this article suggests any directory name is fine (in fact they are very similar to mine just on Windows), it sounds like it just needs to be pointed to correctly. Hence adding this config.


    I was leaning towards a permission or configuration thing, but I guess I could try making shares with new names as test.

  • I created a new share and called it movies then adding a single file to it (a random MCU movie) and then restarted plex. Still the same result.



    I'm stuck for what to try next. Is it permissions, have I missed something in config, I really don't know at this point.

  • The most frequently seen problem with Plex is incorrect permissions/ownership on media files. This can be aggravated further with docker when the user and group that the container runs as is inconsistent with the permissions of the media files. You need to check all of this.


    What PUID and PGID are the container running as?


    What are the permissions and ownerships of the media directories and files?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • The files are owned by 'nobody' and group 'users' in the filesystem. I have tried using their UID 65534 which did nothing. The main ordinary user I have is 'Noki' PID 1000 which I have also tried, this is the user I use for normal file sharing on the NAS and have no problem reading and writing to files. I have tried many combinations of PID and GID and the PLEX_MEDIA_SERVER_USER (trying nobody, noki, and my plex account email here).


  • Incomplete answer. What about the media files and folders permissions and ownership?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • Never rely on what OMV's WebGUI says about this.


    SSH into the server, navigate into your media directories and run ls -a Post some of that you see like this:


    Code
    fred@omv:/srv/dev-disk-by-label-d1/multimedia-content-d1/movies$ ls -al
    drwxr-sr-x 2 fred users 4096 Jul 21 2017 '1 Mile to You 2017 720p WEBRip 750 MB - iExTV'
    drwxr-sr-x 2 fred users 4096 Jun 24 2016 '10,000 Saints (2015)'
    drwxr-sr-x 2 fred users 4096 Jun 30 2015 '100 Bloody Acres (2012)'
    drwxr-sr-x 2 fred users 4096 Jun 6 2019 '101 Dalmatians (1996) [WEBRip] [720p] [YTS.AM]'


    Then cd into one of the directories and ls -al again to show the file permissions:


    Code
    fred@omv:/srv/dev-disk-by-label-d1/multimedia-content-d1/movies/10,000 Saints (2015)$ ls -al
    drwxr-sr-x 2 fred users 4096 Jun 24 2016 .
    drwxr-sr-x 6372 fred users 491520 Sep 20 09:07 ..
    -rw-r--r-- 1 fred users 847455975 Sep 18 2015 10,000.Saints.2015.720p.BluRay.x264.YIFY.mp4

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • Yes, I realise that, and I have confirmed that all sub-directories and files are under the correct ownership via ssh. Since Plex is the only thing not working, SMB and CIFs and ReadyDLNA setups all work fine, I assume it is a Plex config problem, hence posting the screengrab from there.


    Code
    -rwxrwxr--+ 1 nobody users 1546029364 Jan 5 2020 'The.Road.To.El.Dorado(2000).mp4'
    -rwxrwxr--+ 1 nobody users 294851214 Jan 5 2020 'The.Rock(1996).mp4'
    -rwxrwxr--+ 1 nobody users 963994512 Jan 5 2020 'The.Rocketeer(1991).mp4'
    -rwxrwxr--+ 1 nobody users 532207070 Jan 5 2020 'The.Shawshank.Redemption(1994).mp4'
    -rwxrwxr--+ 1 nobody users 732482688 Jan 5 2020 'The.Theory.of.Everything(2014).mp4'
    -rwxrwxr--+ 1 nobody users 501466853 Jan 5 2020 'The.Thing(1982).mp4'

    Thanks for helping with this issue by the way, it is appreciated. I have been going through google searches trying to find a response but not seeing anyone with my issue or hint of what to try next. I've tried brute forcing it by changing these values around to see what sticks. So far nothing.

  • Incomplete answer :) You haven't posted the permissions on the directories.


    Trust me on this, you are not the only seeing that message from Plex you showed in your first post.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • I can assure you I have checked them, but here for the sake of thoroughness.

    Code
    drwxr-sr-x 9 root users 4096 Sep 20 13:46 dev-disk-by-label-BOOM
    ===> next dir
    drwxrwsr--+ 4 nobody users 4096 Sep 19 22:23 Media
    ===> next dir
    drwxrwsr--+ 86 nobody users 4096 Jan 5 2020 Music
    drwxrwsr--+ 4 nobody users 4096 Jan 13 2020 Video
    ===> inside 'Video'
    drwxrwsr--+ 13 nobody users 20480 Sep 19 22:06 Films
    drwxrwsr--+ 8 nobody users 4096 Jan 5 2020 'TV Shows'
    ===> 'Films' content posted previously.

    Now the 'Disk' is owned by root, which seems correct to me so I don't see a need to mess with it.


    Removed the quote, I got it after I posted. Yeah I assume it's not just me, but I can't find reference to my issue anywhere else. But rest assured I am looking.

  • You have a permissions problem:


    drwxrwsr--+ 4 nobody users 4096 Sep 19 22:23 Media

    drwxrwsr--+ 86 nobody users 4096 Jan 5 2020 Music

    drwxrwsr--+ 4 nobody users 4096 Jan 13 2020 Video

    drwxrwsr--+ 13 nobody users 20480 Sep 19 22:06 Films

    drwxrwsr--+ 8 nobody users 4096 Jan 5 2020 'TV Shows'


    The Plex docker is running as user 1000 and group 100, neither of which are 'nobody'

    Since the executable bit for these directories is not set for 'others", Plex can not enter the directories to read the files.


    Also, something to consider. Unless you fully 100% understand Linux ACLs you should not use them. And using OMV to set permissions has caveats too.


    Try connecting to Plex again but use the IP address instead of kablamo.local.


    If you are still stuck read this page: https://support.plex.tv/articles/200288586-installation/


    This section:


    Opening the Plex Web App on a Device Other than the Server Itself

    On a Different Network


    Setup the SSH tunnel and follow directions to connect.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • I changed it so that 'Noki' (PUID 1000) owns all files and directories in 'Media' down, no change in Plex.

    I can get a 'No Soup for you' message when I log out and back in, so it's definitely an access/permission issue.

  • I have linuxserver/plex cointainer too, but my config is:


    Host/Volume
    /srv/dev-disk-by-label-DATI/AppData/Plex/config


    Path

    /config


    ---


    Host/Volume

    /srv/dev-disk-by-label-DATI/AppData/Plex/transcode


    Path

    /transcode


    ---


    Host/Volume

    /srv/dev-disk-by-label-DATI/Media


    Path

    /media


    Inside the media's path, i have "films", "tv show", "music" and all works perfectly.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!