• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Path not found when setting up library - jellyfin on docker

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SOLVED: Path not found when setting up library - jellyfin on docker

    bagelsworth
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #11
    2024-09-04, 10:34 PM
    Thanks I think I pasted a command i was experimenting with.

    So for the media directories.. Do i need to define one per library?
    /media/library/movies
    /media/library/shows

    Would i need to call those both out explicitly or is just mounting /media recursive?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-09-04, 10:37 PM
    You can have the overarching folder defined in the container config.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    bagelsworth
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #13
    2024-09-04, 10:49 PM (This post was last modified: 2024-09-04, 10:50 PM by bagelsworth.)
    Thanks.  I have tried several variations but still getting path not found.  I did manage to get the compose working though.

    Attempt 1:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        user: 1000:1000
        network_mode: 'host'
        volumes:
          - /docker/jellyfin/config:/config
          - /docker/jellyfin/cache:/cache
          - type: bind
            source: /media/library
            target: /library
        restart: 'unless-stopped'

    Attempt 2 - tried with both user and no user defined:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        network_mode: 'host'
        volumes:
          - /docker/jellyfin/config:/config
          - /docker/jellyfin/cache:/cache
          - /media/library:/library
        restart: 'unless-stopped'
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-09-04, 11:00 PM
    What is the output of

    Code:
    cat /proc/mounts
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    bagelsworth
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #15
    2024-09-04, 11:06 PM (This post was last modified: 2024-09-04, 11:08 PM by bagelsworth. Edited 1 time in total.)
    OK i just got it work... I am not sure why but just doing "/mediaConfused-facemedia" in the compose allowed me to add a library for "/media/library/movies". Not sure I understand why though..

    Also does not defining a user run Jellyfin as root by default?

    And thank you very much for your time and patience helping me with this! Trying to make the switch from windows to all linux and I struggle with linux directories and permissions.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2024-09-04, 11:11 PM (This post was last modified: 2024-09-04, 11:13 PM by TheDreadPirate.)
    Yes, without a user specified the container will run as root.

    If you struggle with Linux permissions, I wrote a primer in the walkthrough sub-forum.

    https://forum.jellyfin.org/t-mounting-lo...ons-primer

    Also, prior to just doing "/mediaConfused-facemedia" what path were you trying to add in the Jellyfin UI?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    bagelsworth
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #17
    2024-09-04, 11:16 PM
    Awesome that is great. Bookmarked and ill look through it.

    I was trying to add /media/library and /media/library/movies
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-09-05, 02:41 AM
    Ah. Ok. With the way you mounted it, those directories wouldn't exist. You mounted /media/library as "/library" in the container. So in the Jellyfin UI you should have been starting from /library/movies, etc.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): « Previous 1 2

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode