Jellyfin Forum
Jellyfin library empty on Synology NAS - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Jellyfin library empty on Synology NAS (/t-jellyfin-library-empty-on-synology-nas)

Pages: 1 2


Jellyfin library empty on Synology NAS - aptmx - 2024-02-14

New to Jellyfin, and tried setting it up on Synology NAS using Docker.  I followed this guide: https://mariushosting.com/how-to-install-jellyfin-on-your-synology-nas/

I made sure my GID and UID were correct. The NAS has two volumes (docker folder is on Vol 1 and media library is on Vol 2).  I created the correct folders in the docker folder (on vol 1).  My Media folder (on vol 2) contains about 6 various folders of movies and tv shows (comedies, tv shows, action, etc.) 

This was the script I used:  

docker run -d --name=jellyfin \
-v /volume1/docker/jellyfin/configConfused-faceconfig \
-v /volume1/docker/jellyfin/cacheConfused-facecache \
-v /volume2/MediaConfused-facemedia \
--user 1026:100 \
--net=host \
--restart always \
jellyfin/jellyfin

When trying to add my library, I see /media but the library is empty after I select it.  I also don't see how to add more libraries based on the folders I have within my media folder.  I had read giving it access to the /volume2/Media folder should allow access to the main 6 folders within that.  I also made sure that the media folder had SYSYTEM read/write permissions as mentioned towards the bottom of the article so that docker has access to that folder.  Any idea why Jellyfin will show empty libraries still?  I am at a loss.  Thanks


RE: Jellyfin library empty on Synology NAS - TheDreadPirate - 2024-02-14

Not entirely sure how permissions work with Synology. Are the permissions you set on the share recursive?


RE: Jellyfin library empty on Synology NAS - Efficient_Good_5784 - 2024-02-14

My bet is that it's the user you're running it under.
Just in case (since you state you have the correct UID + GID), your provided example has "--user 1026:100" which is the same one as in the guide. You probably copied this over from that and probably isn't linked to any user in your actual server.

You can try:
  • Changing the UID+GID to the correct user on your NAS
  • Change the UID+GID to root (to see if this is the issue)
  • Remove the "--user #:#" line to have Jellyfin run as root anyway
------------------------------------------------
Edit:

Looking at the picture of your container's volume settings, you linked the folder wrong.
You have it linked to the directory "/Media".
Turn off the container, then edit the path to be "/volume2/Media/".

Can you post the actual docker run command that you used?


RE: Jellyfin library empty on Synology NAS - aptmx - 2024-02-14

(2024-02-14, 07:02 PM)Efficient_Good_5784 Wrote: My bet is that it's the user you're running it under.
Just in case (since you state you have the correct UID + GID), your provided example has "--user 1026:100" which is the same one as in the guide. You probably copied this over from that and probably isn't linked to any user in your actual server.

You can try:
  • Changing the UID+GID to the correct user on your NAS
  • Change the UID+GID to root (to see if this is the issue)
  • Remove the "--user #:#" line to have Jellyfin run as root anyway
------------------------------------------------
Edit:

Looking at the picture of your container's volume settings, you linked the folder wrong.
You have it linked to the directory "/Media".
Turn off the container, then edit the path to be "/volume2/Media/".

Can you post the actual docker run command that you used?

Hi.  I did get my actual user UID + GID.  It just happened to match the one in the guide.  I will try removing the user line like you stated.  The actual run command is what I did post.  (it is from the guide with my specific settings modified).  I will also try editing the container with that correct path.  Thanks for the advice and I will report back.


RE: Jellyfin library empty on Synology NAS - aptmx - 2024-02-14

(2024-02-14, 07:55 PM)aptmx Wrote:
(2024-02-14, 07:02 PM)Efficient_Good_5784 Wrote: My bet is that it's the user you're running it under.
Just in case (since you state you have the correct UID + GID), your provided example has "--user 1026:100" which is the same one as in the guide. You probably copied this over from that and probably isn't linked to any user in your actual server.

You can try:
  • Changing the UID+GID to the correct user on your NAS
  • Change the UID+GID to root (to see if this is the issue)
  • Remove the "--user #:#" line to have Jellyfin run as root anyway
------------------------------------------------
Edit:

Looking at the picture of your container's volume settings, you linked the folder wrong.
You have it linked to the directory "/Media".
Turn off the container, then edit the path to be "/volume2/Media/".

Can you post the actual docker run command that you used?

Hi.  I did get my actual user UID + GID.  It just happened to match the one in the guide.  I will try removing the user line like you stated.  The actual run command is what I did post.  (it is from the guide with my specific settings modified).  I will also try editing the container with that correct path.  Thanks for the advice and I will report back.


No luck.  I uploaded pictures of what I tried and Jellyfin still does not see anything.  When I click add folder in the container settings and select my media folder, it just shows up as /Media regardless.  I tried adding /volume2/Media/ to the text box next it and re-adding the library but it still sees nothing.  Not sure how to get root UID and GID and if I remove the line entirely, I have to create the entire container again?


RE: Jellyfin library empty on Synology NAS - TheDreadPirate - 2024-02-14

This is what it should look like, I think.

   


RE: Jellyfin library empty on Synology NAS - tmsrxzar - 2024-02-14

(2024-02-14, 08:08 PM)aptmx Wrote: No luck.  I uploaded pictures of what I tried and Jellyfin still does not see anything.  When I click add folder in the container settings and select my media folder, it just shows up as /Media regardless.  I tried adding /volume2/Media/ to the text box next it and re-adding the library but it still sees nothing.  Not sure how to get root UID and GID and if I remove the line entirely, I have to create the entire container again?

you're looking at it backwards, the left side is the volume on Synology, the right side is the path in the docker where Jellyfin will access it

look at TDPs screenshot above


RE: Jellyfin library empty on Synology NAS - Efficient_Good_5784 - 2024-02-14

Yeah, delete the current reference to "/Media", then relink the correct one. The Correct mount path will still be "/media".

Also make sure to edit your script correctly because that will probably rewrite this change the next time you run it.


RE: Jellyfin library empty on Synology NAS - aptmx - 2024-02-14

(2024-02-14, 08:36 PM)tmsrxzar Wrote:
(2024-02-14, 08:08 PM)aptmx Wrote: No luck.  I uploaded pictures of what I tried and Jellyfin still does not see anything.  When I click add folder in the container settings and select my media folder, it just shows up as /Media regardless.  I tried adding /volume2/Media/ to the text box next it and re-adding the library but it still sees nothing.  Not sure how to get root UID and GID and if I remove the line entirely, I have to create the entire container again?

you're looking at it backwards, the left side is the volume on Synology, the right side is the path in the docker where Jellyfin will access it

look at TDPs screenshot above

I am not able to make it look like that though?  When I click add folder, it just lets me choose a shared folder and when I click Media, it just shows up as /Media. There is no way that I see to specify volume2 anywhere.  It just automatically chooses Media and is displayed as /Media.  See attached screenshot.

Even though the Media folder is on Volume2, the NAS does not see that when trying to map this in the volume settings within the container. It only sees the Root folders regardless of what volume they are on....


RE: Jellyfin library empty on Synology NAS - Efficient_Good_5784 - 2024-02-14

I tried googling how Synology handles showing you multiple volumes and the best I found is this: https://www.reddit.com/r/synology/comments/3yk3jg/comment/cyf41tt/

On my Synology NAS, I only have one volume, but I'm thinking that if you scroll down that list of folders when you try and add them, you will find another "Media" folder that will actually be on volume2.

I don't understand why Synology can't show which volume you're actually using.