zSeriesGuy / Tautulli

A Python based monitoring and tracking tool for Plex Media Server.
http://tautulli.com
GNU General Public License v3.0
27 stars 9 forks source link

No Servers Defined #31

Closed Tauli-gif closed 4 years ago

Tauli-gif commented 4 years ago

Version: Latest version on git as of 2020-03-25 Branch: Tautulli V4.0.12 Commit hash:

Operating system: Windows Python version: 3.8.2 What you did? logged in to my account What happened? No Servers Defined What are your (relevant) settings? Not sure what other settings to note here

zSeriesGuy commented 4 years ago

Please provide your log. See instructions here: https://github.com/Tautulli/Tautulli-Wiki/wiki/Asking-for-Support#how-can-i-share-my-logs

zSeriesGuy commented 4 years ago

I have tested with Python 3.8.0. I'll give it a shot with 3.8.2 to see if I can recreate.

zSeriesGuy commented 4 years ago

I tested with Python 3.8.2 and did not have any problems. If you go into Tautulli Settings->Plex Media Servers, are your servers listed? Perhaps not enabled?

Tauli-gif commented 4 years ago

If you go into Tautulli Settings->Plex Media Servers, are your servers listed? Perhaps not enabled?

No Tau 4 tautulli.log

Tauli-gif commented 4 years ago

I have now installed the version Tautulli-3.0.00 with Python 2.7.16. There both servers are shown to me but one with the IP 127.0.0.1 and it is supposedly offline. tautulli.log

Tau 3 1 Tau 3 2

zSeriesGuy commented 4 years ago

I am not supporting the V3.0.0 release anymore. Only reason that branch is still there is because of a pull request to the original Tautulli repo.

Looking at your first log from the V4 installation, I see some errors that I'll try to recreate and see what is going on.

zSeriesGuy commented 4 years ago

I have attempted to recreate what I thought might be the issue. But it worked fine for me. I pushed a couple of small changes to my repo. Could you download a fresh copy of the master branch and try it again? When you start Tautulli, please add --verbose to the start command. Send the log again from this test.

Tauli-gif commented 4 years ago

Thanks for the help, here the current log.

tautulli.log

zSeriesGuy commented 4 years ago

The log says No Plex Servers Found...which is weird since your test with V3.0.0 had found the two servers. Are your servers claimed to the same user that you are logging into Tautulli with? Do you see your servers when you log into plex web at https://app.plex.tv/desktop with that same user? Have you defined anything different from defaults with the remote access on these servers such as the use of SSL, or custom URL, or anything else?

Try this from your browser: https://plex.tv/api/resources?X-Plex-Token=your-plex-token Get your plex token from the bottom of the Plex Media Server tab of the Tautulli settings. It should return an xml list of your devices which should include your servers.

But don't put that information here without cleaning it up since it contains some authentication information.

Tauli-gif commented 4 years ago

Are your servers claimed to the same user that you are logging into Tautulli with?

Only one of the servers each server has its own user.

Do you see your servers when you log into plex web at https://app.plex.tv/desktop with that same user?

Yes

Have you defined anything different from defaults with the remote access on these servers such as the use of SSL, or custom URL, or anything else?

Secure connections only, nothing else.

20200403_205731 (Screenshot is from TV, I am not at home today.)

Tauli-gif commented 4 years ago

I have now reinstalled Tautulli-master and Python 3.8.2. Now my servers are found but I cannot activate the second server.

tautulli.log

Opera Momentaufnahme_2020-04-06_220532_localhost Opera Momentaufnahme_2020-04-06_215717_localhost

zSeriesGuy commented 4 years ago

Click on the gear to the right of that server in order to un-delete it.

Tauli-gif commented 4 years ago

I can't click anything on the server below. And I don't want to delete it either.

zSeriesGuy commented 4 years ago

There should be a gear to access the server's settings to the right of each server. If you click on it, it will give you a message that will allow you to un-delete it. Once it is un-deleted, you can then enable it.

Tauli-gif commented 4 years ago

Where?

Plex

zSeriesGuy commented 4 years ago

LOL...dang. I never tested that. The gear is being cut off on your screen resolution. Try making the browser window a little smaller. It should then wrap the SERVERS box under the settings menu. I'll see about fixing that box. What resolution is your monitor?

Tauli-gif commented 4 years ago

Okay, now I see it. ^^ My default resolution is 1152x864.

Tauli-gif commented 4 years ago

I don't know what I'm doing wrong. When I login to Tautulli with the account from server one, sever one is active and server two is down. And when I log on to Tautulli with the account of server two, server two is active and server one is down. :(

Opera Momentaufnahme_2020-04-07_220121_localhost Opera Momentaufnahme_2020-04-07_220216_localhost 78293545-fd7a1700-7528-11ea-9f73-b7203248ec72

Sorry for my bad English.

zSeriesGuy commented 4 years ago

This version of Tautulli does not support multiple owners. It finds all servers OWNED by the userid that you sign into Tautulli with. So if the plex servers are owned by different plex login accounts, this won't work.

Your english is very good. Much better than my Deutsche.

Tauli-gif commented 4 years ago

This version of Tautulli does not support multiple owners. It finds all servers OWNED by the userid that you sign into Tautulli with. So if the plex servers are owned by different plex login accounts, this won't work.

Oh, all right, is that gonna be possible anytime soon?

Your english is very good. Much better than my Deutsche.

Thanks :)

zSeriesGuy commented 4 years ago

Not likely. When I first wrote this version of Tautulli, my intent was to contribute to the original product. But they didn't accept my changes. Now that they are working on a Python 3 version, I may consider rewriting my code the correct way to contribute. This version is getting too far out of sync with the original.

zSeriesGuy commented 4 years ago

@Tauli-gif I just published a new branch (MultiAccounts) that will give you multiple Plex.TV account capability. This is BETA code. So be sure to back up you tautulli database and config before switching to this branch.

If you find any problems, please open a new issue here.