• 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): 1 2 Next »

     
    • 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
    #1
    2024-08-18, 07:52 PM
    Getting "The path could not be found. Please ensure the path is valid and try again." when trying to set up a directory with my media directory (/srv/media).  This is what I am running to start the jellyfin container:

    docker run -d -e PUID=1000 -e PGID=1000 -v /srv/jellyfin/configConfused-faceconfig -v /srv/jellyfin/cacheConfused-facecache -v /srv/mediaConfused-facemedia --net=host jellyfin/jellyfin:latest

    I tired to "chmod 777" on the "/srv/media" directory as well as "chown -R 1000:1000"

    ls -l
    drwxrwxrwx 2 MYUSER MYUSER 4096 Aug 18 14:45 media

    I am new to docker and containerization.  Not sure what I am missing here, any direction appreciated.  Thanks!
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-18, 09:29 PM
    Instead of

    Code:
    -e PUID=1000 -e PGID=1000

    Use this instead

    Code:
    --user 1000:1000
    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
    #3
    2024-09-04, 04:47 PM
    (2024-08-18, 09:29 PM)TheDreadPirate Wrote: Instead of

    Code:
    -e PUID=1000 -e PGID=1000

    Use this instead

    Code:
    --user 1000:1000

    Thanks for the reply!

    When i format the user/group ID in the command like that ( --user 1000:1000 ) it doesnt seem to start the container.  I dont get an error or anything but when i run "docker ps" i dont see Jellyfin running.  I do see another container running, just no Jellyfin.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-04, 06:13 PM
    What is the full command you use now?
    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
    #5
    2024-09-04, 08:47 PM
    "docker run -d -e PUID=1000 -e PGID=1000 -v /docker/jellyfin/config:/config -v /docker/jellyfin/cache:/cache --net=host jellyfin/jellyfin:latest"

    Note that i did switch from the /srv directory to a dedicated docker director "/docker".
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-04, 08:55 PM
    Do you have the docker compose plugin installed? I recommend using compose files to manage docker. Compose makes it much easier to manager container configs.

    https://jellyfin.org/docs/general/instal...er-compose
    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
    #7
    2024-09-04, 09:15 PM (This post was last modified: 2024-09-04, 09:16 PM by bagelsworth. Edited 2 times in total.)
    Thanks i did see some other mentions of that.  Ill look into it.

    I created a new media folder /media/library/movies.  I set permissions to 777 for that whole path just to test (aware thats not good practice).

    drwxrwxrwx 4 myuser myuser 4096 Sep  4 16:53 /media
    drwxrwxrwx 4 myuser myuser 4096 Sep  4 16:53 /media/library
    drwxrwxrwx 2 myuser myuser 4096 Sep  4 16:53 /media/library/movies

    It lets me set the library to /media but not /media/library/movies.... still get the path not found error.

    I can see that its writing file to /docker/jellyfin/config so clearly it has access to that but if i try to set the library path to /docker/jellyfin/config i get the same path not found.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-09-04, 09:20 PM
    Are any of these paths symlinks?
    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
    #9
    2024-09-04, 09:32 PM
    No they are all regular directories, no symlinking
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-09-04, 09:38 PM (This post was last modified: 2024-09-04, 09:39 PM by TheDreadPirate. Edited 1 time in total.)
    Wait. Not sure why I didn't notice sooner. You didn't pass in the media directory. Only paths for /config and /cache.

    Code:
    -v /docker/jellyfin/config:/config -v /docker/jellyfin/cache:/cache

    You need to add volumes for your media directories.

    From my docker compose.

    Code:
    volumes:
          - ./jellyfin-stable-data/config:/config
          - ./jellyfin-stable-data/cache:/cache
          - /media/library:/media/library:ro
          - /media/storage2:/media/storage2
          - /media/ramdisk:/media/ramdisk

    The container cannot see anything on the host unless you mount it in the 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]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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