• 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: No media appears in new Jellyfin setup

     
    • 0 Vote(s) - 0 Average

    SOLVED: No media appears in new Jellyfin setup

    Tr33MuggeR
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #5
    2024-10-23, 12:07 PM
    (2024-10-23, 02:19 AM)TheDreadPirate Wrote: Two things.  First, the folder you mounted it in is protected by an ACL, /media/[name].  You COULD remove the ACL, but you should move it out of /media/[name] since all removable media gets mounted there.  To remove the possibility of a naming collision or udisk2 (what mounts storage in that directory) could possibly re-apply the ACL.

    So I strongly recommend moving your drive mount elsewhere.  Even /media is fine.  /media/big.

    Second, you need to provide a container path for the volumes in your docker compose.

    Code:
        volumes:
          - ./jellyfin_config:/config
          - /media/[name]/big/jellyfin/media/books
          - /media/[name]/big/jellyfin/media/movies
          - /media/[name]/big/jellyfin/media/music
          - /media/[name]/big/jellyfin/media/shows

    Should be something like this, after you've changed where it is mounted.

    Code:
        volumes:
          - ./jellyfin_config:/config
          - /media/big/jellyfin/media/books:/books
          - /media/big/jellyfin/media/movies:/movies
          - /media/big/jellyfin/media/music:/music
          - /media/big/jellyfin/media/shows:/shows

    If you're still having issues, we can double check the permissions.  Remember, from my guide, the user that runs the container needs to have, at a minimum, r-x permissions to navigate the folder structure.  FOR EVERY FOLDER IN THE PATH.

    A tip for Linux permissions.  Noobies make it out to be too complex.  It is really simple.  Ask yourself two questions: 1) What am I trying to do? 2) What are the permissions for my ownership level for my current location.

    For 1, the three possible answers are read, write, and executing.  Some actions require more than one of these.  Like "cd", as I described in my guide, requires reading and executing permissions.

    For 2, the three ownership levels are "user", "group", and "other".  Which are you in?  What are the permissions for that ownership level?  Does my ownership level have sufficient permissions for the desired action and/or target file/folder?

    Also, since you are using the official jellyfin image, you don't use PUID and PGID.

    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: 1000:1000  # you use this to have the container run as your user.
        environment:
          - TZ=Americas/New_York
        volumes:
          - ./jellyfin_config:/config
          - /media/big/jellyfin/media/books:/books
          - /media/big/jellyfin/media/movies:/movies
          - /media/big/jellyfin/media/music:/music
          - /media/big/jellyfin/media/shows:/shows
        ports:
          - "8096:8096"
        restart: 'unless-stopped'



    Ohhhhh. That makes sense.  I didn't fully understand how the /media/[user] permissions worked.

    I made the changes and it works!!  Thank you so much!
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    No media appears in new Jellyfin setup - by Tr33MuggeR - 2024-10-22, 09:28 PM
    RE: No media appears in new Jellyfin setup - by TheDreadPirate - 2024-10-22, 09:40 PM
    RE: No media appears in new Jellyfin setup - by Tr33MuggeR - 2024-10-23, 01:01 AM
    RE: No media appears in new Jellyfin setup - by TheDreadPirate - 2024-10-23, 02:19 AM
    RE: No media appears in new Jellyfin setup - by Tr33MuggeR - 2024-10-23, 12:07 PM

    • 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