Skip to content

[BUG] iTunes Plugin Not Loading #435

@ukiews

Description

@ukiews

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Earlier today I've been able to find the iTunes plugin under the Plugins section on my UGREEN DX2800 NAS:

Image

However, after restarting the container, the plugin section is empty:

Image

The server version was not updated.

Steps To Reproduce

The plex server was initially migrated from a Mac OS version.

The com.plexapp.system.log might have some clues:

2025-11-20 23:19:00,927 (7f8097018808) :  DEBUG (core:150) - Finished starting framework core
2025-11-20 23:19:00,928 (7f8097018808) :  DEBUG (core:560) - Loading plug-in code
2025-11-20 23:19:00,928 (7f8093a2eb38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2025-11-20 23:19:00,929 (7f80939e8b38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400'
2025-11-20 23:19:00,932 (7f8093a2eb38) :  ERROR (services:272) - Unable to load services from system. Loading from the current bundle only.
2025-11-20 23:19:00,932 (7f80939e8b38) :  WARNING (core:541) - Unable to retrieve the machine identifier or server version.

...

2025-11-20 23:19:01,427 (7f8097018808) :  DEBUG (streamservice:18) - Starting the stream service
2025-11-20 23:19:01,427 (7f8097018808) :  CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register <bound method StreamService.token_handler of <streamservice.StreamService object at 0x7f8093665c10>>
2025-11-20 23:19:01,428 (7f809383ab38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/servers'
2025-11-20 23:19:01,428 (7f8097018808) :  DEBUG (runtime:1150) - Scheduled a timed thread named 'invalidation_timer'
2025-11-20 23:19:01,429 (7f8097018808) :  DEBUG (proxyservice:12) - Starting the proxy service
2025-11-20 23:19:01,429 (7f8093880b38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2025-11-20 23:19:01,430 (7f809383ab38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/servers'
2025-11-20 23:19:01,432 (7f8097018808) :  DEBUG (runtime:1117) - Created a thread named 'update_attribution_flags_inner'
2025-11-20 23:19:01,432 (7f8097018808) :  INFO (core:611) - Started plug-in
2025-11-20 23:19:01,433 (7f8097018808) :  DEBUG (socketinterface:160) - Starting socket server
2025-11-20 23:19:01,433 (7f8093880b38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2025-11-20 23:19:01,434 (7f8097018808) :  DEBUG (runtime:1117) - Created a thread named 'start'
2025-11-20 23:19:01,435 (7f8097018808) :  INFO (socketinterface:184) - Socket server started on port 38335
2025-11-20 23:19:01,435 (7f8097018808) :  INFO (pipeinterface:25) - Entering run loop
2025-11-20 23:19:01,435 (7f8093880b38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2025-11-20 23:19:01,435 (7f809383ab38) :  CRITICAL (runtime:1128) - Exception in thread named 'refresh_servers' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-f737b826c/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-f737b826c/System.bundle/Contents/Code/peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-f737b826c/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-f737b826c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-f737b826c/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-f737b826c/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-f737b826c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 119, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-f737b826c/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 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  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 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable

Environment

- OS: UGREEN
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    privileged: true
    devices:
      - /dev/dri:/dev/dri
    environment:
      - PUID=1000
      - PGID=10 
      - TZ=America/New_York
      - VERSION=docker
    volumes:
      - /volume1/Plex/Config:/config
      - /volume1/Plex:/plex
    restart: unless-stopped

Container logs

plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    1000
plex  | User GID:    10
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.42.2.10156-f737b826c-ls285
plex  | Build-date: 2025-11-10T09:30:56+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** permissions for /dev/dri/renderD128 are good ****
plex  | **** permissions for /dev/dri/
card0 are good ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (::1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions