Plex USER and PIUD issu

  • Hello,


    I just saw a typing error in my plex config : PUID : 10001, but the good one is 1001.
    The problem is that when trying with 1001 i can't acess to plex, it only work with 10001 but i don't have any user with this ID, and the transcoding is not working.


    I also tried to create a new ID > 1002 this don't work too.


    Please anyone have an idea to resolve this problem ? Thanks



  • /home/docker/appdata/plex/confi

    Post the output of:


    ls -al /home/docker/appdata/plex/

    ls -al /home/docker/appdata/plex/config/

  • Post the output of:


    ls -al /home/docker/appdata/plex/

    ls -al /home/docker/appdata/plex/config/


    Code
    root@NAS:~# ls -al /home/docker/appdata/plex/
    total 12
    drwxr-xr-x 3 root    root  4096  2 mai   23:24 .
    drwxr-xr-x 8 root    root  4096  4 mai   20:38 ..
    drwxr-xr-x 3 appuser users 4096  2 mai   23:24 config


    Code
    root@NAS:~# ls -al /home/docker/appdata/plex/config/
    total 12
    drwxr-xr-x 3 appuser users 4096  2 mai   23:24 .
    drwxr-xr-x 3 root    root  4096  2 mai   23:24 ..
    drwxr-xr-x 3 appuser users 4096  2 mai   23:24 Library
    root@NAS:~#
  • What about:

    ls -al /home/docker/appdata/plex/config/Library


    Having spaces on the YML is a no go.

    Put it inside "" like

    Code
    - "/srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/Series Animes et Mangas:/Series Animes et Mangas"
    - "/srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/Film d'Animation:/Film d'Animation"



    uid=1001(appuser)

    Your USER 1001 is the owner of the config folder of PLEX so, it should be enough to just rectify the YML.


    Bring down the container.

    Edit the YML correctly.


    Check that no error occur.

    Also check the ownership of the media folders to see if the USER has (at least) read rights to it:

    ls -al /srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/

    ls -al /srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/Film


    Since these have spaces, you might get an error when listing like this

    ls -al /srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/Series Animes et Mangas

    ls -al /srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/Film d'Animation

  • Just looked better:

    root@NAS:~# id appuser uid=1001(appuser) gid=100(users) groupes=100(users),0(root),13(proxy),44(video),105(render),990(docker)

    Why did you add your appuser to root group???

    You might as well just run everything as root

  • What about:

    ls -al /home/docker/appdata/plex/config/Library

    Code
    root@NAS:~# ls -al /home/docker/appdata/plex/config/Library
    total 12
    drwxr-xr-x 3 appuser users 4096 2 mai 23:24 .
    drwxr-xr-x 3 appuser users 4096 2 mai 23:24 ..
    drwxr-xr-x 3 10001 users 4096 2 mai 23:24 'Application Support'
  • Check that no error occur.

    Also check the ownership of the media folders to see if the USER has (at least) read rights to it:

    Code
    root@NAS:~# ls -al /srv/dev-disk-by-uuid-9fd782fb-3116-4d90-a13c-2c75857f6989/big1/
    total 76
    drwxrwsrw-+  6 root users  4096  4 mai   02:29  .
    drwxr-xr-x   5 root root   4096 28 avril 15:56  ..
    drwxrwsr--+ 40 1000 users 36864 13 juin  23:17  Film
    drwxrwsr--+  9 1000 users 20480 20 juin  23:02 "Film d'Animation"
    drwxrwsr--+ 20 1000 users  4096 21 juin  00:07  Séries
    drwxrwsr--+ 76 1000 users  4096 20 juin  00:45 'Series Animes et Mangas'

    seems that my users don't have access to the big1 but he have the read acces on the web interface,

  • drwxr-xr-x 3 10001 users 4096 2 mai 23:24 'Application Support'

    This is the error

    Will help a bit later

  • do you know what i should do ?

    Yes.

    How are you launching the container? On omv-compose plugin?

  • Yes

    Go to the compose files GUI page, select plex and click the down button (down arrow inside a circle)

    Check the compose, Stats page and make sure that Plex isn't showing there.


    On the CLI run:

    sudo chown -R appuser:users /home/docker/appdata/plex/config/Library


    Check that the folder and the one's below, are noe owned by appuser:

    ls -al /home/docker/appdata/plex/config/Library


    It should show appuser:users instead of 10001:users


    Confirm that the folder below it is the same:
    ls -al '/home/docker/appdata/plex/config/Library/Application Support'


    Go to compose GUI files and edit the CODE of PLEX to reflect the PUID correct:


    Save and accept the changes.

    Check that no errors come by clicking the check button.


    Bring the container UP.


    See if you can access PLEX.

  • Thanks for your help work perfectly now

  • Thanks for your help work perfectly now

    Please, edit the initial post and set the flag resolved

    ;)

  • MrBn77

    Added the Label resolved

Participate now!

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