• 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)Library Scan Issue...?permissions issue?

    Pages (4): 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    (SOLVED)Library Scan Issue...?permissions issue?

    Library Scan Issue...?permissions issue?
    LinuxNoob
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #1
    2024-08-03, 01:29 PM (This post was last modified: 2024-08-10, 02:29 PM by LinuxNoob. Edited 1 time in total.)
    Hey, admittedly new to the jellyfin side, especially from the linux side. I played around with the older windows version and I've now started setting it up on Ubuntu 22LTS system for the house. I've already begun ripping movies/ tv shows from disc for this and named the movies as such:
    "Title (Year).mkv"

    I changed the folder permissions from the gui side and applied to all subfolders and have the drive mounted by UUID under "/mnt"

    I can set the folder when I'm creating the libraries, but it doesn't seem to scan or load any movies. I'm assuming this is a permissions issue, but wasn't really sure where to go from here.

    Any help would be greatlyl appreciated, also I'm not running any additional plugins etc. just the stock system as packaged.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-03, 04:25 PM (This post was last modified: 2024-08-03, 04:25 PM by TheDreadPirate. Edited 1 time in total.)
    Can you show me the permissions for EVERY step leading to a media file? I will use something from my library as an example.

    The full path is this.

    /media/library/Anime/Gunsmith Cats/Season 01/s01e01.mkv

    To list the permissions for each step would look like this ON THE COMMAND LINE. The UI gets in the way.

    Code:
    ls -ld /media /media/library /media/library/Anime /media/library/Anime/"Gunsmith Cats" /media/library/Anime/"Gunsmith Cats"/"Season 01"
    ls -l "/media/library/Anime/Gunsmith Cats/Season 01/s01e01.mkv"

    The -d is used to only show the directory itself since we don't care about other objects in there.

    Find a file you are having issues with and replicate what I did with that file and share the output.
    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]
    LinuxNoob
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #3
    2024-08-03, 05:19 PM
    I'm not sure I did this correctly, but here is what I got. It's just a test directory first before I move more files over. Right now it is not successfully scanning any files into my library.

    *******************************************************
    a-1@A-1:~$ ls -1d /mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin
    /mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin
    a-1@A-1:~$ ls -1 "/mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin"
    'Jellyfin Cache'
    'Jellyfin Metadata'
    'Man Of The House (2005).mkv'
    *******************************************************

    Also, thanks for the response.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-03, 06:12 PM (This post was last modified: 2024-08-03, 06:13 PM by TheDreadPirate.)
    The options are a lower case L, not a 1. And you have to list out each directory, not as a single path. Notice how I did /media, then /media/library, etc.
    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]
    LinuxNoob
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #5
    2024-08-03, 11:43 PM (This post was last modified: 2024-08-03, 11:49 PM by LinuxNoob. Edited 2 times in total.)
    a-1@A-1:~$ ls -ld /mnt/fcecda31-252a-462e-8cee-804315612700 /mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin
    drwxrwxrwx  19 a-1 a-1 4096 Aug  3 09:50 /mnt/fcecda31-252a-462e-8cee-804315612700
    drwxrwxrwx+  4 a-1 a-1 4096 Aug  3 13:32 /mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-04, 12:33 AM
    This directory has an ACL.

    /mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin

    Code:
    sudo setfacl -b -R /mnt/fcecda31-252a-462e-8cee-804315612700/JellyFin
    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]
    LinuxNoob
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #7
    2024-08-04, 12:45 AM
    I ran that and starting a rescan of my libraries, no progress so far, but I have around 1tb, so maybe it'll take awhile?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-08-04, 12:51 AM
    Can you share your full jellyfin log via pastebin?
    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]
    LinuxNoob
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #9
    2024-08-04, 01:35 AM
    https://pastebin.com/TFFeycxu

    Would it be easier to create a new file directory and start from scratch?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-08-04, 02:16 AM
    You added the entire file system to a library?!?!?!

    Code:
    [2024-08-02 18:03:00.915 -04:00] [ERR] Error in Directory watcher for: "/"

    You need to remove that path for the library you created and the specific folders you created with your media.
    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]
    1
    Pages (4): 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