Skip to content

[BUG] PLEX Roku client restarts PLEX server within container #450

@ShatteredRPG-Tex

Description

@ShatteredRPG-Tex

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I start the ROKU plex app and my PLEX server crashes.

Expected Behavior

ROKU app accesses PLEX normally.

Steps To Reproduce

  1. I start the PLEX container on Unraid.
  2. I open the docker log
  3. I wait for the log to say "Critical: libusb_init failed" indicating that the database is fully loaded.
  4. I access my PLEX for web to make sure any video stream plays
  5. I then start the Roku PLEX app
  6. As the ROKU app says "Connecting", the docker log repeats the red "Starting Plex Media Server. . . (you can ignore the libusb_init error)" followed by saying it bound to the local port and the libusb_init error. The docker container remains online and accessible
  7. PLEX on web is now unresponsive
  8. If I immediately try to navigate in the ROKU app, it tells me that it can't find the server BUT if I wait a minute, then I can access my PLEX server normally on the ROKU TV after the internal PMS restarts.
  9. if I don't wait, then when I tell the ROKU app to reconnect, it restarts the internal PMS again

Environment

- OS: Unraid 7.2.4
- How docker service was installed: using the Unraid Docker compose plugin

CPU architecture

x86-64

Docker creation

plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    #network_mode: host #I've noticed no difference between host & bridge; bridge used for short name in internal bridge network
    environment:
      - UMASK=000
      - PUID=99
      - PGID=100
      - TZ=America/Chicago
      - VERSION=docker
      #- PLEX_CLAIM=
      #https://account.plex.tv/claim
    ports:
      - 32400:32400
      - 1900:1900/udp
      - 5354:5353/udp #adjusted for unraid's mDNS
      - 8324:8324
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
      - 32469:32469
    devices:
      - /dev/dri:/dev/dri #for quicksync
    volumes:
      - ./PLEX/config:/config
      - /mnt/user/media:/media:ro
      #- /dev/shm:/transcode # /dev/shm defaults to half system RAM
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    tmpfs:
      - /transcode:size=64G
    labels:
      - homepage.group=Public
      - homepage.icon=sh-plex
      - homepage.name=PLEX
      - homepage.description=Media server
      - homepage.href=http://nostromo.local:32400
    networks:
      DLNetwork:
        aliases:
          - plex

Container logs

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: 1.43.1.10576-06378bdcd-ls300
Build-date: 2026-04-08T15:47:20+00:00
───────────────────────────────────────
    
**** permissions for /dev/dri/renderD128 are good ****
**** permissions for /dev/dri/card0 are good ****
Setting permissions on /transcode
**** Server already claimed ****
Docker is used for versioning skip update check
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[ls.io-init] done.
Critical: libusb_init failed
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Connection to localhost (::1) 32400 port [tcp/*] succeeded!
Critical: libusb_init failed
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Connection to localhost (::1) 32400 port [tcp/*] succeeded!
Critical: libusb_init failed
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Connection to localhost (::1) 32400 port [tcp/*] succeeded!
Critical: libusb_init failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions