Running Plexconnect on Proxmox VM (Ubuntu 18.04)

Hi, I went through quite a journey (hell) on this, so I’d thought if anyone is doing the same thing, this might help.

Disclaimer, I am a total newbie when it comes to virtualization, so if there are better ways to do this, by all means, let me and others know!

So I am running PLEX on an Ubuntu 18.04 Server VM on Proxmox, and I wanted to get PLEX onto my ATV3. So I created another Ubuntu 18.04 Server VM on my Proxmox for PlexConnect.

I followed the Linux guide on the wiki and everything went fine till the login to PLEX part, which failed no mater if I used my email, user name. I had even changed my password. When I checked back on the PlexConnect side, it said PlexAPI: Authentication Failed. I reset the ATV3, that didn’t work. And then, I came across this post which specified the Python version needed.

Turns out, I have only Python 2.7.17 on my Ubuntu 18.04, and Python 2.7.9 is needed if we are to login to PLEX according to this post. So I set out to update my Python, but it just won’t work, as Ubuntu thinks that 2.7.17 was the most updated version.

That is until I came across this other site on updating Python to 2.7.18. Yup you read that right, this site is for 2.7.18, not 2.7.9. So I tweaked it, for the all the instances of 2.7.18, I changed the code to 2.7.9, and I got Python 2.7.9 installed! Although this is only within the directory of Python-2.7.9. So I moved the whole PlexConnect directory to the directory where Python 2.7.9 is running, and viola! I can finally log into PLEX!

I hope this helps whoever that’s working on something similar, or if you’re pro and knows a better way, do let us know!

Did you try this instead ?

1 Like

@chung999, I am also planning to use Proxmox and create an Ubuntu VM for my Plex Media Server and PlexConnect so thank you for sharing your experience. I don’t have much knowledge in using Ubuntu (I’ve previously setup PMS and PlexConnect on Windows 10) so I have some questions:

  1. Can I install PMS on Ubuntu 20.04.1?
  2. Since Python 2.7.18 is now recommended for PlexConnect (see 2nd link in your post), can I just follow the guide on the 3rd link in your post (no need to change 2.7.18 with 2.7.9)?
  3. Can I install PMS and PlexConnect on the same Ubuntu VM instead of creating 2 separate VMs?

@moody_blue, feel free to answer my questions as well. You were the one who helped me before in troubleshooting my PlexConnect in Windows 10.

I am still a noob on the virtualising front, just getting a VM running was a bit daunting already, so I stuck to a whole VM implementation. Will def explore Docker next time I need to set sth up, hopefully I would be comfortable enough with some sort of containerisation by then.

@lincapp024

  1. I am guessing Ubuntu 20.04.1 should work for this case as well, just remember to check the Python version after install to see if it matches the requirement
  2. That’s the weird part, they still say Python 2.7.9 is the minimum level you can use to login to plex.tv, so I my bet is still trying 2.7.9, as this part isn’t really that much work
  3. Yes you can! I didn’t set up a daemon to keep the script running in the background (Linux noob problems), but if you do that, the PlexConnect stuff will just run in the background and you’ll be fine. Right now, I use my Proxmox web GUI shell to run the script and I ssh via Terminal if I need to do other operations on the VM.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.