this post was submitted on 18 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

593 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 2 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] RiderExMachina@lemmy.ml 1 points 2 years 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