omv-extra and Plex

  • Hi


    I installed omv latest version 6 without issues.


    I have a folder /Compose

    /srv/dev-disk-by-uuid-8080c644-5592-411c-bb7c-7193f4edc85a/Compose
    a folder /Data
    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data

    and a folder /Media_NVMe
    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Media_NVMe


    I installed omv-extra and Docker Compose


    I set Compose files in /Compose folder

    /srv/dev-disk-by-uuid-8080c644-5592-411c-bb7c-7193f4edc85a/Compose

    then I set Compose data in /Data folder

    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data


    Then using Services > Compose > Files I installed Plex media server , I started the Plex docker, and it works correctly at this location
    https://openmediavault.local:32400


    My problems are the Plex libraries . e.g. where should I put exactly my collection of movies ?


    I tried to put some .mkv file in

    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/movie

    then I added the Film library in Plex

    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/movie

    but when I scan the library Plex cannot find the movies.


    What am I doing wrong ? Where should I put the Plex movies ?

    Thank you

  • macom

    Hat das Thema freigeschaltet.
  • Without seeing the compose file you used for Plex and showing the user:group that owns your media files, not much chance of getting any real help here.

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


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I used the automatic installation provided my the example files of omv extra.

    However are you talking about this ?


    ---

    version: "2.1"

    services:

    plex:

    image: lscr.io/linuxserver/plex:latest

    container_name: plex

    network_mode: host

    environment:

    - PUID=1001

    - PGID=100

    - VERSION=latest

    volumes:

    - /dev/shm:/transcode

    - /etc/localtime:/etc/localtime:ro

    - CHANGE_TO_COMPOSE_DATA_PATH/plex/database:/config

    - CHANGE_TO_COMPOSE_DATA_PATH/plex/multimedia:/multimedia

    restart: unless-stopped




    Should I place the multimedia (TV/film) files in \\OPENMEDIAVAULT\Data\plex\multimedia ?

  • Probably I understood, sorry I do not know Docker and I was thinking omv-extra Plesk installation was automatic


    is it correct now ?


    ---

    version: "2.1"

    services:

    plex:

    image: lscr.io/linuxserver/plex:latest

    container_name: plex

    network_mode: host

    environment:

    - PUID=1001

    - PGID=100

    - VERSION=latest

    volumes:

    - /dev/shm:/transcode

    - /etc/localtime:/etc/localtime:it

    - /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/plex/database:/config

    - /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/plex/multimedia:/multimedia

    - /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/plex/multimedia:/multimedia/tv

    - /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/plex/multimedia:/multimedia/movies

    restart: unless-stopped

  • Is there a real user with ID 1001 on your system?

    Again, what are the user:group ownership and permissions on your media files?

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


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • sorry I am lost , I have this


    root@openmediavault:/srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data# ls -l /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888

    totale 40

    -rw------- 1 root root 7168 23 gen 15.39 aquota.group

    -rw------- 1 root root 8192 23 gen 15.39 aquota.user

    drwxrwsrwx 4 root users 4096 23 gen 17.32 Data

    drwx------ 2 root root 16384 22 gen 19.36 lost+found

    drwxrwsr-x 3 root users 4096 23 gen 18.06 Media_NVMe

  • ok sembra che sono riuscito, è tutto root quindi

    uid=0(root) gid=0(root) gruppi=0(root)


    quindi

    - PUID=0

    - PGID=0

    e ho fatto ripartire il servizio docker plesk.


    Ora il problema è che se voglio caricare dei file da windows sulla locazione

    \\OPENMEDIAVAULT\Data\plex\multimedia\movies


    dice che non ho i permessi per scrivere .. Mi succede solo qui , in altri folder posso salvare e creare files.

  • Is there any special reason why Plex should be installed in Docker?

    I installed plexmediaserever just side by side with omv without any problems - the only thing I had to do was adding the plex-user to the users group.

    Raspi 4B, 4GB RAM, SSD-Boot, 2TB & 1TB SSD as data-disks in Sata/USB enclosure, IcyBox USB3-Hub

  • on OMV webGUI , shared folder, create one folder named Media, so on your data disk you have the path: /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Media, and share it by SMB, on OMV webGUI asign permission to read/write to your docker user and to your default user eg to: meneguzzo68

    copy your video files to this path, of course, you can have several categories like :


    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Media/Video

    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Media/Series

    /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Media/Music


    now you only need to use this plex.yaml file:



    and need to define some global.env variables like:


    Code
    PUID=1001
    PGID=100
    Media=/srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Media/
    Temp=/srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Media_NVMe/Temp
    ConfigPath=/srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Dockers
    PLEX_CLAIM=Yourplexclaim

    pd: You need to create a shared folder on /srv/dev-disk-by-uuid-5bea965d-11f7-4c3b-a116-c10457b9d888/Data/Dockers to store all your dockers config, not only plex config. <- Do not use boot disk, because plex config, usually grow to several Gigas




    once your plex is running, you can find your movies en the folder /Media on the drop down menu of plex



    to understand this look at

    Code
    $Media:/Media 

    left side : is the path on your NAS = Your real path

    right side : is the path inside the docker

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!