Start Docker

Hello.
At the moment I have a PMS, which runs quite well. By a tip from a friend I wanted to try Docker Plex. Now I have get a script. Which comes from Dane22. I have a few questions about that.

As i’m not so familiar with Scripts:
Do i have to put my Username, Password and Token into the Script?
Just run the Script, and after that my Docker Plex is ready to go?

Does Docker Plex Scan all my Library new? Or is it only mapping from Source to Dockerside?
I’m asking this, bc the Scan would take much time, so i would Scan Folder by Folder, but manually if this is possible.

@dane22 Can you assist please?

You are more skilled with Docker than I and in the same timezone. :slight_smile:

Huh…Never used it before :wink:

Open up a terminal, and from there run the script.
It’ll then prompt for username etc.

No idea, but hopefully :smiley:

And the rest of your Q’s I’ll leave for other Docker folks up here, since as said, not a docker dude

That would be too easy.
I started the Script:

Blockquoteplex.tv Username: xxx
plex.tv Password:
plex.tv Password Repeated:
IP Address of PMS server: xxx.xxx.xxx.xxx
Comparing entered passwords
Comparing entered passwords ok
Getting PMS Server Identifier
Getting PMS Server Identifier ok
Getting User Token from plex.tv
Getting User Token from plex.tv ok
Getting PMS Claim Token
Getting PMS Claim Token ok
Claiming server
Fatal error happened
HTTP returned Status 401

Any Log where i can see why this Error happened?

You posted the log :wink:

The Claim URL should be allowed when not authenticated, if on the same IP-Net as the server.
The one thing you didn’t post, was the IP Address used, so I take it you didn’t typed 127.0.0.1 ?

Please try again, and use that as the IP Addy

The Claim URL should be allowed when not authenticated

https://www.plex.tv/claim/ if i type this, the token will be shown.
But not by an IP Adress. Only by the URL Adress.
Maybe that’s the error caused by that.
Doesnt matter if i type the Real IP from the Server or 127.0.0.1, same Error appears.

I have no idea what you mean with above?

Its about to get the Token, right?
if i type:
https://www.plex.tv/claim/ - the Token appears.
but not when i type by IP, no matter if type real IP like 123.456.789.0. or 127.0.0.1

It’s about getting the claim token, and then issue a post to your PMS, to activate it.

When we try to activate it, we get a 401 error, which means Unauthorized

Last should not happen, when a PMS is unclaimed, and url is accessed from the same IP net as the server.!

And my script does get a claim token, as indicated by:

What fails, is your PMS is refusing access to it, which should not happen

Can you make sure, that the Preferences.xml located in the Library/Plex Media Server does not have a value for the following settings:

  • PlexOnlineMail
  • PlexOnlineUsername
  • PlexOnlineHome
  • PlexOnlineToken

If it does, then backup the file, remove the value from the settings, and restart the PMS.
Then try again using the loopback address

If i do this, my PMS is not reachable.

Huh, please post your prefs.xml in a DM to me

The prefs file indicates, that your server is already claimed

It contains the keys:

  • PlexOnlineToken
  • PlexOnlineUsername
  • PlexOnlineMail
  • PlexOnlineHome

A server not claimed, does not contain above, or their value are “”

And the server was claimed for the username you have on the forums!

So if you still can’t access it, then either your browser is signed in as another user on plex.tv, or your server can’t access plex.tv
For the last, the PMS logs will tell though

Yes, PMS is already running for a while.
The Idea with Docker is to get a 2nd User, but using the same Library.

Huh…

I was pinged, and brought into this, because you could not claim it!

Somebody got off track here, and standing down again

And btw:

No idea what you mean by:

Yes, the Person that pinged you tried to claim it.
See, thats what i’m trying do to, as he told me this could me my solution of my Problem.

For now i got my PMS running very well. So far so good. But what i’m now to be trying is, to get a 2nd Instance. And Docker seems to be the Solution.
1st Instance is my Library now, which is running with that User you’ve seen in the Prefs. And now i’m trying to get a 2nd Instance with a new (2nd) User on it. So i maybe can split up my Librarys/Folders. Some for the 1st Instance with the 1st User, and some for the 2nd Instance (Docker) with the 2nd User, which will get the Plex-Pass also.

Sry for my Engl. Its not my native Langauge.

Not mine as well :smiley:

As said, not a docker dude, but simply setup a new container, and allow it access to your medias should do it, and no need to get another Plex-Pass

A user can own several PMS!

So in short, create a new container, and make sure that the PMS in that it has another IP address, and you should be fine

Any Idea where i can find a 100% working tutorial? I found many tutorials for that, and each of them are different.

I thought the Docker Plex must have only a different Port, but same IP?
Thats what i found out by looking for tutorials. Docker Plex should have 32401 instead of 32400.

How can i give the Docker Container an another IP, if i have and use only 1?

Already lost me, as said, never user docker :frowning:

Then we’re both lost. Until someone with Docker Skills can tell us what to do.

1 Like

I spoke to somebody, and they told me you ain’t using the official Plex Docker!

As such, you’ll have to ask the maintainer of the docker you are using