Plex container - cant connect to web gui

Hello,
im pretty new with containers, so im testing out a Plex server running in a container. Im running this on a Pi 4 with a clean image image (2019-09-26-raspbian-buster.img). i have a docker-compose.yml file for starting plex and a few other containers. the others are all fine, and while i see no errors in the plex container log, the web interface times out.

docker info

pi:~ $ docker info
Client:
 Debug Mode: false

Server:
 Containers: 7
  Running: 1
  Paused: 0
  Stopped: 6
 Images: 8
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.88-v7l+
 Operating System: Raspbian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: armv7l
 CPUs: 4
 Total Memory: 3.814GiB
 Name: 4gb-pi
 ID: EVNS:VTMK:UUEI:ZVHH:H6RJ:U443:BN5J:WIIB:SPIY:P5S4:BV3F:T45E
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

docker compose

pi:~ $ docker-compose -v
docker-compose version 1.25.0, build b42d419

Searching the forums i see there is an issue with config file being on network storage, that is not the case here, its a newly created local directory in the pi home directory. created by the build process and also manually incase a permissions issue.
have tried to sudo the ‘docker-compose up’ command, same results.

docker-compose info

version: '3.7'
services:
  plex:
    container_name: plex
    image: linuxserver/plex:latest
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - VERSION=latest
    volumes:
      - ./plex/config:/config
      - ./plex/transcode:/transcode
      - ./media:/data

log file

[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] 01-envfile: executing... ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing... ,
,
-------------------------------------,
          _         (),
         | |  ___   _    __,
         | | / __| | |  /  \ ,
         | | \__ \ | | | () |,
         |_| |___/ |_|  \__/,
,
,
Brought to you by linuxserver.io,
We gratefully accept donations at:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    1000,
User gid:    1000,
-------------------------------------,
,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 40-chown-files: executing... ,
[cont-init.d] 40-chown-files: exited 0.,
[cont-init.d] 45-plex-claim: executing... ,
[cont-init.d] 45-plex-claim: exited 0.,
[cont-init.d] 50-gid-video: executing... ,
[cont-init.d] 50-gid-video: exited 0.,
[cont-init.d] 60-plex-update: executing... ,
,
,
,
#####################################################,
#   Login via the webui at http://<ip>:32400/web    #,
#   and restart the docker, because there was no    #,
#      plex token found in the preference file      #,
#####################################################,
,
,
[cont-init.d] 60-plex-update: exited 0.,
[cont-init.d] 99-custom-scripts: executing... ,
[custom-init] no custom files found exiting...,
[cont-init.d] 99-custom-scripts: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
Starting Plex Media Server.,
[services.d] done.

the log file ends here, it doesnt continue to try and start or anything else. i have left for as long as 30 minutes.

it looks like your intent is to use host networking, can you add

network_mode: host

also you can try netstat -tupln | grep 32400
to see if you are LISTENING on 32400 for plex

thank you, i missed that option, i will test and follow up

that was the fix, i really should have seen that one… thank you for the help

no worries, glad you got it working!

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