To explain away some of your issues here gents (and ladies)
when Plex is in a virgin state or just reset via container you'll need to hit up the port with a /web in your browser.
That's why you're getting the weird XML bug. hit up your.servers.ip.address:32400/web to get around this specific error. if you haven't already resolved this I mean.
Peace