Dingmatt / AMSA

A Plex anime agent using TVDB and AniDB data
GNU General Public License v3.0
260 stars 7 forks source link

Agent error on start up #25

Closed Samega7Cattac closed 3 years ago

Samega7Cattac commented 3 years ago

The agent doesn't start up. Version: 1.05

2021-08-09 06:54:20,228 (7f82f2cda848) :  DEBUG (core:450) - Starting localization component.
2021-08-09 06:54:20,228 (7f82f2cda848) :  INFO (localization:409) - Setting the default locale to en-us
2021-08-09 06:54:20,228 (7f82f2cda848) :  DEBUG (core:450) - Starting messaging component.
2021-08-09 06:54:20,229 (7f82f02d4b38) :  ERROR (messaging:49) - Unable to reach the system bundle.
2021-08-09 06:54:20,229 (7f82f2cda848) :  DEBUG (core:450) - Starting debugging component.
2021-08-09 06:54:20,230 (7f82f2cda848) :  DEBUG (core:450) - Starting services component.
2021-08-09 06:54:20,230 (7f82f2cda848) :  DEBUG (core:450) - Starting myplex component.
2021-08-09 06:54:20,230 (7f82f2cda848) :  DEBUG (core:450) - Starting notifications component.
2021-08-09 06:54:20,373 (7f82f2cda848) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.amsa in namespace 'metadata'
2021-08-09 06:54:20,380 (7f82f2cda848) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e2e58f321/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes
    json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content
AttributeError: 'FrameworkCore' object has no attribute 'networking'

2021-08-09 06:54:20,388 (7f82f2cda848) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2021-08-09 06:54:20,388 (7f82f011cb38) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2021-08-09 06:54:20,390 (7f82f011cb38) :  ERROR (services:272) - Unable to load services from system. Loading from the current bundle only.
2021-08-09 06:54:20,391 (7f82f00d6b38) :  WARNING (core:541) - Unable to retrieve the machine identifier or server version.
2021-08-09 06:54:20,393 (7f82f2cda848) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2021-08-09 06:54:20,393 (7f82f011cb38) :  DEBUG (services:362) - Loaded services
2021-08-09 06:54:20,401 (7f82f2cda848) :  CRITICAL (storage:89) - Exception writing to /var/lib/plex/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.amsa/StoredValues (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e2e58f321/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/storage.py", line 81, in save
    f = open(tempfile, mode)
IOError: [Errno 13] Permission denied: '/var/lib/plex/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.amsa/._StoredValues'

2021-08-09 06:54:20,408 (7f82f00f9b38) :  DEBUG (services:438) - No shared code to load
Dingmatt commented 3 years ago

Hi,

That's certainly a new one for me. Looking at the path, I'm assuming you're using some Linux distribution? If that's the case then can you make sure plex has the ability to write to its own 'Server/Plug-in Support/Data/' folder, the Permission denied error seems to indicate that it's a folder permissions issue.

Regards,