2025-03-06, 12:01 AM
(This post was last modified: 2025-03-06, 12:01 AM by Daniel_King. Edited 1 time in total.)
For testing (and out of convenience) I installed Ubuntu server in a VM, there I set up your service file, then I installed Docker + Portainer and I wanted to set up Jellyfin.
Everything worked more or less smooth, but when I try to deploy the following stack:
I receive this error:
Failed to deploy a stack: compose up operation failed: Error response from daemon: error while creating mount source path '/media/movies': mkdir /media/movies: file exists
The above service is mounting my Shared Drive from Google under "/media/movies".
This works, and I can see my files.
ls -l shows me the following for the mounted movies folder:
I also tried this image: linuxserver/jellyfin:latest and beside deploying a stack I also tried it as Docker YML or in Portainer via the GUI.
Always the same error.
Any idea what am I doing wrong?
Everything worked more or less smooth, but when I try to deploy the following stack:
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
network_mode: 'bridge'
ports:
- 8096:8096/tcp
- 1900:1900/udp
volumes:
- /var/jellyfin/config:/config
- /var/jellyfin/cache:/cache
- /media/movies:/movies
- /media/shows:/shows
restart: 'unless-stopped'
I receive this error:
Failed to deploy a stack: compose up operation failed: Error response from daemon: error while creating mount source path '/media/movies': mkdir /media/movies: file exists
The above service is mounting my Shared Drive from Google under "/media/movies".
This works, and I can see my files.
ls -l shows me the following for the mounted movies folder:
Code:
uid=1000(test) gid=1000(test) groups=1000(test),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),101(lxd)
I also tried this image: linuxserver/jellyfin:latest and beside deploying a stack I also tried it as Docker YML or in Portainer via the GUI.
Always the same error.
Any idea what am I doing wrong?