![]() |
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
|
Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-08-18 Getting "The path could not be found. Please ensure the path is valid and try again." when trying to set up a directory with my media directory (/srv/media). This is what I am running to start the jellyfin container: docker run -d -e PUID=1000 -e PGID=1000 -v /srv/jellyfin/config ![]() ![]() ![]() I tired to "chmod 777" on the "/srv/media" directory as well as "chown -R 1000:1000" ls -l drwxrwxrwx 2 MYUSER MYUSER 4096 Aug 18 14:45 media I am new to docker and containerization. Not sure what I am missing here, any direction appreciated. Thanks! RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-08-18 Instead of Code: -e PUID=1000 -e PGID=1000 Use this instead Code: --user 1000:1000 RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 (2024-08-18, 09:29 PM)TheDreadPirate Wrote: Instead of Thanks for the reply! When i format the user/group ID in the command like that ( --user 1000:1000 ) it doesnt seem to start the container. I dont get an error or anything but when i run "docker ps" i dont see Jellyfin running. I do see another container running, just no Jellyfin. RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 What is the full command you use now? RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 "docker run -d -e PUID=1000 -e PGID=1000 -v /docker/jellyfin/config:/config -v /docker/jellyfin/cache:/cache --net=host jellyfin/jellyfin:latest" Note that i did switch from the /srv directory to a dedicated docker director "/docker". RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 Do you have the docker compose plugin installed? I recommend using compose files to manage docker. Compose makes it much easier to manager container configs. https://jellyfin.org/docs/general/installation/container/#using-docker-compose RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 Thanks i did see some other mentions of that. Ill look into it. I created a new media folder /media/library/movies. I set permissions to 777 for that whole path just to test (aware thats not good practice). drwxrwxrwx 4 myuser myuser 4096 Sep 4 16:53 /media drwxrwxrwx 4 myuser myuser 4096 Sep 4 16:53 /media/library drwxrwxrwx 2 myuser myuser 4096 Sep 4 16:53 /media/library/movies It lets me set the library to /media but not /media/library/movies.... still get the path not found error. I can see that its writing file to /docker/jellyfin/config so clearly it has access to that but if i try to set the library path to /docker/jellyfin/config i get the same path not found. RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 Are any of these paths symlinks? RE: Path not found when setting up library - jellyfin on docker - bagelsworth - 2024-09-04 No they are all regular directories, no symlinking RE: Path not found when setting up library - jellyfin on docker - TheDreadPirate - 2024-09-04 Wait. Not sure why I didn't notice sooner. You didn't pass in the media directory. Only paths for /config and /cache. Code: -v /docker/jellyfin/config:/config -v /docker/jellyfin/cache:/cache You need to add volumes for your media directories. From my docker compose. Code: volumes: The container cannot see anything on the host unless you mount it in the config. |