• 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: Not being able to delete media or relocate transcode folder to NAS storage

     
    • 0 Vote(s) - 0 Average

    SOLVED: Not being able to delete media or relocate transcode folder to NAS storage

    Diaxpel
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Vietnam
    #1
    2024-03-30, 03:50 PM
    I'm running Jellyfin as a LXC container (installed via tteck's script) in Proxmox, alongside a TrueNAS Scale VM. To mount the NAS storage to Jellyfin, I used autofs with SMB share.

    I first create a group on the LXC using this:
    Code:
    groupadd -g 10000 lxc_shares
    and
    Code:
    usermod -aG lxc_shares jellyfin

    Then, go to 
    Code:
    nano /etc/auto.nfs
    and enter this:
    Code:
    truenas-jelly  -fstype=cifs,rw,uid=100000,gid=110000,username=username,password=password ://192.168.31.201/jellyfin-media

    Lastly, save the file and use 
    Code:
    service autofs reload
    to refresh.

    When login as root or even jellyfin as a user, I can easily delete or add files through the shell.

    However, I can't seem to the same task when I use the web UI. Furthermore, relocating the transcode folder to the NAS results in Jellyfin not being able to play the video. I've checked the log and it said "permissions denied" after attempting to create a .ts file.

    Please help me as I'm a newbie to this field. I may have misconfigure something that is way out of my knowledge.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-30, 06:02 PM
    What are the permissions on the destination folder? Do they have WRITE permissions or only read+execute?
    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]
    Diaxpel
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Vietnam
    #3
    2024-03-31, 05:04 AM
    Here are the permissions after typing
    Code:
    ls -l


    Code:
    drwxr-xr-x 2 root lxc_shares 0 Mar 22 19:40  Anime
    drwxr-xr-x 2 root lxc_shares 0 Mar 30 20:27  Movies
    drwxr-xr-x 2 root lxc_shares 0 Mar 27 19:27 'TV Shows'
    drwxr-xr-x 2 root lxc_shares 0 Mar 31 10:09  temp
    drwxr-xr-x 2 root lxc_shares 0 Mar 29 19:51  transcode

    user jellyfin is already in group lxc_shares

    Code:
    root@jellyfin:/mnt/jellyfin# getent group lxc_shares

    lxc_shares:x:10000:jellyfin
    Diaxpel
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Vietnam
    #4
    2024-03-31, 08:29 AM
    Ok, I just fixed it. It is definitely because of the "lxc_shares" group not having write permissions. I went to /etc/auto.nfs to fix the permissiong by adding file_mode=0770,dir_mode=0770 and removing rw in this line:

    Code:
    truenas-jelly  -fstype=cifs,rw,uid=100000,gid=110000,username=username,password=password ://192.168.31.201/jellyfin-media

    It will look somthing like this:

    Code:
    truenas-jelly  -fstype=cifs,uid=100000,gid=110000,file_mode=0770,dir_mode=0770,username=username,password=password ://192.168.31.201/jellyfin-media

    Remember to reboot the host after saving the changes.
    « 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