Hi all,
I’ve been attempting to set up a new Plex Media Server using a intel nuc running Ubuntu 18.04.03 and Docker, mounting a share from my ReadyNAS 316 onto the NUC and passing it through to docker.
docker-compose.yml
---
version: "3"
services:
plex:
image: linuxserver/plex
container_name: plex
network_mode: host
ports:
- 32400:32400
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
volumes:
- /mnt/media/videos/library:/config
- /mnt/media/videos/tvshows:/tvshows
- /mnt/media/videos/movies:/movies
- /home/greg/Plex/transcode:/transcode
restart: unless-stopped
I’ve mounted the share correctly as far as I can tell. I can see the mount from the terminal,
greg@machine:/mnt/media/videos/movies$ ls -larth
total 0
drwxrwxrwx 2 greg greg 0 Oct 3 17:56 Toy.Story.2.1999.1080p
drwxrwxrwx 2 greg greg 0 Oct 3 18:01 Toy.Story.1995.1080p
drwxrwxrwx 2 greg greg 0 Oct 6 01:00 ..
drwxrwxrwx 2 greg greg 0 Oct 6 01:22 .
and if I run docker exec -it plex /bin/bash
and look at the mounts, I can see that the files are present within the docker:
root@machine:/# cd movies
root@machine:/movies# ls -larth
total 4.0K
drwxrwxrwx 2 abc abc 0 Oct 3 16:56 Toy.Story.2.1999.1080p
drwxrwxrwx 2 abc abc 0 Oct 3 17:01 Toy.Story.1995.1080p
Furthermore when I’m in the Plex GUI I can see the folders and the files (screenshot below) when selecting the areas to scan for a library - however after multiple attempts with changing anything I can think of it’s not finding any of the files, it seems it can see the files, I’m wondering if there’s something permission wise I’m missing, or if anyone else has any thoughts on what might causing the problem?
Many Thanks.