Doesn't start after upgrade

Server Version: 1.42.2.10156-f737b826c

Upgrade using apt

Systemd

❯ systemctl status -l plexmediaserver.service | tee
× plexmediaserver.service - Plex Media Server
     Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
     Active: failed (Result: core-dump) since Tue 2025-09-23 13:50:33 UTC; 13min ago
    Process: 11278 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)
    Process: 11280 ExecStart=/bin/sh -c  export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )";  export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)";  export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION="$(grep ^VERSION= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )";  exec "/usr/lib/plexmediaserver/Plex Media Server" (code=dumped, signal=SEGV)
   Main PID: 11280 (code=dumped, signal=SEGV)
        CPU: 89ms

Sep 23 13:50:33 skynet-laptop systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
Sep 23 13:50:33 skynet-laptop systemd[1]: Stopped Plex Media Server.
Sep 23 13:50:33 skynet-laptop systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Sep 23 13:50:33 skynet-laptop systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
Sep 23 13:50:33 skynet-laptop systemd[1]: Failed to start Plex Media Server.

Failed on server after upgrade:

❯ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

PMS logs

❯ cat /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log2025-09-23 13:29:55,764 (7f3e40f00808) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 4e8b05d (Mon Aug 11 08:51:15 UTC 2025)2025-09-23 13:29:55,765 (7f3e40f00808) :  DEBUG (core:361) - Using the elevated policy2025-09-23 13:29:55,765 (7f3e40f00808) :  DEBUG (core:365) - Extending whitelist: [‘cgi’, ‘tempfile’]2025-09-23 13:29:55,765 (7f3e40f00808) :  DEBUG (core:450) - Starting runtime component.2025-09-23 13:29:55,767 (7f3e40f00808) :  DEBUG (core:450) - Starting caching component.2025-09-23 13:29:55,767 (7f3e40f00808) :  DEBUG (core:450) - Starting data component.2025-09-23 13:29:55,767 (7f3e40f00808) :  DEBUG (core:450) - Starting networking component.2025-09-23 13:29:55,768 (7f3e40f00808) :  DEBUG (networking:262) - Loaded HTTP cookies2025-09-23 13:29:55,768 (7f3e40f00808) :  DEBUG (networking:434) - Setting the default network timeout to 20.02025-09-23 13:29:55,768 (7f3e40f00808) :  DEBUG (core:450) - Starting localization component.2025-09-23 13:29:55,769 (7f3e40f00808) :  INFO (localization:409) - Setting the default locale to en-us2025-09-23 13:29:55,769 (7f3e40f00808) :  WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name enclosed in double quotes: line 26 column 1 (char 1078)2025-09-23 13:29:55,770 (7f3e40f00808) :  DEBUG (localization:427) - Loaded en strings2025-09-23 13:29:55,770 (7f3e40f00808) :  DEBUG (core:450) - Starting messaging component.2025-09-23 13:29:55,770 (7f3e40f00808) :  DEBUG (core:450) - Starting debugging component.2025-09-23 13:29:55,771 (7f3e40f00808) :  DEBUG (core:450) - Starting services component.2025-09-23 13:29:55,771 (7f3e40f00808) :  DEBUG (core:450) - Starting myplex component.2025-09-23 13:29:55,771 (7f3e40f00808) :  DEBUG (core:450) - Starting notifications component.2025-09-23 13:29:55,852 (7f3e40f00808) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.system in namespace ‘metadata’2025-09-23 13:29:55,860 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘load_all_services’2025-09-23 13:29:55,860 (7f3e3d922b38) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system2025-09-23 13:29:55,861 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘get_server_info’2025-09-23 13:29:55,861 (7f3e40f00808) :  DEBUG (core:150) - Finished starting framework core2025-09-23 13:29:55,861 (7f3e3d922b38) :  DEBUG (networking:144) - Requesting ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_’2025-09-23 13:29:55,862 (7f3e3d8dcb38) :  DEBUG (networking:144) - Requesting ‘http://127.0.0.1:32400’2025-09-23 13:29:55,862 (7f3e40f00808) :  DEBUG (core:560) - Loading plug-in code2025-09-23 13:29:55,863 (7f3e3d922b38) :  ERROR (services:272) - Unable to load services from system. Loading from the current bundle only.2025-09-23 13:29:55,863 (7f3e3d8dcb38) :  WARNING (core:541) - Unable to retrieve the machine identifier or server version.2025-09-23 13:29:55,875 (7f3e3d922b38) :  DEBUG (services:362) - Loaded services2025-09-23 13:29:55,879 (7f3e3d8ffb38) :  DEBUG (services:438) - No shared code to load2025-09-23 13:29:55,882 (7f3e40f00808) :  DEBUG (core:566) - Finished loading plug-in code2025-09-23 13:29:55,882 (7f3e40f00808) :  DEBUG (runtime:640) - Adding a prefix handler for ‘System’ (‘/system’)2025-09-23 13:29:56,312 (7f3e40f00808) :  INFO (init:35) - Starting System 4e8b05d (Mon Aug 11 08:51:15 UTC 2025)2025-09-23 13:29:56,312 (7f3e40f00808) :  DEBUG (runtime:640) - Adding a prefix handler for ‘Player’ (‘/player’)2025-09-23 13:29:56,316 (7f3e40f00808) :  INFO (datakit:93) - Loaded the dictionary file2025-09-23 13:29:56,317 (7f3e40f00808) :  DEBUG (agentservice:52) - Starting the agent service2025-09-23 13:29:56,396 (7f3e40f00808) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.system in namespace ‘metadata’2025-09-23 13:29:56,401 (7f3e40f00808) :  DEBUG (bundleservice:65) - Starting the bundle service2025-09-23 13:29:56,402 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘start’2025-09-23 13:29:56,402 (7f3e40f00808) :  DEBUG (playerservice:12) - Starting the player service2025-09-23 13:29:56,402 (7f3e40f00808) :  DEBUG (flagservice:13) - Starting the media flag service2025-09-23 13:29:56,403 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘start’2025-09-23 13:29:56,403 (7f3e40f00808) :  DEBUG (peerservice:141) - Starting the peer service2025-09-23 13:29:56,404 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,404 (7f3e3d6b7b38) :  DEBUG (peerservice:164) - Fetching the current list of servers2025-09-23 13:29:56,405 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘refresh_servers’2025-09-23 13:29:56,405 (7f3e3d6b7b38) :  DEBUG (networking:144) - Requesting ‘http://127.0.0.1:32400/servers’2025-09-23 13:29:56,405 (7f3e40f00808) :  DEBUG (runtime:1150) - Scheduled a timed thread named ‘refresh_servers’2025-09-23 13:29:56,406 (7f3e40f00808) :  DEBUG (streamservice:18) - Starting the stream service2025-09-23 13:29:56,406 (7f3e40f00808) :  CRITICAL (runtime:709) - Private handlers are no longer supported; couldn’t register <bound method StreamService.token_handler of <streamservice.StreamService object at 0x7f3e3e353b90>>2025-09-23 13:29:56,407 (7f3e40f00808) :  DEBUG (runtime:1150) - Scheduled a timed thread named ‘invalidation_timer’2025-09-23 13:29:56,407 (7f3e40f00808) :  DEBUG (proxyservice:12) - Starting the proxy service2025-09-23 13:29:56,410 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,411 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,411 (7f3e3d6b7b38) :  CRITICAL (runtime:1128) - Exception in thread named ‘refresh_servers’ (most recent call last):File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py”, line 1126, in _start_threadf(*args, **kwargs)File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/System.bundle/Contents/Code/peerservice.py”, line 169, in refresh_serversservers_el = self.get_servers_el()File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/System.bundle/Contents/Code/peerservice.py”, line 165, in get_servers_elreturn XML.ElementFromURL(‘http://127.0.0.1:32400/servers’, cacheTime = 0)File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py”, line 344, in ElementFromURLmethod=method,File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py”, line 67, in _http_requestreq = self._core.networking.http_request(url, *args, **kwargs)File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 352, in http_requestreturn HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 119, in initself.load()File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 159, in loadf = self._opener.open(req, timeout=self._timeout)File “/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py”, line 429, in openresponse = self._open(req, data)File “/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py”, line 447, in _open‘_open’, req)File “/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py”, line 407, in _call_chainresult = func(*args)File “/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py”, line 1228, in http_openreturn self.do_open(httplib.HTTPConnection, req)File “/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py”, line 1198, in do_openraise URLError(err)URLError: <urlopen error [Errno 111] Connection refused>

