Nextcloud external storage jellyfin

Hello everyone,
If this topic exists, I’m sorry because I couldn’t find it.

I installed the app called “External storage support” to mount the movies & tvshows from the jellyfin volume, everything works fine until I want to add a new movie, then I get this error “Unknown errors during upload”. I thought it had no permission, so I add it in the docker-compose.yaml like this:

      - /var/lib/docker/volumes/jellyfin_tv_series/_data:/media/tvshows:rw
      - /var/lib/docker/volumes/jellyfin_movies/_data:/media/movies:rw

I am now getting errors when I look at the logs, does anyone have any idea?

Thanks in advance,
Marten

Please post the full raw log entry (feel free to adjust names/paths mentioned in it for privacy if desired).

Though I think you’ll want to address this first (and doing so will also likely address permissions matters):

- /var/lib/docker/volumes/jellyfin_tv_series/_data:/media/tvshows:rw
- /var/lib/docker/volumes/jellyfin_movies/_data:/media/movies:rw

The above suggests your jellyfin container has Docker named volumes. Named volumes are managed internally by Docker. You should never use their raw path in another container. To share volumes across containers in Docker, reference the same named volume(s) in the volume config for the other relevant containers (such as your Nextcloud app container in this case).

EDIT: Here’s an example (don’t copy it literally since it’s for the nextcloud data volume not jellyfin volumes, but it gives you an idea how to share a named volume across containers in Docker): docker/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml at master · nextcloud/docker · GitHub

The app and cron containers both share the same named volume nextcloud in this case. You’ll want to basically do similar for the jellyfin volumes.

Hi, thank you for your help. I tried something else, I mapped the nextcloud volume (I created a folder and mapped it only) with jellyfin (the other way around) and now it works.

1 Like