Jump to content

Emby in Docker - can't see library on USB Flash drive


Go to solution Solved by Neminem,

Recommended Posts

Posted

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'

 

Posted

Hi, what exactly do you mean by cannot see the files?

Posted

When I have emby server scan the library it never finds any video files despite there being some. 

Posted

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.

Posted

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 

Posted (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 by pve78

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...