Plex Server Becomes Partially Unavailable

How do I sanitize the debug / verbose Plex logs and do I simply post them here?

UPDATE on the issue, what’s even more odd….if I don’t refresh my browser tab for Plex app webUI, it continues to work fine for over 5 days. BUT the moment I refresh the page, I lose my server and its libraries until I either 1.) make a non-impactful change in Plex network settings custom URL field or 2.) restart the Plex docker.

I don’t know how you’d sanitize the logs. I suggest that you try to connect with (@)ChuckPa. He is the Plex Linux expert. If you click on his icon on one of his posts it will list his office hours.

If you haven’t already, you may want to review these posts.
Client says that it won’t play from remote server although the server is local.
Important note about Chrome and Firefox local network access

@ChuckPa I hope this finds you well and you don’t mind me tagging you in my post. I heard you were a SME on Plex / Linux…

If you have a few minutes free, would you mind reading through my thread & prior updates here, and help me narrow the root cause is?

Circling back on this outstanding issue I have and still banging my head against the wall.

I wanted to go a step further and rule out any Plex database issues, so I ran the ChuckPDa DB repair script and it all came back clean:

Database Repair Utility for Plex Media Server (Docker)

Version v1.13.02

[2025-12-15 13.35.53] Automatic Check,Repair,Index started.

[2025-12-15 13.35.53]

[2025-12-15 13.35.53] Checking the PMS databases

[2025-12-15 13.36.18] Check complete. PMS main database is OK.

[2025-12-15 13.38.59] Check complete. PMS blobs database is OK.

[2025-12-15 13.38.59]

[2025-12-15 13.38.59] Exporting current databases using timestamp: 2025-12-15_13.35.53

[2025-12-15 13.38.59] Exporting Main DB

[2025-12-15 13.39.15] Exporting Blobs DB

[2025-12-15 13.41.04] Successfully exported the main and blobs databases.

[2025-12-15 13.41.04] Start importing into new databases.

[2025-12-15 13.41.04] Importing Main DB.

[2025-12-15 13.41.54] Importing Blobs DB.

[2025-12-15 13.42.21] Successfully imported databases.

[2025-12-15 13.42.21] Verifying databases integrity after importing.

[2025-12-15 13.42.30] Verification complete. PMS main database is OK.

[2025-12-15 13.42.31] Verification complete. PMS blobs database is OK.

[2025-12-15 13.42.31] Saving current databases with ‘-BACKUP-2025-12-15_13.35.53’

[2025-12-15 13.42.31] Making repaired databases active

[2025-12-15 13.42.31] Repair complete. Please check your library settings and contents for completeness.

[2025-12-15 13.42.31] Recommend: Scan Files and Refresh all metadata for each library section.

[2025-12-15 13.42.31]

[2025-12-15 13.42.31] Backing up of databases

[2025-12-15 13.42.31] Backup current databases with ‘-BACKUP-2025-12-15_13.42.31’ timestamp.

[2025-12-15 13.42.31] Reindexing main database

[2025-12-15 13.43.09] Reindexing main database successful.

[2025-12-15 13.43.09] Reindexing blobs database

[2025-12-15 13.43.13] Reindexing blobs database successful.

[2025-12-15 13.43.13] Reindex complete.

[2025-12-15 13.43.14] Automatic Check, Repair/optimize, & Index successful.

Any other ideas?

To summarize the issue, I have three Google TV boxes (onn) where the Plex app no longer see’s my Plex server, two are internal and one is external, and a few remote friends that also reported their that they’re not able to see my Plex server in their webUI via a browser. Also, I keep losing my server and libraries in the Plex webUI via browser on several internal devices.

However, my internal Samsung TV Plex native app works, my Android phone Plex app also works (internal and external), and the majority of my remote users work fine using Plex app on their TVs.

How bizarre…

At this point there are only a few realistic causes left, and they all revolve around Plex losing its advertised connection state in Plex’s cloud, not looking like my local config.

The most likely causes I thought, based on everything I’ve already done (above), were:

  1. Hairpin NAT / DNS self-check failure
  2. IPv6 AAAA record present
  3. Docker bridge mode idle timeout
  4. Server token desync after restore

I ruled out #1 with:

@localhost:~$ curl http://<myplexurl>:32400<html><head><script>window.location = window.location.href.match(/(^.+\/)[^\/]*$/)[1] + 'web/index.html';</script><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>userland@localhost:~$

I ruled out #2 confirming no IPv6 records:

dig AAAA <myplexurl>

I ruled out #3 with:

  • br0.4 = ipvlan network
  • Container gets its own IP on my LAN
  • Docker NAT is NOT used
    .NetworkSettings.IPAddress is empty → expected

I ruled out #3 with:

docker network inspect br0

I ruled out #4 by confirming “owned” and “presence” values =1 with:

curl -s -H "X-Plex-Token: $TOKEN" https://plex.tv/api/resources.xml | grep -i "<Device"

This does not appear to be a misconfiguration anymore — everything points to Plex’s cloud trust state or IPv6 behavior.

Current outstanding issue:

  • Plex cloud occasionally “forgets” the server
  • Saving Network settings forces a re-announce
  • Some (not all) local and remote users temporarily regain access

UPDATE:

  • Under Plex > Settings > Networking > Custom server access URL - I removed my only value: https://plex.myserver.com:32400 , saved the change, and restarted Plex.

  • Removed plex.direct from Opnsense > Settings > Administration > Alternate hostnames field (Alternate Hostnames for DNS Rebinding and HTTP_REFERER Checks).

  • Disabled plex.direct entry under Opnsense > Unbound DNS > Query forwarding that forced it to 1.1.1.1:853

    • Retained plex.direct entry under Unbound > Advanced > Private domains.

I tested the Plex app on two of my internal Google TV’s and also the webUI from a laptop, everything is working again. But time will tell—I’ll report back in a few hours.