Plex serve stopped working and cannot revive:._StoredValues missings

Server Version#: 1.41.3.9314-a0bfb8370
Player Version#: doesn’t mater

This morning I woke up to a dying plex server: Happy New Year.

The container was still running, opening a client would result in a weird state where all the media’s assets were gone, some media were playable, but not most of them.
I killed the container and launched a new one, and since then the plex server hasn’t come up :frowning:
Checking the container’s logs I get:

Starting Plex Media Server. . . (you can ignore the libusb_init error)
Connection to localhost (::1) 32400 port [tcp/*] succeeded!
[ls.io-init] done.
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 168, in <module>
    run()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 148, in run
    core = Framework.core.FrameworkCore(bundle_path, FRAMEWORK_DIR, config)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 148, in __init__
    self.set_value('LastVersion', self.version)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 551, in set_value
    self.storage.save(self._values_file_path, json_str)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/storage.py", line 81, in save
    f = open(tempfile, mode)
IOError: [Errno 2] No such file or directory: '/config/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system/._StoredValues'

So I went looking for the missing files, and I found the following situation:

  • most directories under Plex Media Server/Plug-in Support/Datawere gone, and those left were pretty much empty
  • Plex Media Server/Media and Plex Media Server/Metadatawere gone

I restored the missing stuff from a backup, admittedly a couple of months old.
Started the server again, and now the logs are full of:


Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Exception in thread ensure_agent_info_exists_inner:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'
Critical: libusb_init failed
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/threading.py", line 1072, in run
    self.function(*self.args, **self.kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1158, in _start_timed_thread
    self._start_thread(f, args, kwargs, sandbox, context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1123, in _start_thread
    sandbox.context.import_values(context_values)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 66, in import_values
    setattr(self, key, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a0bfb8370/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/context.py", line 187, in cache_time
    self._cache_time = self._core.networking.cache_time
AttributeError: 'FrameworkCore' object has no attribute 'networking'

The server is inaccessible to clients, if I access it directly via a browser on port 32400 I get the starting page of the setup process, clicking the " got it" button it just hangs on Please wait a moment while Plex starts. until it just suggests to come to the forum and ask here presenting logs.


and here are the logs:
Logs.tar (460 KB)

If I click on name or media library I can still see my stuff:


Yet nothing is working, and after pretty much wasting my 1st day of 2025 (it’s 5pm now :laughing:) on this I’m at a loss :face_with_spiral_eyes:
I just wanted to nurse my hangover on the couch watching some stuff, rather than fighting (and losing) with this thing :sob:

PS: I couldn’t help but notice a frightening python27, a 10-year-old version not supported anymore since 2020, in my logs. Please tell me you’re not really still using that thing?

UP

sorry but I need to bump this up as my Plex server is still down, I’ve no idea how to fix it, and this post is sliding into oblivion :frowning:

If I’ve to start from scratch, considering the effort it takes to reimport 10T of content, I’ll just switch to Jellyfin.

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