Plex MS Python 2.7 issue on Ubuntu: server settings are unavailable

Server Version#: plexmediaserver_1.22.1.4271-b86a5e175_amd64.deb
Linux version: Ubuntu 20.10
Player Version#: 4.56.4

Hello,

I upgraded Plex this morning to 4.56.4 via the .deb package and installing with apt.

Plex starts, but any attempt to change server settings results in “server settings are unavailable.”

A systemctl status check shows the following:

plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-05-14 07:11:30 PDT; 4s ago
Process: 5321 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=exited, status=0/SUCCESS)
Main PID: 5323 (Plex Media Serv)
Tasks: 40 (limit: 18466)
Memory: 36.1M
CGroup: /system.slice/plexmediaserver.service
└─5323 /usr/lib/plexmediaserver/Plex Media Server

May 14 07:11:30 belmont Plex Media Server[5402]: Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5404]: Plex Plug-in [tv.plex.agents.movie]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5403]: Plex Plug-in [com.plexapp.agents.imdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5406]: Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5407]: Plex Plug-in [com.plexapp.agents.themoviedb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5410]: Plex Plug-in [tv.plex.agents.music]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5409]: Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5411]: Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5412]: Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
May 14 07:11:30 belmont Plex Media Server[5414]: Plex Plug-in [com.plexapp.agents.imdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

This is fairly odd as I never saw this issue before the upgrade.

I was only running Python 3 previous to this issue, so I installed Python 2 as well in order to see if the issue resolved. It did not.

Here are my Python binaries:

ls -la /usr/bin/python*
lrwxrwxrwx 1 root root 9 Aug 4 2020 /usr/bin/python2 → python2.7
-rwxr-xr-x 1 root root 3621080 Aug 24 2020 /usr/bin/python2.7
lrwxrwxrwx 1 root root 9 Dec 7 15:27 /usr/bin/python3 → python3.8
-rwxr-xr-x 1 root root 5274328 Jan 27 07:42 /usr/bin/python3.8
-rwxr-xr-x 1 root root 384 Aug 5 2020 /usr/bin/python3-futurize
-rwxr-xr-x 1 root root 388 Aug 5 2020 /usr/bin/python3-pasteurize

I’m also seeing this error which I wasn’t before:

Plex Media Server.log:May 14, 2021 07:14:38.105 [0x7ff25547a640] ERROR - [CERT] PKCS12_parse failed: error:23076071:PKCS12 routines:PKCS12_parse:mac verify failure
Plex Media Server.log:May 14, 2021 07:14:38.105 [0x7ff25547a640] ERROR - [CERT] Found a user-provided certificate, but couldn’t install it.
Plex Media Server.log:May 14, 2021 07:14:42.064 [0x7ff24effd640] WARN - NAT: PMP, got an error: Not Supported by gateway.

Any help would be appreciated,

– Mike Beebe

  1. The Python errors you see are a red herring.
  2. The root cause preventing you from accessing Settings is because it will not authenticate.
  3. Authentication is failing because of the Certificate MAC verification failure.

Remove your user-generated certificate.

hi Chuck,

The cert is totally authentic and is not self-issued.

Also, there was no issue with the cert prior to the upgrade.

– Mike Beebe

It refused to install it because it didn’t match up.

One of the things which will cause failure is if the Intermediate CA isn’t included (verify the path).

Another is if the host info didn’t match (which is what this looks to be)

Hi Chuck,

The latest patch fixed both issues.

Thanks,

– Mike Beebe

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