NAS Not Available After Building the Container

Server Version#: latest set via docker-compose and maintained through watchtower
Player Version#: browser based

Hi All

I’m having a challenge establishing a connection between the external drive (a NAS that includes movies) and the container (its a plex container).

  • I have been able to successfully mount the NAS drive to the Ubuntu server.
  • Under volumes, I have given it the path that is shown on the Ubuntu server
  • It doesn’t look like there is any error in the docker logs for the container that I can identify

While I’m getting better with docker-compose, I’m still relatively new in converting my homelab from OpenMediaVault to docker.

Can anyone provide advice on how to have the container recognize an external drive?

services:
  plex:
    image: plexinc/pms-docker
    restart: unless-stopped
    container_name: plexms
    ports:
      - "32400:32400/tcp"
    environment:
      - PUID=1000
      - PGID=1000
      - PLEX_CLAIM=claim-1111111111111
      - HOSTNAME=”PlexServer”
      - TZ="America/Chicago”
    volumes:
      - "/home/wiinc1/mediacenter/plex/config:/config"
      - "/home/wiinc1/mediacenter/plex/transcodes:/transcode/"
      - "/home/wiinc1/NAS"

Docker container log

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 40-plex-first-run: executing... 
Creating pref shell
Attempting to obtain server token from claim token
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Plex Media Server first run setup complete
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... 
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
[cont-init.d] 50-plex-update: executing... 
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.
Critical: libusb_init failed

This bind mount is incomplete. Try this instead:

  • “/home/wiinc1/NAS:/data”

Thank you @frederick.grayson - Ill give that a try.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.