• 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: jellyfin does not have permission to access the drive my movies are stored on?

    Pages (4): « Previous 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: jellyfin does not have permission to access the drive my movies are stored on?

    finalgirlfall
    Offline

    Junior Member

    Posts: 19
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #11
    2025-04-21, 01:44 PM
    (2025-04-20, 10:23 PM)TheDreadPirate Wrote:
    (2025-04-20, 03:10 AM)finalgirlfall Wrote:
    (2025-04-17, 01:45 PM)TheDreadPirate Wrote: USUALLY, only the top level directory for the drive has an ACL.  Can you check if the directories within pi1 and 2 also have ACL?


    ah, what command would i run to check that? ^^;

    Code:
    ls -l /media/violet/pi1.0/*
    ls -l /media/violet/pi2.0/*
    output for pi1.0 / output for pi2.0

    i suspect that may be at least part of the problem... <<;
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2025-04-21, 04:31 PM
    Whoops. Should have told you to run those commands without the asterisks.
    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]
    finalgirlfall
    Offline

    Junior Member

    Posts: 19
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #13
    2025-04-22, 01:29 AM
    (2025-04-21, 04:31 PM)TheDreadPirate Wrote: Whoops.  Should have told you to run those commands without the asterisks.

    lol!! pi1.0 output / pi2.0 output
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2025-04-22, 12:38 PM
    Is there an ACL on this directory?

    /media/violet

    ACL's are denoted by a + at the end of the permissions

    Code:
    rwxrwxrwx+

    Usually the ACL is only on the folder for the hard drive itself.

    And can you share the output of the mount paramemters?

    Code:
    cat /proc/mounts | grep violet
    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]
    finalgirlfall
    Offline

    Junior Member

    Posts: 19
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #15
    2025-04-23, 02:29 AM
    (2025-04-22, 12:38 PM)TheDreadPirate Wrote: Is there an ACL on this directory?

    /media/violet

    ACL's are denoted by a + at the end of the permissions

    Code:
    rwxrwxrwx+

    Usually the ACL is only on the folder for the hard drive itself.

    And can you share the output of the mount paramemters?

    Code:
    cat /proc/mounts | grep violet

    re: media/violet/, the output of ls -l /media/violet/ is below:
    Code:
    total 36
    drwxrwxrwx 1 jellyfin media 6894 Apr 21 21:20 pi1.0/
    drwxrwxr-x 1 plex    media  128 Apr  9 18:18 pi2.0/
    drwxr-xr-x 2 root    root  4096 Apr  9 18:31 tv/

    re, mount parameters, output of cat /proc/mounts ... is below:
    Code:
    /dev/sda /media/violet/pi1.0 btrfs rw,nosuid,nodev,noexec,relatime,space_cache=v2,subvolid=5,subvol=/ 0 0
    /dev/sdb1 /media/violet/pi2.0 btrfs rw,nosuid,nodev,noexec,relatime,space_cache=v2,subvolid=5,subvol=/ 0 0
    finalgirlfall
    Offline

    Junior Member

    Posts: 19
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #16
    2025-04-30, 03:38 AM
    is it acceptable to bump the thread at this point? (regardless, that's what i'm doing...)
    finalgirlfall
    Offline

    Junior Member

    Posts: 19
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #17
    2025-05-01, 04:04 PM
    once again bumping this thread...
    bitmap
    Offline

    Community Moderator

    Posts: 857
    Threads: 9
    Joined: 2023 Jul
    Reputation: 29
    #18
    2025-05-01, 04:35 PM
    Are you able to see if you can touch a file in the target directory as the jellyfin user? When I was using NFS I had to squash all UIDs to make it work, but I'm not really familiar with BTRFS. Command to run a touch would be (requires sudo)...

    Code:
    su - jellyfin -c touch /media/violet/pi1.0/test
    su - jellyfin -c touch /media/violet/pi2.0/test

    (I think...)
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    finalgirlfall
    Offline

    Junior Member

    Posts: 19
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #19
    2025-05-01, 10:08 PM
    (2025-05-01, 04:35 PM)bitmap Wrote: Are you able to see if you can touch a file in the target directory as the jellyfin user? When I was using NFS I had to squash all UIDs to make it work, but I'm not really familiar with BTRFS. Command to run a touch would be (requires sudo)...

    Code:
    su - jellyfin -c touch /media/violet/pi1.0/test
    su - jellyfin -c touch /media/violet/pi2.0/test

    (I think...)

    the results of that command for /media/violet/pi1.0/:
    Code:
    [18:03:33] [INF] [4] Main: Jellyfin version: 10.10.7
    [18:03:33] [INF] [4] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /root/.local/share/jellyfin/log]"]
    [18:03:33] [INF] [4] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "-c", "touch", "/media/violet/pi1.0/test"]
    [18:03:33] [INF] [4] Main: Operating system: Debian GNU/Linux 11 (bullseye)
    [18:03:33] [INF] [4] Main: Architecture: Arm64
    [18:03:33] [INF] [4] Main: 64-Bit Process: True
    [18:03:33] [INF] [4] Main: User Interactive: True
    [18:03:33] [INF] [4] Main: Processor count: 4
    [18:03:33] [INF] [4] Main: Program data path: /root/.local/share/jellyfin
    [18:03:33] [INF] [4] Main: Log directory path: /root/.local/share/jellyfin/log
    [18:03:33] [INF] [4] Main: Config directory path: /root/touch
    [18:03:33] [INF] [4] Main: Cache path: /root/.cache/jellyfin
    [18:03:33] [INF] [4] Main: Temp directory path: /tmp/jellyfin
    [18:03:33] [INF] [4] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [18:03:33] [INF] [4] Main: Application directory: /usr/lib/jellyfin/bin/
    [18:03:33] [ERR] [4] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings

    and for /media/violet/pi2.0/:
    Code:
    [18:07:06] [INF] [1] Main: Jellyfin version: 10.10.7
    [18:07:06] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /root/.local/share/jellyfin/log]"]
    [18:07:06] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "-c", "touch", "/media/violet/pi2.0/test"]
    [18:07:06] [INF] [1] Main: Operating system: Debian GNU/Linux 11 (bullseye)
    [18:07:06] [INF] [1] Main: Architecture: Arm64
    [18:07:06] [INF] [1] Main: 64-Bit Process: True
    [18:07:06] [INF] [1] Main: User Interactive: True
    [18:07:06] [INF] [1] Main: Processor count: 4
    [18:07:06] [INF] [1] Main: Program data path: /root/.local/share/jellyfin
    [18:07:06] [INF] [1] Main: Log directory path: /root/.local/share/jellyfin/log
    [18:07:06] [INF] [1] Main: Config directory path: /root/touch
    [18:07:06] [INF] [1] Main: Cache path: /root/.cache/jellyfin
    [18:07:06] [INF] [1] Main: Temp directory path: /tmp/jellyfin
    [18:07:06] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [18:07:06] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [18:07:06] [ERR] [1] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings
    bitmap
    Offline

    Community Moderator

    Posts: 857
    Threads: 9
    Joined: 2023 Jul
    Reputation: 29
    #20
    2025-05-01, 11:36 PM
    Oh well that doesn't look right. Is jellyfin a service user that runs Jellyfin on your machine. You can try
    Code:
    sudo su - jellyfin
    and that will allow you to run commands as the jellyfin user. At that point, run the touch commands from earlier. Testing on my machine, touch didn't work with the -c flag on su.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    Pages (4): « Previous 1 2 3 4 Next »

    « 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