Plex server unavailable after forced shutdown

Server Version#: plexinc/pms-docker:latest

Hi! First time having this problem, despite having forcefully shutdown so many times my server. I was getting so many hangs lately, like errors while streaming and then not being able to restart the Plex container, so I just restarted the whole server.

However, this time it did start, showed healthy as always, but showed as unavailable and each library. Checked the “Preferences.xml” and it was zeroed, I deleted it so it got recreated but no luck, it isn’t starting anyway.

I restored a older db backup, made earlier that day but no luck either. Got DBrepair and tried to repair the DB, same results.

I even moved the entire stack to another server, so I’m guessing is something corrupted but I cannot point my finger on what exactly. Also tried to downgrade to another server version, but that did not work either.

Hope someone can help me out! Thank you!

Had that happen last year for some reason. Nothing worked. Don’t know what the deal was. What I did to fix it was uninstall plex and re download it then it was fine.

Yeah, I might resort to that if nothing can be done.

Did not even backup once since all my media is not in there and everything was in a container, so didn’t bother as much, but dayum, might as well backup’d the damn “/config” :expressionless_face:

Nov 05, 2025 16:51:09.005 [139775162301240] DEBUG - [HttpClient/HCl#4f] HTTP simulating 408 after curl timeout
Nov 05, 2025 16:51:09.008 [139775145278264] ERROR - DVR:Device: Error refreshing existing device device://tv.plex.grabbers.hdhomerun/device1-1, marking as dead.
Nov 05, 2025 16:51:09.008 [139775145278264] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/ died
Nov 05, 2025 16:51:09.010 [139775145278264] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/12345678 died
Nov 05, 2025 16:51:09.012 [139775145278264] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/2025-07-JK87-JK7373 died
Nov 05, 2025 16:51:09.013 [139775145278264] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/E92A98EA-35 died
Nov 05, 2025 16:51:09.015 [139775145278264] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/device1-1 died
Nov 05, 2025 16:51:09.015 [139775145278264] DEBUG - [HCl#57] HTTP requesting POST http://127.0.0.1:32600/devices/discover
Nov 05, 2025 16:51:11.444 [139775162301240] DEBUG - [HttpClient/HCl#57] HTTP/1.1 (2.4s) 200 response from POST http://127.0.0.1:32600/devices/discover

Your PMS log says that the hdhomerun died.

Found the error.

The certificate file is blown (damaged) and possibly clock is not sync’d with NTP

Nov 05, 2025 16:50:53.929 [139775212972688] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users/features
Nov 05, 2025 16:50:53.947 [139775212972688] ERROR - [CERT] PKCS12_parse failed: error:11800071:PKCS12 routines::mac verify failure
Nov 05, 2025 16:50:53.947 [139775212972688] ERROR - [CERT] Found a certificate, but couldn't install it.
Nov 05, 2025 16:50:53.947 [139775212972688] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.

Certificate is Plex Media Server/Cache/cert-v2.p12

  1. make certain machine / container clock are sync’d to NTP correctly.
  2. Delete the p12 cert file.
  3. Restart PMS / container

Be careful of your network config

  1. Public IP addresses – Is this desired ? (it’s dangerous and it’s not YOUR IP)
  2. LAN IP addresses

Thank you so much for the reply.

Certificate got deleted and I also fixed the mismatch on the timezones, now the server and container are the same. But still, seems unavailable.

About my network config, it’s desired, and everything is firewalled except for the 32400. I tought this was ok and public IPs, even tough not recommended, it’s a possibility right? Might as well delete the logs of the op :smiley:

Now it’s back to working after renewing the claim token and restarting the server, it prompted me the “Welcome” screen and put the same name as before.
All the libraries and posters are there, but the users who had access are no longer there.

Is there any way to restore those or do I just cope with it and invite them again?

everyone you shared to with the old server should still be listed in the list.

all you need to do is add them to the new server. You won’t need to invite again (UNLESS you deleted it all)

Seems like it treated the server as a new server, despite having the same name and everything remained the same (except for the certificate deleting and putting up a new claim token in the docker compose).

Anyhow, is working, thank you so much!