Hello,
I originally installed Plex on a Synology NAS. I’m experiencing buffering issues so I decided to move Plex to a more powerful machine. This time around, I decided to use docker-compose on Ubuntu.
Here’s the docker compose file:
services:
plex:
image: linuxserver/plex
container_name: plex
network_mode: host
environment:
- PUID=911 #CHANGE_TO_YOUR_UID
- PGID=911 #CHANGE_TO_YOUR_GID
- TZ=America/Toronto #CHANGE_TO_YOUR_TZ
- VERSION=latest
volumes:
- /home/user/docker/plex/config:/config
- /home/user/docker/plex/mnt:/data/media
devices:
- /dev/dri:/dev/dri
restart: unless-stopped
When I launch Plex, I attempt to browse to http:<ip>:32400/web. When I do this, I’m prompted to setup the server. Once I’ve chosen a name for the server and click next to proceed to the media section of the server setup menu, I am presented with the “Not authorized” error message.
I tried several things to debug this issue:
- I tried to include a claim token within the Docker compose file. This resulted in the same error message.
- I suspected it could be Docker networking. I installed PMS natively on the Ubuntu host. I received the same error message.
- After messing around with the Preferences.xml file, it appears that the “Not authorized” error message only appears once my account credentials have been entered into this file. I tried modifying the permissions on the file.
None of the debugging steps helped.
Any advice would be greatly appreciated!
Thanks,
sent1ent
EDIT:
- I also tried the SSH port forwarding trick and this. Same result.
