![]() |
SOLVED: Path not found when setting up library - jellyfin on docker - 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: SOLVED: Path not found when setting up library - jellyfin on docker (/t-solved-path-not-found-when-setting-up-library-jellyfin-on-docker) Pages:
1
2
|
RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 Thanks I think I pasted a command i was experimenting with. So for the media directories.. Do i need to define one per library? /media/library/movies /media/library/shows Would i need to call those both out explicitly or is just mounting /media recursive? RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 You can have the overarching folder defined in the container config. RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 Thanks. I have tried several variations but still getting path not found. I did manage to get the compose working though. Attempt 1: services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin user: 1000:1000 network_mode: 'host' volumes: - /docker/jellyfin/config:/config - /docker/jellyfin/cache:/cache - type: bind source: /media/library target: /library restart: 'unless-stopped' Attempt 2 - tried with both user and no user defined: services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin network_mode: 'host' volumes: - /docker/jellyfin/config:/config - /docker/jellyfin/cache:/cache - /media/library:/library restart: 'unless-stopped' RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 What is the output of Code: cat /proc/mounts RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 OK i just got it work... I am not sure why but just doing "/media ![]() Also does not defining a user run Jellyfin as root by default? And thank you very much for your time and patience helping me with this! Trying to make the switch from windows to all linux and I struggle with linux directories and permissions. RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 Yes, without a user specified the container will run as root. If you struggle with Linux permissions, I wrote a primer in the walkthrough sub-forum. https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer Also, prior to just doing "/media ![]() RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 Awesome that is great. Bookmarked and ill look through it. I was trying to add /media/library and /media/library/movies RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-05 Ah. Ok. With the way you mounted it, those directories wouldn't exist. You mounted /media/library as "/library" in the container. So in the Jellyfin UI you should have been starting from /library/movies, etc. |