2025-09-23 13:29:56,412 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,413 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘update_attribution_flags_inner’2025-09-23 13:29:56,413 (7f3e40f00808) :  INFO (core:611) - Started plug-in2025-09-23 13:29:56,413 (7f3e40f00808) :  DEBUG (socketinterface:160) - Starting socket server2025-09-23 13:29:56,413 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,414 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,414 (7f3e40f00808) :  DEBUG (runtime:1117) - Created a thread named ‘start’2025-09-23 13:29:56,415 (7f3e40f00808) :  INFO (socketinterface:184) - Socket server started on port 351732025-09-23 13:29:56,415 (7f3e40f00808) :  INFO (pipeinterface:25) - Entering run loop2025-09-23 13:29:56,415 (7f3e40f00808) :  DEBUG (runtime:717) - Handling request GET /:/prefixes2025-09-23 13:29:56,417 (7f3e40f00808) :  DEBUG (runtime:814) - Found route matching /:/prefixes2025-09-23 13:29:56,418 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,418 (7f3e40f00808) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 486 bytes2025-09-23 13:29:56,419 (7f3e40f00808) :  CRITICAL (pipeinterface:78) - Exception in pipe interface (most recent call last):File “/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/interfaces/pipeinterface.py”, line 58, in listenself.out.write(response)IOError: [Errno 32] Broken pipe

