Jellyfin Forum
Jellyfin can't see my media folder - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin can't see my media folder (/t-jellyfin-can-t-see-my-media-folder)

Pages: 1 2 3


RE: Jellyfin can't see my media folder - tparadox - 2024-04-10

I am alive and I've taken even longer to get back to this thread than I thought.

Quote:What is the output of (command)

Code:
root@odroidxu4:~# ls -ld /media /media/devmon/ /media/devmon/Librar
y

drwxr-xr-x 3 root  root  4096 Jul 16  2023 /media
drwx------ 3 devmon root  4096 Oct 25 18:44 /media/devmon/
drwxr-xr-x 9 root  users 4096 Aug  8  2023 /media/devmon/Library



RE: Jellyfin can't see my media folder - TheDreadPirate - 2024-04-10

Code:
drwx------ 3 devmon root  4096 Oct 25 18:44 /media/devmon/

Only your user can navigate beyond this point.

sudo chmod 755 /media/devmon/


RE: Jellyfin can't see my media folder - tparadox - 2024-06-06

I was beating my head against chmod for half an hour before making the thread, I don't know how it worked now and didn't work then.


RE: Jellyfin can't see my media folder - TheDreadPirate - 2024-06-06

Was the problem resolved before, but reappeared?


RE: Jellyfin can't see my media folder - ambivertguy - 2024-08-25

Hey
Can I get some help on this? Facing the same issue - when I login to my Jellyfin server to add a Media library, it can not see the folder. I have looked at the different permission options (chown & chmod) people have suggested in the forums here and elsewhere but could not figure it out (this is the first time I'm working with linux).

I have setup Ubuntu Server 24.04 on an old HP laptop and installed Jellyfin server (10.9.10) on it. I am accessing the system with PuTTY and transferred files using FileZilla.

Here's the current permission for the directory and files:
Code:
ambivertguy@thehub:~$ ls
Media
ambivertguy@thehub:~$ cd Media
ambivertguy@thehub:~/Media$ ls -dl
drwxrwx--- 6 ambivertguy jellyfin 4096 Aug 25 02:48 .
ambivertguy@thehub:~/Media$ ls
Animated  Books  Movies  Shows
ambivertguy@thehub:~/Media$ cd Shows
ambivertguy@thehub:~/Media/Shows$ ls -dl
drwxrwx--- 3 ambivertguy jellyfin 4096 Aug 24 14:57 .
ambivertguy@thehub:~/Media/Shows$ ls
'The Rookie (2018)'
ambivertguy@thehub:~/Media/Shows$ cd 'The Rookie (2018)'
ambivertguy@thehub:~/Media/Shows/The Rookie (2018)$ ls -dl
drwxrwx--- 3 ambivertguy jellyfin 4096 Aug 24 14:57 .
ambivertguy@thehub:~/Media/Shows/The Rookie (2018)$ ls
'Season 1'
ambivertguy@thehub:~/Media/Shows/The Rookie (2018)$ cd 'Season 1'
ambivertguy@thehub:~/Media/Shows/The Rookie (2018)/Season 1$ ls -dl
drwxrwx--- 2 ambivertguy jellyfin 4096 Aug 24 15:05 .
ambivertguy@thehub:~/Media/Shows/The Rookie (2018)/Season 1$ dir -l
total 6728560
-rwxrwx--- 1 ambivertguy jellyfin 456884600 Aug 24 14:58 The\ Rookie\ (2018)\ S01E01.mkv
-rwxrwx--- 1 ambivertguy jellyfin 396834172 Aug 24 14:58 The\ Rookie\ (2018)\ S01E02.mkv
...
ambivertguy@thehub:~/Media/Shows/The Rookie (2018)/Season 1$

Please let me know what I'm missing.


RE: Jellyfin can't see my media folder - TheDreadPirate - 2024-08-25

It looks like the "Media" folder is in your home directory. If that is accurate, you need to move "Media" out of your home directory. The permissions on /home/ambivertguy are locked down and should stay that way. Your home directory is for private and secure files and the permissions should never be opened up to allow other users to access it.

If you have files that need to be shared with other users you need to move them out of your home directory. Put them in /media or something.


RE: Jellyfin can't see my media folder - ambivertguy - 2024-08-26

That was it! Thank you so much. I was trying so all kinds of different chown & chmod combinations - just had to place the files in the right place.

Thanks again.


RE: Jellyfin can't see my media folder - ambivertguy - 2024-09-05

@TheDreadPirate - I am facing an issue again. Unsure if it is an access issue. After the last post, the media server was working great. 24h back I decided to upload more data and try some plugins (open subtitles, tvdb, trakt, opds, reports, and playback reporting). However, after the transfer was completed and I rescanned the libraries (manually), I can no longer find any of the shows I uploaded to my /media/ folder.

I have checked and made sure the permissions haven't changed. Any idea what this could be or how to troubleshoot here? Thanks in advance.


RE: Jellyfin can't see my media folder - Efficient_Good_5784 - 2024-09-05

Are you still using ACLs? Sounds like the default permissions for the new content is not set right for the Jellyfin user.


RE: Jellyfin can't see my media folder - TheDreadPirate - 2024-09-05

I'd have to see your latest logs. Also give my Linux permissions primer a read.

https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer