anandslab / docker-traefik

Docker media and home server stack with Docker Compose, Traefik, Swarm Mode, Google OAuth2/Authelia, and LetsEncrypt
https://www.smarthomebeginner.com/
MIT License
2.9k stars 630 forks source link

Plex Only Showing Player and Not Accessible Outside Network #275

Closed zsanders61 closed 2 years ago

zsanders61 commented 2 years ago

I'm having a a couple issues getting Plex to work in a docker container with Traefik. I've followed the Traefik2 tutorial on smarthomebeginner, and I'm able to reach the dashboard. However, whenever I try to access my plex server outside of my network, I get a 401 unauthorized access error. Whenever I try to access my Plex server inside of my network, I am only ably to see the player, and am unable to manage the container as a server. Below I have attache the Plex portion of my yaml file.

Plex - Media Server

plexms: image: plexinc/pms-docker:public container_name: plexms restart: "no" networks:

anandslab commented 2 years ago

You plex claim file appears to be wrong path. The path should the path of the claim file inside the container. But your appears to be on your host machine.

zsanders61 commented 2 years ago

It looks like I accidentally copy and pasted the yaml from someone else's issue. I've edited my original post with the correct yaml.

zsanders61 commented 2 years ago

I'm still having the issue. I can can access Plex outside my network now after I added the advertise IP line, but I still only see the player. I've tried several claim tokens and have not been able to get it working.

gerardsyd commented 2 years ago

@zsanders61 did you get this fixed? For advertise IP, are you using the internal IP on traefik for plex or the internal IP of the server or the external IP of the server? Thanks!