I have Jellyfin installed on LXC Proxmox and my Movies are on TrueNas.

When i try do delete a Movie over Jellyfin web GUI i get There was an error deleting the item from the server. Please check that Jellyfin has write access to the media folder and try again.

I guess it has something to do with permissions but i cant find the problem, i tried everything with no success. I created user and group jellyfin for the MEDIA directory and gave rwx persmission.

dir -ls

drwxrwxr-x 2 jellyfin jellyfin 4096 Jun 17 23:33 MEDIA

and on fstab these are my settings.

//192.xxx.xx.xxx/movies /MEDIA/private cifs vers=3.0,credentials=/root/.smbcredentials, rw, uid=110 ,gid=118, iocharset=utf8, file_mode=0777, dir_mode=0777, noauto, x-systemd.automount 0 0

id -u jellyfin 110

id -g jellyfin 118

I would be grateful for any advice!

  • RiderExMachina@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You may want to change cifs to the explicit share type (e.g. smb or nfs), based on the type of share it is. You also probably don’t want to have 777 permissions for your file and Dir modes. 775 should be good enough.

    Also, are the rest of your folders under the MEDIA folder also owned by jellyfin? You may need to chown -R jellyfin:jellyfin MEDIA; chmod -R 775 MEDIA