Applies to: FreeNAS 11.x, TrueNAS 12.x
Recently had issue where I upgraded plex (inside iocage jail using PMS_Updater.sh script) on a newly created iocage jail and the settings pages no longer function in Plex web UI.
Media plays, media scan works, just nothing for that specific Plex server settings work and return "Server settings are unavailable". Log files woudl contain things like:
"Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it."
"Error received reading configuration for com.plexapp.system"
(see more examples in section below)
The core issue is that Plex changed their directory layout somewhere along the way to move the plexmediaserver library files (e.g. "libpython27.so") into a lib subdirectory, e.g.:
/usr/local/share/plexmediaserver/lib/ or /usr/local/etc/rc.d/plexmediaserver_plexpass/lib/
The jail startup script does not set the LD_LIBRARY_PATH to look there. One solution was "move everything from lib/* to main directory, but this will break on the next PMS_Updater.sh run.
The "correct" fix is to edit: (inside iocage/jail) "/usr/local/etc/rc.d/plexmediaserver" to set LD_LIBRARY_PATH environment variable to be "${SCRIPTPATH}/lib" when it starts Plex, e.g.:
Hopefully this helps someone (or even *me* if I break things again
)
Recently had issue where I upgraded plex (inside iocage jail using PMS_Updater.sh script) on a newly created iocage jail and the settings pages no longer function in Plex web UI.
Media plays, media scan works, just nothing for that specific Plex server settings work and return "Server settings are unavailable". Log files woudl contain things like:
"Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it."
"Error received reading configuration for com.plexapp.system"
(see more examples in section below)
There was an old thread that mentioned this error and I recall following the thread for a while and found a fix on another thread somewhere, so figured I would add another thread with a FIX.ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [tv.plex.agents.music], we're killing it.
ERROR - Error received reading configuration for tv.plex.agents.music
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.movieposterdb], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.movieposterdb
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.opensubtitles], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.opensubtitles
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.lastfm], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.lastfm
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.imdb], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.imdb
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.fanarttv], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.fanarttv
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [tv.plex.agents.movie], we're killing it.
ERROR - Error received reading configuration for tv.plex.agents.movie
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.none], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.none
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.themoviedb], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.themoviedb
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.htbackdrops], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.htbackdrops
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.plexthememusic], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.plexthememusic
ERROR - Timeout or error reading status line from plug-in pipe [org.musicbrainz.agents.music], we're killing it.
ERROR - Error received reading configuration for org.musicbrainz.agents.music
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.lyricfind], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.lyricfind
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.thetvdb], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Error received reading configuration for com.plexapp.agents.thetvdb
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.localmedia], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.localmedia
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [tv.plex.agents.series], we're killing it.
ERROR - Error received reading configuration for tv.plex.agents.series
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
ERROR - Error received reading configuration for com.plexapp.system
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.imdb], we're killing it.
ERROR - Error received reading configuration for com.plexapp.agents.imdb
The core issue is that Plex changed their directory layout somewhere along the way to move the plexmediaserver library files (e.g. "libpython27.so") into a lib subdirectory, e.g.:
/usr/local/share/plexmediaserver/lib/ or /usr/local/etc/rc.d/plexmediaserver_plexpass/lib/
The jail startup script does not set the LD_LIBRARY_PATH to look there. One solution was "move everything from lib/* to main directory, but this will break on the next PMS_Updater.sh run.
The "correct" fix is to edit: (inside iocage/jail) "/usr/local/etc/rc.d/plexmediaserver" to set LD_LIBRARY_PATH environment variable to be "${SCRIPTPATH}/lib" when it starts Plex, e.g.:
Code:
.... export HOME="${plexmediaserver_support_path}/Plex Media Server" export PYTHONHOME="/usr/local/share/plexmediaserver/Resources/Python" export SCRIPTPATH="/usr/local/share/plexmediaserver" export LD_LIBRARY_PATH="${SCRIPTPATH}/lib" export PLEX_MEDIA_SERVER_HOME="${SCRIPTPATH}" export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=${plexmediaserver_maxplugins} ....
Hopefully this helps someone (or even *me* if I break things again