Docker version failing to load python2

Server Version#: 1.22.1.4271
Player Version#: Web interface

I have Plex running in a docker container, using the latest image from plexinc/pms-docker. I also run Watchtower, which makes sure I’m always up-to-date on new releases as they are pushed to DockerHub.

Lately I’ve been having issues with Plex, and today I noticed that Metadata Refresh has stopped working, and just flashes the magnifying glass without triggering an actual refresh. In addition, when I now go into the Server options in the web interface, it shows the message “Server settings are unavailable.”

Looking at the Plex container server log, this is what I get:

plex          | [fix-attrs.d] applying ownership & permissions fixes...
plex          | [fix-attrs.d] done.
plex          | [cont-init.d] executing container initialization scripts...
plex          | [cont-init.d] 40-plex-first-run: executing...
plex          | [cont-init.d] 40-plex-first-run: exited 0.
plex          | [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing...
plex          | [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
plex          | [cont-init.d] 50-plex-update: executing...
plex          | [cont-init.d] 50-plex-update: exited 0.
plex          | [cont-init.d] done.
plex          | [services.d] starting services
plex          | [services.d] done.
plex          | Starting Plex Media Server.
plex          | 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
plex          | 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
plex          | 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
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.lyricfind]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | 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
plex          | 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
plex          | 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
plex          | 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
plex          | Plex Plug-in [org.musicbrainz.agents.music]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.opensubtitles]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | /usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libcurl.so: cannot open shared object file: No such file or directory
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.none]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | Plex Plug-in [tv.plex.agents.series]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.movieposterdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.localmedia]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.htbackdrops]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | Plex Plug-in [com.plexapp.agents.lastfm]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.fanarttv]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | Plex Plug-in [com.plexapp.agents.thetvdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.plexthememusic]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | Plex Plug-in [com.plexapp.agents.subzero]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
plex          | 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
plex          | 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
plex          | 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
plex          | 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
plex          | 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
plex          | /usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libcurl.so: cannot open shared object file: No such file or directory
plex          | /usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libcurl.so: cannot open shared object file: No such file or directory

So, obviously some dependencies are now incorrect in the docker container, compared to what the latest’ish version of Plex Server requires.

I have not yet started a binary search of which release broke the docker container, but y’all (Plex devs) probably have a much better idea.

There was an issue with this version (and the beta version which quickly followed it) which caused problems such as you’re seeing. The issue was corrected in .4275 (public) and .4276 (beta). Try upgrading to the latest release available to you on your update channel and it should (hopefully) result in a fully-functional server.

Thank you @pshanew
Seems I should be using the plexinc/pms-docker:plexpass tag instead of latest, as the plexpass one will always download the latest, even if the docker image hasn’t been rebuilt yet.

No problem. And I actually use the “plexpass” tag for my Plex Docker and it’s always current after a “docker restart plex.”

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