Closed BzowK closed 5 years ago
Don't use a remote share for the config folder. Use a local folder.
Thanks for the reply...
I just tried that plus unintentionally spent 2 more hours on it this morning and got the exact same results. Basically, I deleted the container, then recreated it with the same string above but excluded the line mounting the /config volume. I was able to start the container and again access it's WebUI and log in, but still cannot see the server listed.
I tried restarting the container after initial power on as well as deleting Preferences.xml from within the container then restarting a couple of times afterwards. It recreated the file, but got the exact same results.
I'm happy to post updated logs and such, but after detailed review; the exact same issues appear as what I posted previously. Preferences.xml doesn't mention a token, Plex logs have ...X-Plex-Token= with no token afterwards and do not mention my username, and I still get the below in the Docker log
------------------------------------------------------
Login via the webui at http://<ip>:32400/web,
and restart the docker, because there was no,
preference file found, possibly first startup. ,
------------------------------------------------------
Think installing PMS on a linux box then copying it's Preferences.xml over would successfully jumpstart it?
Any more suggestions? Thanks
I'd suggest deleting all data in the ~plex/config folder and start the container over from scratch.
Or specify another folder for testing.
How did you install docker? Through fedora repo or docker.com? Install it from docker.com if you installed it from the fedora repo.
Another thing, don't run the container with root for PUID and PGID. Use a normal user.
How have you got on with re-creating and not running as root?
Hey -
Sorry for late reply - I've been crazy busy, but plan to test again by the weekend and will update. Thanks!
I think I have a similar issue here. I've set setup Plex using docker-compose
, but when i go to access plex with http://my-ip:32400/web
it prompts me to login, then after logging in it only shows me my shared servers.
This is with a brand new installation. I know using http://localhost:32400/web
solves issues sometimes, but I'm not sure how I can do that while using docker?
Use host networking to set up initially and make sure that the computer you are connecting from is on the same subnet as the plex server.
If not, you can use the ssh tunnel method to get on the same subnet.
Once set up, you can switch to bridge networking
I am using host networking and I only have one subnet.
EDIT: I'm sorry, i deleted the config folder, restarted and tried a different computer and now it is working. Apologies.
I had to manually add my token from another working install, even though I am on the same subnet as the plex device being configured
Use host networking to set up initially and make sure that the computer you are connecting from is on the same subnet as the plex server.
If not, you can use the ssh tunnel method to get on the same subnet.
Once set up, you can switch to bridge networking
Doing this (using host networking for initial setup) worked quite well for me.
Closing due to lack of activity.
same problem
Well, I was facing the same issue and my issue was not connecting to my server directly first (using internal LAN IP address).
So, what I did was:
Hopefully it may help some of you.
Hey Guys -
Being tired of my massive Plex library transcoding on my primary workstation, I decided to move it into a Docker container today. I run Docker on a dedicated system which runs Atomic Fedora 28. After creating and starting the container, I can connect to the WebUI & login to Plex to see my other libraries, but have no reference to the local server. Below are a few details and what I've tried:
The Issue
Upon first start with the above create string, I am able to browse to http://_ipofdockerhost:_32400/web/index.php where I am prompted to sign into Plex. I do so successfully and am presented with my Plex dashboard yet its connected to my current primary Plex server on my workstation. Clicking the list of servers only show it and a couple of shared ones - nothing new.
I checked the logs and as with issue #100, the logs at startup state: (full log below)
I tried restarting the container with the same results so then tried renaming preferences.xml, restarting the container, then restarting it again. Same story. To note, my preferences.xml is located on a mounted folder on the host - not in the container. My preferences.xml is in the following format:
To note, I did see in "Plex Media Server.log" (full contents below) that there were only 3 results when searching for "token" with the below being the result for each. I didn't delete the token - it isn't listed. My Plex username isn't listed, either; despite logging in and is all over the same log for my workstation.
Container Installation
Below is the string I used to create the most recent container. I initially created it without defining the ports and using "--net=host", but couldn't access it:
Atomic Notes
Logs
Below is the latest container log as well as a couple of logs from Plex within the container (written to mounted volume), itself...
Environmental Notes (May help when viewing below logs)
Latest Container Log
Latest Plex DLNA Server Log
Latest Plex Media Server Log
Any suggestions? Sorry for the long post :) Thanks!