2025-04-12, 07:38 PM
Hi,
I am using docker. Here is my setup:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
environment:
PUID: 1000
PGID: 1000
TZ: ${TZ}
JELLYFIN_PublishedServerUrl: https://stream.${DOMAIN}
networks:
services:
volumes:
- ${CONFIG_FOLDER}/jellyfin
config
- ${FILMS}
media/films:ro
- ${SERIES}
media/series:ro
- ${MUSIQUE}
media/musique:ro
- ${LIVRES}
media/livres:ro
- ${TROISD}
media/troisd:ro
- ${BONUS}
media/bonus:ro
- ${SHORTS}
media/shorts:ro
restart: unless-stopped
devices:
- /dev/dri
dev/dri
- /dev/kfd
dev/kfd
I am trying to add a library from the folder /media/films. When I log into the container console, I can cd into /media/films, and list all files and their content. The container seems to have correctly access to the files. But when in Jellyfin itself, I don't have access. Then trying to add /media/films as a library, I have the following error:
[21:32:30] [ERR] [11] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Could not find a part of the path '/media/films'. URL GET /Environment/DirectoryContents.
I don't understand why Jellyfin can't access the files if the container has correct access.
Could you help me ?
Thankd in advance for any answer
I am using docker. Here is my setup:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
environment:
PUID: 1000
PGID: 1000
TZ: ${TZ}
JELLYFIN_PublishedServerUrl: https://stream.${DOMAIN}
networks:
services:
volumes:
- ${CONFIG_FOLDER}/jellyfin

- ${FILMS}

- ${SERIES}

- ${MUSIQUE}

- ${LIVRES}

- ${TROISD}

- ${BONUS}

- ${SHORTS}

restart: unless-stopped
devices:
- /dev/dri

- /dev/kfd

I am trying to add a library from the folder /media/films. When I log into the container console, I can cd into /media/films, and list all files and their content. The container seems to have correctly access to the files. But when in Jellyfin itself, I don't have access. Then trying to add /media/films as a library, I have the following error:
[21:32:30] [ERR] [11] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Could not find a part of the path '/media/films'. URL GET /Environment/DirectoryContents.
I don't understand why Jellyfin can't access the files if the container has correct access.
Could you help me ?
Thankd in advance for any answer