OMV Compose Jellyfin Remote Mount"gelöst"

  • Hallo

    Ich habe OMV 7 auf einem ThinkCentre Pentium installiert.

    Über eine Debian minimal Installation.


    Übrigens die normal Installation über OMV Install. Stick geht nicht

    Bleibt während der Installation hängen. ( nur so am Rande)


    Läuft alles super .

    Jetzt mein Problem.

    Ich habe eine Freigabe von einem zweiten OMV 7 Server mit Remote Mount eingebunden.

    Um zu sehen das das Funktioniert SMB Freigabe erstellt .

    Funktioniert.

    Wenn das geht kann ich mit dem Mount nichts falsch gemacht haben.


    Jetzt Kommt Jellyfin ins Spiel .

    Einbinden der Bibliotheken /mnt


    Normale Freigaben gehen ,aber die Freigabe über Remote Mount geht nicht .


    version: "2.1"

    services:

    jellyfin:

    image: ghcr.io/linuxserver/jellyfin

    container_name: jellyfin

    environment:

    - PUID=1000 #das muss stimmen

    - PGID=100

    - TZ=Europe/Berlin

    - JELLYFIN_PublishedServerUrl=http://192.168.0.5 #optional

    volumes:

    - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/appdata:/config

    - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/musik_smb:/mnt/musik_smb

    - /srv/remotemount/musik_r/musik:/mnt/musik #geht nicht

    ports:

    - 8096:8096

    - 8920:8920 #optional

    - 7359:7359/udp #optional

    - 1900:1900/udp #optional

    restart: unless-stopped

  • you need to double check if your remote mount really works/accessible from the current jellyfin docker, try ssh into it and cd into the /srv/remotemount. your yml looks fine to me. eg my config below


  • volumes:

    - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/appdata:/config

    If you have other containers with this same volume, you will have issues.

    /srv/remotemount/musik_r/musik:/mnt/musik

    Post the output of

    ls -al /srv/remotemount/musik_r/musik

  • What surprises me is that if I'm so wrong, why does SMB work

    It's not a matter of "why does SMB work".

    It's a matter of using a proper config folder iindividual for each container you run.


    If you use everytime the volume I pointed and you have on the CODE, on more than one container, you are mixing the configs on the same HOST appdata folder.

    This is wrong and has nothing to do with OMV. It's docker.



    You need to use on each container CODE, a singular folder for it.

    For eg:

    Code
    volumes:
    - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/appdata/jellyfin/config:/config


    On another container, you would change the place for the config folder.

    For eg (qbittorrent)

    Code
    volumes:
    - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/appdata/qbittorrent/config:/config


    And so on...


    root@test:~# ls -al /srv/remotemount/musik_r/musik

    insgesamt 0

    drwxr-xr-x 2 root root 0 23. März 17:32 .

    drwxr-xr-x 2 root root 0 23. März 17:32 ..


    You don't have nothing showing on that musik folder although the Filesystem shows ~900Gb occupied.


    So, post inside a CODE box (this is a how to do it on the forum) of:

    ls -al /srv/remotemount/musik_r

  • Hallo

    auf der Server läuft nur der eine Container jellyfin

    Habe es aber geändert.

    Danke


    Code
    root@test:~# ls -al /srv/remotemount/musik_r
    total 4
    drwxr-xr-x 2 root root    0 Mar 23 17:32  .
    drwxrwxrwx 5 root root 4096 Mar 23 17:20  ..
    drwxr-xr-x 2 root root    0 Feb 13  2024 'Meine Samlung'
    drwxr-xr-x 2 root root    0 Mar 23 17:32  musik

    "Meine Sammlung "ist der Unterordner von "musik"

  • "My Collection" is the subfolder of "music"

    Let's go by parts:


    1 - You have the YML almost as default and you need to change it.

    The version (as raulfg3 pointed) is obsolete and need to be removed.


    The PublishedIP need to be the exact of the HOST


    The optional ports should be commented UNLESS you know what they're for.


    So, the code would be:


    2 - The remotemount need to be correct.

    I just tested this and made a similar system as you with only difference being the remote share is NFS (and not SMB)


    My share on the remote Server is 192.168.1.130/export/pote-media


    Went to GUI (omv that will run jellyfin)--> Remotemount and create NEW:




    And on the CLI, confirmed that the remotemounted share files/folders are seen and are accessible by the UID:GID that runs the jellyfin container:

    Code
    root@omv7-test:~# ls -al /srv/remotemount/panela/
    total 4
    drwxrwsr-x 1 soma users   124 Oct 14 20:53 .
    drwxrwxrwx 3 root root   4096 Mar 24 09:45 ..
    drwxrwsr-x 1 soma users 10310 Mar 15 15:13 Anime
    drwxrwsr-x 1 soma users 36134 Mar 23 21:18 Documentaries
    drwxrwsr-x 1 soma users 56358 Mar 23 21:30 Movies
    drwxrwsr-x 1 soma users 17858 Apr 26  2024 Music
    drwxrwsr-x 1 soma users   246 Feb 28 21:52 OS
    drwxrwsr-x 1 soma users 20702 Mar 23 21:06 TVshows


    Created a Jellyfin YML, with those details:



    Launched the container and added the libraries:





    After finishing the scan, presto, all things available:



    Bottom line, you need to recheck the remote mount settings and make sure it is visible on the CLI.

    Not only that, the ownership of the files/folders need to be (at least readable) by the USER:GROUP that you are using on the YML.


    Good luck

  • Hallo


    Danke für diese ausführliche Anweisung

    Alles gemacht.


    Der Server läuft über 192.168.0.155


    Geht leider immer noch nicht .

    Wie gesagt mein wissen ist nur ein halb wissen das mit dem Export beim nfs wusste ich z. B. nicht.

    In der Auswahl in Jellyfin mnt taucht musik auf ,aber scannen geht nicht.

    Code
    root@test:~# ls -al /srv/remotemount/musik_r/
    total 20
    drwxrwsrwx+  3 karlo users 4096 Mar 24 17:05  .
    drwxrwxrwx   5 root  root  4096 Mar 24 16:43  ..
    drwxrwsrwx+ 29 karlo users 4096 Feb 13  2024 'Meine Samlung'

  • root@test:~# ls -al /srv/remotemount/musik_r/

    total 20 drwxrwsrwx+ 3 karlo users 4096 Mar 24 17:05 .

    drwxrwxrwx 5 root root 4096 Mar 24 16:43 ..

    drwxrwsrwx+ 29 karlo users 4096 Feb 13 2024 'Meine Samlung'

    - /srv/remotemount/musik_r/musik:/mnt/musik

    This line doesn't match what you have on CLI.


    What is the output of:

    ls -al '/srv/remotemount/musik_r/Meine Samlung'


    also

    ls -al /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/musik_smb

  • Das ist alles was unter Meine Sammlung ist


    Da ist nur zum testen Musik drin.

    Das geht in Jellyfin die smb Freigabe ist auch auf dem gleichen Server wie jellyfin.

    Code
    root@test:~# ls -al /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/musik_smb
    total 16
    drwxrwsr-x+ 3 karlo users 4096 Mar 20 18:04  .
    drwxr-xr-x  7 root  root  4096 Mar 21 17:13  ..
    drwxrwsr-x  3 karlo users 4096 Mar 20 18:04 '3 Doors Down'
    root@test:~# 
  • That's all that's under My Collection

    And this is the one you want to have on jellyfin along with the other one, correct?


    Then the YML volumes need to be like this (because you have a SPACE on the folder name and linux is picky with them)

    Code
        volumes:
          - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/appdata/jellyfin:/config
          - /srv/dev-disk-by-uuid-2186-4d1a-9322-959aeea69445/musik_smb:/mnt/musik_smb
          - "/srv/remotemount/musik_r/Meine Samlung:/mnt/musik"
  • Geht nicht leider

    NFS habe ich nur Probleme .

    Ich kann den freigebenden Ordner noch nicht mal in Linx Mint anzeigen lassen.

    IP Adresse eingetragen in die Freigabe.


    Code
    /srv/remotemount/musik_r/Meine Samlung:/mnt/musik

  • NFS I only have problems.

    I can't even get the shared folder to appear in Linx Mint.

    I don't understand what Mint has to do with the jellyfin container.


    From the previous outputs of CLI ls -al '/srv/remotemount/musik_r/Meine Samlung', your remotemount is correctly seen on the OMV host and mounted with correct Read/Write for the USER you run jellyfin.


    Using this PATH on it (jellyfin YML) will show it under the container PATH you use on the YML (/mnt/musik).


    It has to work on the container.


    Now you talk about Linux Mint.

    What does one thing has to do with the other?

    Mounting NFS shares on a Linux client require aditional steps that you need to do.

    Since I don't use Mint (or any other Linux distro), I can't help you with that.


    The only thing I can see is: your Music DATA is running on a odroid and is remote mounted on another HOST that runs OMV.

  • Hallo

    Danke für die Antwort .

    Entschuldigung für das einbringen meines Mint Problem, das hat mit das Sache nichts zu tun.


    In OMV habe ich den File Browser Installiert.

    Habe eine Freigabe mit Remote Mount (geändert auf smb jetzt wieder nfs) gemacht.

    Alles da. Mache eben alles mit OMV

    Es geht einfach nicht.

    Danke



    Code
    /srv/remotemount/musik_r/Meine Samlung:/mnt/musik

    Geht nicht

  • nutzeromv

    Changed the title of the thread from “OMV Compose Jellyfin Remote Mount” to “OMV Compose Jellyfin Remote Mount"gelöst"”.
  • Funktioniert alles mit


    /srv/remotemount/musik_r/Meine Samlung:/mnt/musik


    Mein Fehler die NFS Freigabe auf OMV ,ich habe da schon immer einen Fehler gemacht.

    Client .

    ich habe immer die IP Adresse mit /24 eingegeben .

    So sind alle frei aber ist auch kein Problem im Heimnetzwerk

    192.168.0.0/24

    Bei einzel Freigaben ohne /24

    Und voll ausschreiben also 192.168.000.000


    Vielen Dank

Participate now!

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