I don’t seem to be able to run the linuxserver Plex docker container correctly. The docker compose file is simple and copied below. The user PUID and group PGID are obtained from /etc/passwd entries or “id -u”. The user with PUID and PGID has full permission to /myconfig and /mymovies in the host. I tried various different users, some with admin privileges.

The container runs, but in the PLEX account I don’t see any option to find local media. There is a bunch of annoying TV and movie and streaming advertisements/promotions.

What am I doing wrong?

---
version: "2.1"
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=  1026
      - PGID= 100 
      - VERSION=docker
     volumes:
      - /myconfig:/config
      - /mymovies:/movies
    restart: unless-stopped

1 point

during setup, when on the Media Library step you should be able to add any library you want and set the path for it. It’s been a while since I went through setup. but you can skip all that, and once plex loads up go to settings.

  1. Scroll down on the left to Manage > Libraries
  2. delete any Discover or any annoying streaming library
  3. click Add Library
  4. just go through the wizard. It should let you pick your path
permalink
report
reply
1 point

These are server settings. The container shows the settings in the user account in the company website. It doesn’t recognize any server.

There is a “+Your Media” which brings a page: download and install plex server!

permalink
report
parent
reply
1 point

I don’t see any exposed ports in this config

permalink
report
reply

Self-Hosted Main

!main@selfhosted.forum

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

For Example

  • Service: Dropbox - Alternative: Nextcloud
  • Service: Google Reader - Alternative: Tiny Tiny RSS
  • Service: Blogger - Alternative: WordPress

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

Community stats

  • 23

    Monthly active users

  • 1.8K

    Posts

  • 11K

    Comments

Community moderators