Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.dbzer0.com
jellyfin·Jellyfin: The Free Software Media Systembyquediuspayu

How do you add a media library that is located in a NAS?

It is a synology NAS and all forum posts and tutorials say to install container managerand set up docker. Well tough luck because my model doesn't seem to be compatible with container manager.

Ok, I install the the server in a pc running linux mint, now when I try to create a library I can't point where the files are.

View original on lemmy.dbzer0.com
16

19 replies

lemmy.ml

It sounds like in your situation, you’d create a shared folder where your media lives (smb or nfs) on the Synology and mount that share to the machine running jellyfin. Then adding the folder as a library will be the same as choosing a local folder.

15

This is what I do. Shared folder via NFS, mounted inside the VM (fstab), added to the volumes of the docker container in the compose file...

2
lemmy.dbzer0.com

That was the idea but it comes to give it the path to the folder I don't know what path I have to give it, the one I have from the file manager (smb://nas/videos/) jellyfin says it is not a valid path.

My guess is that I need to give it the path to where it is mounted but I can't find it or even know if it is somewhere at all.

1
tvcvtreply
lemmy.ml

In the long run you’ll want to specify where it lives. Manually you could use the mount command, but really you want the share to mount every time you reboot the machine so it’s always available. If you’re after a GUI app to do that, check out smb4k. I think that has options to do automatic mounting to a directory of your choosing (the path would typically be something like /media/<your username>/<synology hostname>/<name of share>).

If you want to do this from the command line, look into autofs, which lets you define a configuration and automatically mount an SMB share whenever your system needs it.

1

I agree, I will have to learn to do it. One headache now to avoid all future headaches.

I'll check them out, thanks.

1
sh.itjust.works

On jellyfin you have to give the local path on the server, where your SMB share is mounted

The smb path to mount from Synology is like:

smb://[NAS]/volume1/[name of your share]

if you have more than one volume you need to choose the good one

Edit: not sure if it was the question actually

1

It didn't work. Is it possible that jellyfin just don't have access? if so, how do I grant it access?

1
ddh
lemmy.sdf.org

On my DS1522+ I have installed the Jellyfin app from the SynoCommunity repository. I used to have Jellyfin on a separate host, but using the app has been much less painful. Maybe that's an option for you?

1
lemmy.dbzer0.com

That was my first idea, unfortunately the DS416 does not support the container manager that I read everywhere is necessary to install jellyfin.

1
ddhreply
lemmy.sdf.org

You might try it anyway; as far as I know Container Manager is not required for the Jellyfin app. I have several containers running, but not Jellyfin. Jellyfin is just a regular app installed through Package Center (after adding the SynoCommunity repository).

1
lemmy.dbzer0.com

It help to understand some things, I'm with the last poster:

And what do I do if I installed Jellyfin via Ubuntu software, it runs, but /etc/passwd shows no jellyfin user exists?

0
Pup Birureply
aussie.zone

you should be able to find the user jellyfin is running as with:

ps aux | grep jellyfin

the first column is the user name or ID

you’re looking for a line something like this


biru       13576  0.1  9.6 281378280 3170688 ?   Ssl  Jul09  85:05 /usr/bin/jellyfin --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
1
lemmy.dbzer0.com

Let's see, it returned three lines:

oriol       2759  0.0  0.0   3580  1280 ?        S    10:21   0:00 bwrap --args 38 -- jellyfin.sh
oriol       2768  0.1  1.9 275074792 323812 ?    Sl   10:21   0:09 jellyfin
oriol      11618  0.0  0.0  11804  2304 pts/0    S+   12:01   0:00 grep --color=auto jellyfin
1
Pup Birureply
aussie.zone

looks like jellyfin is running as the user “oriol”. does that sound right?

assuming you have your files mounted somewhere locally that jellyfin can access, their file permissions will need to allow access to that user

1
lemmy.dbzer0.com

The thing is that I mount the files using the GUI and I have no idea where they are mounted.

1

if you want it to be permanent you’ll probably want to mount via /etc/fstab (this is the list of things that are mounted every boot, so it’ll persist after a reboot)

that said, i’d guess it’ll be in /mnt

1

You reached the end

How do you add a media library that is located in a NAS? | Spyke