Thanks for this. Will be trying this theory tonight as I've been going through all of the same troubleshooting. Only difference is I'm using the hotio plex container. I DID verify that I'm on the Plex 1.40 branch however.
What troubles did you have? My working installation has stopped working, giving me a 500 error every time I try to login with no errors in the logfile.