• 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 Can't connect to nas libraries

     
    • 0 Vote(s) - 0 Average

    Can't connect to nas libraries

    true911
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #1
    2024-11-09, 12:47 AM
    I'm running LMDE linux on an N100 with jellyfin.  The system setup seems to work and can view my existing libraries, but I can't get permissions to write to them.  They are stored on a QNAP nas that is also running a linux-variant OS.  My nas library destinations are mounted to local /mnt directories on the jf box, then I selected those directories when I add my libraries in jf.  

    I tried to attach the log below but not sure it succeeded (no confirmation after drag and drop).  But I can see pertinent entries that the server is trying to initiate a recording and then fails due to permissions:

    [2024-11-08 19:23:43.935 -05:00] [INF] Writing file to: "/mnt/jfRecTV/WMAR-2 News at 7PM/WMAR-2 News at 7PM 2024_11_08_19_00_00.ts"
    [2024-11-08 19:23:43.936 -05:00] [ERR] Error recording to "/mnt/jfRecTV/WMAR-2 News at 7PM/WMAR-2 News at 7PM 2024_11_08_19_00_00.ts"
    System.UnauthorizedAccessException: Access to the path '/mnt/jfRecTV/WMAR-2 News at 7PM' is denied.
    ---> System.IO.IOException: Permission denied
      --- End of inner exception stack trace ---
      at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)

    I have tried each of the following on both the LMDE mount point, as well as the actual destination on the nas using ssh:
    chmod 777
    add user jellyfin to other groups that have access
    changed server username jellyfin to others with access

    In all cases the file permissions continue to look like this:

    drwxr-xr-x 2 dilbert root      0 Nov  6 20:30  Images
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:30  Imports
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:30 'Jimmy Kimmel Live (2003)'
    drwxr-xr-x 2 dilbert root      0 Aug 13  2023 'Live TV'
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:32  Logs
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:32 'Meet the Press (1947)'
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:34 'NASCAR Cup Series'
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:34 'NCIS Origins (2024)'
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:35 'Nightline (1980)'
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:35  NOVA
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:35 'Saturday Night Live'
    drwxr-xr-x 2 dilbert root      0 Nov  6 20:35 'Saturday Night Live (1975)'

    server is v10.10.1
    installation is via .deb (I think) utilizing a curl example on the jf web site

    Thanks.

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-09, 02:01 AM
    What protocol is the NAS using for the share? And what are the mount parameters in /etc/fstab?
    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]
    true911
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #3
    2024-11-09, 02:32 AM
    (2024-11-09, 02:01 AM)TheDreadPirate Wrote: What protocol is the NAS using for the share?  And what are the mount parameters in /etc/fstab?

    I posted this on the Matrix chat and was advised to add "noperms" to the fstab line items, which fixed it.  Thanks for your quick response.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-09, 02:38 AM
    Whomp. Didn't read your username before posting here.
    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]
    « 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