pve78 3 Posted December 23, 2024 Posted December 23, 2024 I have a Proxmox server running Ubuntu Server LTS. It runs all of my docker instances. I have Emby running in docker. There's a 4TB USB drive connected to Proxmox and I have it available only to that VM via pass-through. I formatted the disk, can mount it via command prompt and set up Samba so I can SMB to the share to copy my videos over. I created a Samba account named "emby" and via MacOS, connected to that share with that account and copied files over. Emby cannot see the files on that drive... docker-compose.yml version: "2.3" services: emby: image: emby/embyserver container_name: Emby_Server #runtime: nvidia # Expose NVIDIA GPUs #network_mode: host # Enable DLNA and Wake-on-Lan environment: - UID=0 # The UID to run emby as (default: 2) - GID=0 # The GID to run emby as (default 2) - GIDLIST=0,1000,1002 # A comma-separated list of additional GIDs to run emby as (default: 2) volumes: - /path/to/programdata:/config # Configuration directory - /path/to/tvshows:/mnt/usb/TV # Media directory - /path/to/movies:/mnt/usb/Movies # Media directory - /path/to/music:/mnt/usb/Music ports: - 8096:8096 # HTTP port - 8920:8920 # HTTPS port #devices: #- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes #- /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi restart: always Same thing happens on stock yml file. root@portainer:/docker/emby# ls -l /mnt/usb/Movies/ total 907112 -rwxrwsrwx 1 emby users 928878218 Jun 29 09:30 'my-movie.mp4'
Luke 42077 Posted December 24, 2024 Posted December 24, 2024 Hi, what exactly do you mean by cannot see the files?
pve78 3 Posted December 24, 2024 Author Posted December 24, 2024 When I have emby server scan the library it never finds any video files despite there being some.
Neminem 1518 Posted December 24, 2024 Posted December 24, 2024 If the above compose file is the 1 you used. Then you have not specified any paths. volumes: - /path/to/programdata:/config # Configuration directory - /path/to/tvshows:/mnt/usb/TV # Media directory - /path/to/movies:/mnt/usb/Movies # Media directory - /path/to/music:/mnt/usb/Music You need to tell your docker where it is stored.
Neminem 1518 Posted December 24, 2024 Posted December 24, 2024 Ok I see now. You have only set paths inside the docker and not host path. This should reflect you host paths. /path/to/tvshows
pve78 3 Posted December 24, 2024 Author Posted December 24, 2024 (edited) Are you saying that it should be like this? -/mnt/usb/Music:/mnt/usb/Music In the server settings where you create a library, the location drop down does have my mnt locations. Edited December 24, 2024 by pve78
Solution Neminem 1518 Posted December 24, 2024 Solution Posted December 24, 2024 (edited) Yes - /path/to/tvshows:/mnt/usb/TV Green = Host path Blue = path inside docker. : is a delimiter / seperator In short <source>:<target> Docker Mount Volume – How To Mount a Local Directory Edited December 24, 2024 by Neminem 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now