2025-09-23 13:29:56,419 (7f3e40f00808) :  INFO (pipeinterface:87) - Stopping plug-in2025-09-23 13:29:56,419 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,420 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,421 (7f3e3d720b38) :  INFO (bundleservice:131) - Found duplicate identifier at /usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/TheTVDBv4.bundle for bundled plugin (com.plexapp.agents.thetvdb), ignoring duplicate plugin.2025-09-23 13:29:56,421 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,422 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,423 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,423 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,424 (7f3e3d720b38) :  DEBUG (runtime:1117) - Created a thread named ‘remove_unavailable_agents’2025-09-23 13:29:56,424 (7f3e3d720b38) :  DEBUG (bundleservice:81) - Started the bundle service2025-09-23 13:29:56,426 (7f3e3d6fdb38) :  DEBUG (flagservice:46) - Started the media flag service2025-09-23 13:29:56,428 (7f3e3d6b7b38) :  DEBUG (runtime:1117) - Created a thread named ‘ensure_agent_info_exists_inner’2025-09-23 13:29:56,431 (7f3e3d103b38) :  INFO (agentservice:129) - Agent info: {‘com.plexapp.agents.fanarttv’: [{‘media_types’: [‘Movie’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.imdb’, ‘com.plexapp.agents.themoviedb’], ‘has_attribution’: True, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Fanart.tv’}, {‘media_types’: [‘TV_Show’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.thetvdb’, ‘com.plexapp.agents.themoviedb’], ‘has_attribution’: True, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Fanart.tv’}, {‘media_types’: [‘Artist’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.lastfm’], ‘has_attribution’: True, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Fanart.tv’}, {‘media_types’: [‘Album’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.lastfm’], ‘has_attribution’: True, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Fanart.tv’}], ‘com.plexapp.agents.none’: [{‘media_types’: [‘Movie’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Personal Media’}, {‘media_types’: [‘TV_Show’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Personal Media Shows’}, {‘media_types’: [‘Artist’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Personal Media Artists’}, {‘media_types’: [‘Album’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Personal Media Albums’}, {‘media_types’: [‘Photo’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: False, ‘languages’: [‘en’, ‘ar’, ‘bg’, ‘ca’, ‘cs’, ‘cy’, ‘da’, ‘de’, ‘el’, ‘es’, ‘et’, ‘fa’, ‘fi’, ‘fr’, ‘he’, ‘hi’, ‘hr’, ‘ht’, ‘hu’, ‘id’, ‘it’, ‘ja’, ‘ko’, ‘lt’, ‘lv’, ‘ms’, ‘mt’, ‘nl’, ‘no’, ‘pl’, ‘pt’, ‘ro’, ‘ru’, ‘sk’, ‘sv’, ‘sl’, ‘sr’, ‘th’, ‘tr’, ‘uk’, ‘ur’, ‘vi’, ‘zh’, ‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Photos’}], ‘com.plexapp.agents.htbackdrops’: [{‘media_types’: [‘Artist’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.lastfm’], ‘has_attribution’: True, ‘languages’: [‘ab’, ‘aa’, ‘af’, ‘ak’, ‘sq’, ‘am’, ‘ar’, ‘an’, ‘hy’, ‘as’, ‘av’, ‘ae’, ‘ay’, ‘az’, ‘bm’, ‘ba’, ‘eu’, ‘be’, ‘bn’, ‘bh’, ‘bi’, ‘bs’, ‘pb’, ‘br’, ‘bg’, ‘my’, ‘ca’, ‘ch’, ‘ce’, ‘ny’, ‘zh’, ‘cu’, ‘cv’, ‘kw’, ‘co’, ‘cr’, ‘hr’, ‘cs’, ‘da’, ‘dv’, ‘nl’, ‘dz’, ‘en’, ‘eo’, ‘et’, ‘ee’, ‘fo’, ‘fj’, ‘fi’, ‘fr’, ‘fy’, ‘ff’, ‘gd’, ‘gl’, ‘lg’, ‘ka’, ‘de’, ‘el’, ‘gn’, ‘gu’, ‘ht’, ‘ha’, ‘he’, ‘hz’, ‘hi’, ‘ho’, ‘hu’, ‘is’, ‘io’, ‘ig’, ‘id’, ‘ia’, ‘ie’, ‘iu’, ‘ik’, ‘ga’, ‘it’, ‘ja’, ‘jv’, ‘kl’, ‘kn’, ‘kr’, ‘ks’, ‘kk’, ‘km’, ‘ki’, ‘rw’, ‘ky’, ‘kv’, ‘kg’, ‘ko’, ‘kj’, ‘ku’, ‘lo’, ‘la’, ‘lv’, ‘li’, ‘ln’, ‘lt’, ‘lu’, ‘lb’, ‘mk’, ‘mg’, ‘ms’, ‘ml’, ‘mt’, ‘gv’, ‘mi’, ‘mr’, ‘mh’, ‘mo’, ‘mn’, ‘na’, ‘nv’, ‘ng’, ‘ne’, ‘xn’, ‘nd’, ‘no’, ‘nb’, ‘nn’, ‘oc’, ‘oj’, ‘or’, ‘om’, ‘os’, ‘pi’, ‘pa’, ‘fa’, ‘pl’, ‘pt’, ‘ps’, ‘qu’, ‘rm’, ‘ro’, ‘rn’, ‘ru’, ‘se’, ‘sm’, ‘sg’, ‘sa’, ‘sc’, ‘sr’, ‘sn’, ‘ii’, ‘sd’, ‘si’, ‘sk’, ‘sl’, ‘so’, ‘st’, ‘nr’, ‘es’, ‘su’, ‘sw’, ‘ss’, ‘sv’, ‘tl’, ‘ty’, ‘tg’, ‘ta’, ‘tt’, ‘te’, ‘th’, ‘bo’, ‘ti’, ‘to’, ‘ts’, ‘tn’, ‘tr’, ‘tk’, ‘tw’, ‘ug’, ‘uk’, ‘ur’, ‘uz’, ‘ve’, ‘vi’, ‘vo’, ‘wa’, ‘cy’, ‘wo’, ‘xh’, ‘yi’, ‘yo’, ‘za’, ‘zu’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Home Theater Backdrops’}], ‘com.plexapp.agents.imdb’: [{‘media_types’: [‘Movie’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.themoviedb’], ‘has_attribution’: True, ‘languages’: [‘en’, ‘sv’, ‘fr’, ‘es’, ‘nl’, ‘de’, ‘it’, ‘da’, ‘ar’, ‘ca’, ‘zh’, ‘cs’, ‘et’, ‘fi’, ‘el’, ‘he’, ‘hi’, ‘hu’, ‘id’, ‘ja’, ‘ko’, ‘lv’, ‘no’, ‘fa’, ‘pl’, ‘pt’, ‘ro’, ‘ru’, ‘sk’, ‘th’, ‘tr’, ‘uk’, ‘vi’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: [‘com.plexapp.agents.localmedia’], ‘prefs’: True, ‘name’: ‘Plex Movie (Legacy)’}], ‘com.plexapp.agents.lyricfind’: [{‘media_types’: [‘Album’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.lastfm’, ‘tv.plex.agents.music’, ‘org.musicbrainz.agents.music’], ‘has_attribution’: True, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘LyricFind’}], ‘com.plexapp.agents.thetvdb’: [{‘media_types’: [‘TV_Show’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: True, ‘languages’: [‘en’, ‘fr’, ‘zh’, ‘sv’, ‘no’, ‘da’, ‘fi’, ‘nl’, ‘de’, ‘it’, ‘es’, ‘pl’, ‘hu’, ‘el’, ‘tr’, ‘ru’, ‘he’, ‘ja’, ‘pt’, ‘cs’, ‘ko’, ‘sl’, ‘hr’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘TheTVDB’}], ‘com.plexapp.agents.lastfm’: [{‘media_types’: [‘Artist’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: True, ‘languages’: [‘en’, ‘sv’, ‘fr’, ‘es’, ‘de’, ‘pl’, ‘it’, ‘pt’, ‘ja’, ‘tr’, ‘ru’, ‘zh’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Last.fm’}, {‘media_types’: [‘Album’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: True, ‘languages’: [‘en’, ‘sv’, ‘fr’, ‘es’, ‘de’, ‘pl’, ‘it’, ‘pt’, ‘ja’, ‘tr’, ‘ru’, ‘zh’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Last.fm’}], ‘org.musicbrainz.agents.music’: [{‘media_types’: [‘Artist’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: True, ‘languages’: [‘en’, ‘ar’, ‘bg’, ‘zh’, ‘hr’, ‘cs’, ‘da’, ‘nl’, ‘fi’, ‘fr’, ‘de’, ‘el’, ‘hu’, ‘id’, ‘it’, ‘ja’, ‘ko’, ‘nn’, ‘pl’, ‘pt’, ‘ro’, ‘ru’, ‘sr’, ‘sk’, ‘es’, ‘sv’, ‘th’, ‘tr’, ‘vi’, ‘xx’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Musicbrainz’}, {‘media_types’: [‘Album’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: True, ‘languages’: [‘en’, ‘ar’, ‘bg’, ‘zh’, ‘hr’, ‘cs’, ‘da’, ‘nl’, ‘fi’, ‘fr’, ‘de’, ‘el’, ‘hu’, ‘id’, ‘it’, ‘ja’, ‘ko’, ‘nn’, ‘pl’, ‘pt’, ‘ro’, ‘ru’, ‘sr’, ‘sk’, ‘es’, ‘sv’, ‘th’, ‘tr’, ‘vi’, ‘xx’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Musicbrainz’}], ‘com.plexapp.agents.themoviedb’: [{‘media_types’: [‘Movie’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: None, ‘has_attribution’: True, ‘languages’: [‘en’, ‘cs’, ‘da’, ‘de’, ‘el’, ‘es’, ‘fi’, ‘fr’, ‘he’, ‘hr’, ‘hu’, ‘it’, ‘lv’, ‘lt’, ‘nl’, ‘no’, ‘pl’, ‘pt’, ‘ru’, ‘sk’, ‘sv’, ‘th’, ‘tr’, ‘vi’, ‘zh’, ‘ko’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: [‘com.plexapp.agents.localmedia’], ‘prefs’: True, ‘name’: ‘The Movie Database’}, {‘media_types’: [‘TV_Show’], ‘primary_provider’: True, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.thetvdb’], ‘has_attribution’: True, ‘languages’: [‘en’, ‘cs’, ‘da’, ‘de’, ‘el’, ‘es’, ‘fi’, ‘fr’, ‘he’, ‘hr’, ‘hu’, ‘it’, ‘lv’, ‘lt’, ‘nl’, ‘no’, ‘pl’, ‘pt’, ‘ru’, ‘sk’, ‘sv’, ‘th’, ‘tr’, ‘vi’, ‘zh’, ‘ko’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: [‘com.plexapp.agents.localmedia’, ‘com.plexapp.agents.thetvdb’], ‘prefs’: True, ‘name’: ‘The Movie Database’}], ‘com.plexapp.agents.movieposterdb’: [{‘media_types’: [‘Movie’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.imdb’], ‘has_attribution’: True, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘CineMaterial’}], ‘com.plexapp.agents.localmedia’: [{‘media_types’: [‘Movie’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.imdb’, ‘com.plexapp.agents.none’], ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: False, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Local Media Assets (Movies)’}, {‘media_types’: [‘TV_Show’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.thetvdb’, ‘com.plexapp.agents.none’], ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: False, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Local Media Assets (TV)’}, {‘media_types’: [‘Artist’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.discogs’, ‘com.plexapp.agents.lastfm’, ‘com.plexapp.agents.plexmusic’, ‘com.plexapp.agents.none’, ‘tv.plex.agents.music’, ‘org.musicbrainz.agents.music’], ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: False, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Local Media Assets (Artists)’}, {‘media_types’: [‘Artist’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.plexmusic’], ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: False, ‘version’: 2, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Local Media Assets (Artists)’}, {‘media_types’: [‘Album’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.discogs’, ‘com.plexapp.agents.lastfm’, ‘com.plexapp.agents.plexmusic’, ‘com.plexapp.agents.none’, ‘tv.plex.agents.music’, ‘org.musicbrainz.agents.music’], ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: False, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: True, ‘name’: ‘Local Media Assets (Albums)’}], ‘com.plexapp.agents.plexthememusic’: [{‘media_types’: [‘TV_Show’], ‘primary_provider’: False, ‘fallback_agent’: None, ‘contributes_to’: [‘com.plexapp.agents.thetvdb’, ‘com.plexapp.agents.thetvdbdvdorder’, ‘com.plexapp.agents.themoviedb’], ‘has_attribution’: False, ‘languages’: [‘xn’], ‘persist_stored_files’: True, ‘version’: 0, ‘accepts_from’: None, ‘prefs’: False, ‘name’: ‘Plex Theme Music’}]}2025-09-23 13:29:56,439 (7f3e3d103b38) :  INFO (datakit:131) - Saved the dictionary file

Server logs attach:

95119389-c760-4ec2-116bf0b0-b1d67fa7.log (8.0 KB)

As recently as August, and as far back as 2018, I’ve seen ChuckPA describe (in the Linux Tips and Tricks) that he uses dpkg to install PMS.

Maybe reading those and searching for his replies will get you up and running.
I have not had experience with apt vs. dpkg but he is the pro here. g/l nibs

From the systemd output ---- segv is not good. (core dump)

Please make a ZIP/tar.gz of the Logs directory under Plex Media Server and attach it.

Other positing here implies a damaged DB somehow. Hope the logs will show more.

Either way, there is a likely remedy

logs.tar.gz (2.0 MB)

Hi @ChuckPa , here the logs folder. I hope too.

@ChuckPa reading the PMS Plugin Logs folder, I checked these CRITICAL entries on com.plexapp.system.log:

2025-09-23 13:29:56,419 (7f3e40f00808) :  CRITICAL (pipeinterface:78) - Exception in pipe interface (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/interfaces/pipeinterface.py", line 58, in listen
    self.out.write(response)
IOError: [Errno 32] Broken pipe
2025-09-23 13:29:56,411 (7f3e3d6b7b38) :  CRITICAL (runtime:1128) - Exception in thread named 'refresh_servers' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/System.bundle/Contents/Code/peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/System.bundle/Contents/Code/peerservice.py", line 165, in get_servers_el
    return XML.ElementFromURL('http://127.0.0.1:32400/servers', cacheTime = 0)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
    req = self._core.networking.http_request(url, *args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 352, in http_request
    return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 119, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-4e8b05daf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 1198, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>

The first error is weird, because point …Resources/Plug-ins-4e8b05daf… to resources won’t exists:

Plug-ins-4e8b05daf1.42.1.10060-4e8b05daf

The new one should be:

Plug-ins-f737b826c1.42.2.10156-f737b826c

I backed everything, make clean installation and doesnt work too. Its very weird. So, I dont understamd what happen with my server.

I restored again and keep data like when I opened the ticket to continue with the troubleshooting

@ialejandro931

By “Clean Installation” do you also mean –

“Deleted all of /var/lib/plexmediaserver directory and all of it’s contents”

which deletes your entire server instance — aka. all library sections

If not, I would like to see what an integrity check of the DB returns.

Clean installation means remove all dirs and binaries related from plexmediaserver apt package, so yes I removed everything. And didnt start from fresh installation, so I restored all directories (which I did backup before remove all)

So you started from a backup.
( Code is stored in /usr/lib/plexmediaserver – which is independent from – your server data (default) in /var/lib/plexmediaserver )

Uninstalling/reinstalling code has little/no impact unless ‘apt’ / ‘dpkg’ had complained.

Best way to determine if there’s a problem with the PMS database:

  1. Stop PMS
  2. cd /var/lib/plexmediaserver
  3. Rename LibraryLibrary.keep
  4. Start PMS
  5. Now setup a temp server with a very small , single section library (make certain to give it an easily identifiable name)
  6. If it starts and runs and works… You have your biggest clue —> Database corruption

@ChuckPa fixed. I reinstall my OS. Restore Library folder and running up without any issues. So, the problem was my apt upgrade with some library or dependency (idk which one) but everything is ok. Was my fault! Sorry for bother your time.

Regards :slight_smile: