Plex Media Server Crashing Randomly (Every Night Guarenteed)

Server Version#:1.25.2.5319
Player Version#:4.66.1

My plex media server keeps force shutting itself down every single night. I am not sure what keeps causing this issue. I am not sure what I need to do to go about trouble shooting the issue. I have tried re-installing the server and that has not helped. I have looked over the FAQ and reset my TCIP like PLEX suggested and that did not help. I checked to make sure I didnt have any .DLL that were conflicting with PLEX as well. Any information would be greatly appreciated. What I have found is that it usually force closes at night time. By the time I wake up in the morning its usually closed. Thanks again for your help.

So it crashed two times today. Here is the crash text for the first time earlier today. I still cant figure out whats causing it. Both of these times I was watching a movie. It doesnt seem like its a codex or internet problem. Can anyone decipher these logs better than I?

**CRASH ONE ***
Jan 03, 2022 18:19:31.957 [5716] WARN - Crash: Crash reporting disabled Jan 03, 2022 18:19:32.294 [2996] DEBUG - [MediaProviderManager] HTTP/2.0 (0.6s) 200 response from GET Sign In | Plex Jan 03, 2022 18:19:32.295 [5716] DEBUG - [MediaProviderManager] HTTP requesting GET Sign In | Plex Jan 03, 2022 18:19:32.349 [9108] DEBUG - HTTP/2.0 (0.6s) 200 response from GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx Jan 03, 2022 18:19:32.353 [9108] DEBUG - MyPlex: updating with 16 access tokens Jan 03, 2022 18:19:32.356 [9108] DEBUG - HTTP requesting GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx Jan 03, 2022 18:19:32.467 [5716] DEBUG - [MediaProviderManager] HTTP/2.0 (0.2s) 200 response from GET Sign In | Plex (reused) Jan 03, 2022 18:19:32.468 [5716] DEBUG - [MediaProviderManager] HTTP requesting GET Sign In | Plex Jan 03, 2022 18:19:32.555 [9108] DEBUG - HTTP/2.0 (0.2s) 200 response from GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx (reused) Jan 03, 2022 18:19:32.560 [9108] DEBUG - HTTP requesting GET https://plex.tv/api/v2/server/users/subscriptions?auth_token=xxxxxxxxxxxxxxxxxxxx Jan 03, 2022 18:19:32.676 [5716] DEBUG - [MediaProviderManager] HTTP/2.0 (0.2s) 200 response from GET Sign In | Plex (reused) Jan 03, 2022 18:19:32.676 [5716] DEBUG - [MediaProviderManager] discovered cloud provider (Metadata) Jan 03, 2022 18:19:32.676 [5716] DEBUG - [MediaProviderManager] loading cloud provider details (Metadata) (alive: 0) Jan 03, 2022 18:19:32.731 [9108] DEBUG - HTTP/2.0 (0.2s) 200 response from GET https://plex.tv/api/v2/server/users/subscriptions?auth_token=xxxxxxxxxxxxxxxxxxxx (reused) Jan 03, 2022 18:19:32.871 [2256] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability Jan 03, 2022 18:19:32.871 [2256] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms Jan 03, 2022 18:19:32.904 [5716] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability Jan 03, 2022 18:19:32.904 [5716] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms Jan 03, 2022 18:19:32.904 [5716] DEBUG - [MediaProviderManager] we had 0 cloud providers online, we now have 1 Jan 03, 2022 18:19:32.904 [5716] DEBUG - [MediaProviderManager] cloud provider (Metadata) is online and available Jan 03, 2022 18:19:40.616 [4244] DEBUG - Reading 486 bytes in the body, code is 200 Jan 03, 2022 18:19:40.616 [4244] DEBUG - [com.plexapp.system] Plug-in running on port 64899. Jan 03, 2022 18:19:40.617 [4244] DEBUG - * Plug-in handles prefix: /system Jan 03, 2022 18:19:40.617 [4244] DEBUG - * Plug-in handles prefix: /player Jan 03, 2022 18:19:40.617 [4244] DEBUG - Read configuration for [com.plexapp.system], had 2 prefixes Jan 03, 2022 18:19:40.617 [4244] DEBUG - Done with 1 synchronous plug-in starts, starting the rest in parallel. Jan 03, 2022 18:19:40.617 [4244] DEBUG - PluginRepository::setStartState: 2, startingPlugins Jan 03, 2022 18:19:40.617 [4244] DEBUG - Updating the list of agents known by the system. Jan 03, 2022 18:19:40.619 [4244] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/agents Jan 03, 2022 18:19:40.619 [4244] DEBUG - HTTP requesting GET http://127.0.0.1:64899/system/agents Jan 03, 2022 18:19:40.623 [2448] DEBUG - Image transcode cache directory: “C:\Users\BJSte\AppData\Local\Plex Media Server\Cache\PhotoTranscoder” Jan 03, 2022 18:19:40.624 [2448] DEBUG - Transcoder: Cleaning old transcode directories. Jan 03, 2022 18:19:40.628 [2448] DEBUG - Transcoder: Cleaning old transcode directory: “C:\Users\BJSte\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-EEC531A3-6CBF-49EF-8557-305731BCB8F2-afa72e6b-9c46-4f37-9881-fd00bbf98f7f” Jan 03, 2022 18:19:41.125 [4244] DEBUG - HTTP/1.1 (0.5s) 200 response from GET http://127.0.0.1:64899/system/agents Jan 03, 2022 18:19:41.125 [4244] DEBUG - [com.plexapp.system] HTTP reply status 200, with 11288 bytes of content. Jan 03, 2022 18:19:41.134 [4244] DEBUG - The system knows about 19 agents. Jan 03, 2022 18:19:41.135 [7364] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\Fanart-TV.bundle. Jan 03, 2022 18:19:41.135 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\Framework.bundle. Jan 03, 2022 18:19:41.136 [4244] DEBUG - Waiting for 19 plug-ins to finish starting. Jan 03, 2022 18:19:41.136 [9600] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\HTbackdrops.bundle. Jan 03, 2022 18:19:41.138 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\LastFM.bundle. Jan 03, 2022 18:19:41.139 [7364] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.fanarttv] yet. Jan 03, 2022 18:19:41.139 [7364] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\LocalMedia.bundle. Jan 03, 2022 18:19:41.141 [9600] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.htbackdrops] yet. Jan 03, 2022 18:19:41.141 [9600] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\LyricFind.bundle. Jan 03, 2022 18:19:41.142 [5864] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.lastfm] yet. Jan 03, 2022 18:19:41.142 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\Media-Flags.bundle. Jan 03, 2022 18:19:41.144 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\MoviePosterDB.bundle. Jan 03, 2022 18:19:41.145 [7364] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.localmedia] yet. Jan 03, 2022 18:19:41.145 [7364] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\Musicbrainz.bundle. Jan 03, 2022 18:19:41.147 [9600] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.lyricfind] yet. Jan 03, 2022 18:19:41.147 [9600] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\OpenSubtitles.bundle. Jan 03, 2022 18:19:41.148 [5864] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.movieposterdb] yet. Jan 03, 2022 18:19:41.148 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\PersonalMedia.bundle. Jan 03, 2022 18:19:41.149 [7364] DEBUG - Perfect cache hit, we don’t need to start [org.musicbrainz.agents.music] yet. Jan 03, 2022 18:19:41.149 [7364] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\PlexMovie.bundle. Jan 03, 2022 18:19:41.151 [9600] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.opensubtitles] yet. Jan 03, 2022 18:19:41.151 [9600] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\PlexMovieNew.bundle. Jan 03, 2022 18:19:41.152 [5864] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.none] yet. Jan 03, 2022 18:19:41.152 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\PlexMusic.bundle. Jan 03, 2022 18:19:41.153 [7364] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.imdb] yet. Jan 03, 2022 18:19:41.153 [7364] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\PlexSeries.bundle. Jan 03, 2022 18:19:41.155 [9600] DEBUG - Perfect cache hit, we don’t need to start [tv.plex.agents.movie] yet. Jan 03, 2022 18:19:41.155 [9600] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\PlexThemeMusic.bundle. Jan 03, 2022 18:19:41.156 [5864] DEBUG - Perfect cache hit, we don’t need to start [tv.plex.agents.music] yet. Jan 03, 2022 18:19:41.156 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\Scanners.bundle. Jan 03, 2022 18:19:41.158 [5864] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\TheMovieDB.bundle. Jan 03, 2022 18:19:41.158 [9600] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.plexthememusic] yet. Jan 03, 2022 18:19:41.159 [9600] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\TheTVDBv4.bundle. Jan 03, 2022 18:19:41.160 [7364] DEBUG - Perfect cache hit, we don’t need to start [tv.plex.agents.series] yet. Jan 03, 2022 18:19:41.161 [5864] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.themoviedb] yet. Jan 03, 2022 18:19:41.162 [9600] DEBUG - Perfect cache hit, we don’t need to start [com.plexapp.agents.thetvdb] yet.

CRASH TWO
Jan 03, 2022 20:55:54.937 [8848] DEBUG - Grabber: Cleaning up orphaned grabs.
Jan 03, 2022 20:55:54.939 [4188] DEBUG - Media Provider: Registering provider com.plexapp.plugins.library
Jan 03, 2022 20:55:54.939 [4188] DEBUG - Auth: Refreshing tokens inside the token-based authentication filter.
Jan 03, 2022 20:55:54.939 [0272] DEBUG - MyPlex: mapping state set to ‘Unknown’.
Jan 03, 2022 20:55:54.942 [0272] DEBUG - Relay: read 30 cached entries from hosts file
Jan 03, 2022 20:55:54.943 [4188] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:54.943 [0272] DEBUG - [MediaProviderManager] HTTP requesting GET Sign In | Plex
Jan 03, 2022 20:55:54.943 [8848] DEBUG - Grabber: Cleaned up 0 decrepit directories in 0.0 sec.
Jan 03, 2022 20:55:54.944 [4188] DEBUG - MyPlex: updating with 16 access tokens
Jan 03, 2022 20:55:54.948 [4188] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:54.948 [4796] DEBUG - It took 62.500000 ms to retrieve 0 items.
Jan 03, 2022 20:55:54.950 [4188] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users/subscriptions?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:54.951 [7464] DEBUG - Auth: Refreshing tokens inside the token-based authentication filter.
Jan 03, 2022 20:55:54.952 [7464] DEBUG - HTTP requesting GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:54.953 [4188] DEBUG - Opening 1 database sessions to library (), SQLite 3.35.5, threadsafe=1
Jan 03, 2022 20:55:54.960 [0576] DEBUG - File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277” changed: -1 => 2021-12-16 16:00:48 (1639688448).
Jan 03, 2022 20:55:54.960 [0576] DEBUG - File “C:\Users\BJSte\AppData\Local\Plex Media Server\Plug-ins” changed: -1 => 2021-07-27 19:07:14 (1627427234).
Jan 03, 2022 20:55:54.960 [0576] DEBUG - Scanning for plug-ins in “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277”
Jan 03, 2022 20:55:54.978 [0576] WARN - Couldn’t determine bundle identifier for plug-in at: “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\WebClient.bundle”
Jan 03, 2022 20:55:54.978 [0576] DEBUG - Scanning for plug-ins in “C:\Users\BJSte\AppData\Local\Plex Media Server\Plug-ins”
Jan 03, 2022 20:55:54.978 [0576] DEBUG - PluginRepository::setStartState: 1, startingSystem
Jan 03, 2022 20:55:54.978 [0576] DEBUG - Starting plug-in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\System.bundle.
Jan 03, 2022 20:55:54.980 [0576] DEBUG - [com.plexapp.system] Setting plug-in to always running (daemon mode).
Jan 03, 2022 20:55:54.982 [0576] DEBUG - Starting file watcher for com.plexapp.system
Jan 03, 2022 20:55:54.983 [0576] DEBUG - Plugin: setting environment variable: ‘PYTHONHOME=C:\Program Files (x86)\Plex\Plex Media Server’
Jan 03, 2022 20:55:54.983 [0576] DEBUG - Plugin: setting environment variable: ‘PYTHONPATH=C:\Program Files (x86)\Plex\Plex Media Server\Resources\Python\python27.zip;C:\Program Files (x86)\Plex\Plex Media Server\Resources\Python\lib\python2.7\site-packages’
Jan 03, 2022 20:55:54.983 [0576] DEBUG - Plugin::createProcess: Creating plugin process: “C:\Program Files (x86)\Plex\Plex Media Server\PlexScriptHost.exe” “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\Framework.bundle\Contents\Resources\Versions\2\Python\bootstrap.py” “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-c43dc0277\System.bundle”
Jan 03, 2022 20:55:54.991 [0576] DEBUG - Spawned plug-in com.plexapp.system with PID 6416
Jan 03, 2022 20:55:54.991 [0576] DEBUG - [com.plexapp.system] Sending command: GET /:/prefixes

