• 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 Media Scanning & Identification Unable to give Jellyfin access to external storage on Ubuntu

     
    • 0 Vote(s) - 0 Average

    Unable to give Jellyfin access to external storage on Ubuntu

    bub1401
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-13, 05:11 PM
    Over the last week I have been trying to setup Jellyfin on my Ubuntu computer and the server itself is up and running but the content I am trying to access is on an external hard drive. Jellyfin seems unable to access that drive even after giving read access to "Other" users and restarting the service, rebolying my computer and uninstalling and reinstalling Jellyfin several times.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2023-12-13, 05:19 PM
    several questions here;
    how is the drive being mounted?
    where is the drive being mounted?
    what filesystem is on the drive?
    does jellyfin have permissions to the files/folders on the drive?
    (what user does jellyfin run as and does that user have permission)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-12-13, 05:22 PM
    What are the mount parameters?

    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]
    bub1401
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #4
    2023-12-13, 05:24 PM (This post was last modified: 2023-12-13, 05:27 PM by bub1401.)
    (2023-12-13, 05:19 PM)tmsrxzar Wrote: several questions here;
    how is the drive being mounted?
    where is the drive being mounted?
    what filesystem is on the drive?
    does jellyfin have permissions to the files/folders on the drive?
    (what user does jellyfin run as and does that user have permission)

    It is being mounted using Ubuntu Dekstop’s default settings at /dev/sdd1, and accessible from /media/<myusername>/<thedrivesname>. The drive uses NTFS as the rile system. And i assumed if “Other” users have read access that would include jellyfin.

    (2023-12-13, 05:22 PM)TheDreadPirate Wrote: What are the mount parameters?

    Code:
    cat /proc/mounts

    The drive parameters are rw,nosuid,nodev,relatime,uid=1000,gid=1000
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-12-13, 05:33 PM
    (2023-12-13, 05:24 PM)bub1401 Wrote: The drive parameters are rw,nosuid,nodev,relatime,uid=1000,gid=1000

    Change the parameters to "defaults".  Let me know if you need help doing that.  Also make sure there aren't any ACLs.
    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]
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #6
    2023-12-13, 05:36 PM (This post was last modified: 2023-12-13, 05:37 PM by tmsrxzar. Edited 1 time in total.)
    uid,gid should be jellyfin's uid,gid not the default user's
    potential issues being mounted to /(yourusername)/ as that location is likely only accessible to your user
    NTFS can have issues on linux since it uses windows permissions on the files instead of linux

    for best results; have fstab mount the drive instead of autofs, use EXT4 and have all the permissions setup
    if you need dual permissions then acls can be used to grant extra users

    try the fstab method first and perhaps it won't "have to be" formatted if we can get linux to mount it accessible to the jellyfin user

    last note for posterity;
    jellyfin should also only be ran as a restrictive user which does not have access to anything more than is required for operation
    « 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