Jan 03, 2022 20:55:55.494 [0272] DEBUG - [MediaProviderManager] HTTP/2.0 (0.6s) 200 response from GET Sign In | Plex
Jan 03, 2022 20:55:55.495 [3408] DEBUG - [MediaProviderManager] HTTP requesting GET Sign In | Plex
Jan 03, 2022 20:55:55.579 [7464] DEBUG - HTTP/2.0 (0.6s) 200 response from GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:55.584 [7464] DEBUG - MyPlex: updating with 16 access tokens
Jan 03, 2022 20:55:55.588 [7464] DEBUG - HTTP requesting GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:55.711 [3408] DEBUG - [MediaProviderManager] HTTP/2.0 (0.2s) 200 response from GET Sign In | Plex (reused)
Jan 03, 2022 20:55:55.712 [3408] DEBUG - [MediaProviderManager] HTTP requesting GET Sign In | Plex
Jan 03, 2022 20:55:55.787 [7464] DEBUG - HTTP/2.0 (0.2s) 200 response from GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx (reused)
Jan 03, 2022 20:55:55.793 [7464] DEBUG - HTTP requesting GET https://plex.tv/api/v2/server/users/subscriptions?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 03, 2022 20:55:55.891 [3408] DEBUG - [MediaProviderManager] HTTP/2.0 (0.2s) 200 response from GET Sign In | Plex (reused)
Jan 03, 2022 20:55:55.892 [3408] DEBUG - [MediaProviderManager] discovered cloud provider (Metadata)
Jan 03, 2022 20:55:55.892 [3408] DEBUG - [MediaProviderManager] loading cloud provider details (Metadata) (alive: 0)
Jan 03, 2022 20:55:55.985 [7464] DEBUG - HTTP/2.0 (0.2s) 200 response from GET https://plex.tv/api/v2/server/users/subscriptions?auth_token=xxxxxxxxxxxxxxxxxxxx (reused)
Jan 03, 2022 20:55:56.113 [0272] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability
Jan 03, 2022 20:55:56.113 [0272] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms
Jan 03, 2022 20:55:56.142 [3408] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability
Jan 03, 2022 20:55:56.142 [3408] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms
Jan 03, 2022 20:55:56.142 [3408] DEBUG - [MediaProviderManager] we had 0 cloud providers online, we now have 1
Jan 03, 2022 20:55:56.142 [3408] DEBUG - [MediaProviderManager] cloud provider (Metadata) is online and available
Jan 03, 2022 20:55:59.887 [0576] DEBUG - Reading 486 bytes in the body, code is 200
Jan 03, 2022 20:55:59.887 [0576] DEBUG - [com.plexapp.system] Plug-in running on port 17585.
Jan 03, 2022 20:55:59.888 [0576] DEBUG - * Plug-in handles prefix: /system
Jan 03, 2022 20:55:59.888 [0576] DEBUG - * Plug-in handles prefix: /player
Jan 03, 2022 20:55:59.888 [0576] DEBUG - Read configuration for [com.plexapp.system], had 2 prefixes
Jan 03, 2022 20:55:59.888 [0576] DEBUG - Done with 1 synchronous plug-in starts, starting the rest in parallel.
Jan 03, 2022 20:55:59.888 [0576] DEBUG - PluginRepository::setStartState: 2, startingPlugins
Jan 03, 2022 20:55:59.888 [0576] DEBUG - Updating the list of agents known by the system.
Jan 03, 2022 20:55:59.889 [0576] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/agents

I’m getting a very similar issue but have gotten no help what so ever from any “employee.” I’ve tried older versions, completely wiping out everything and starting fresh. No matter what I do I either can’t get the server to run, can’t access it directly or it will crash constantly. No help or response at all from anyone at plex.

1 Like

So basically what I did was completely uninstall plex media server then go into %localappdata% and delete the entire plexmediaserver file. Then reinstall plex media server. I had to then re-load my media libraries. Since then which was yesterday my plex server hasnt force closed once. However, it did spend the majority of the day yesterday basically loading metadata from my libraries. I would recommend you try this as I have found no other option that has worked for me.

You might have run into partial database corruption. With the nightly scheduled tasks you were probably hitting it daily causing the crash. (and while using it other times getting to a part of the corrupt database was hit or miss)

I think you might be right. Plex has been going strong ever since I rebuilt the database. Havent had one crash since.

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