Plex will not start. Starting Plex Media Server Stopping Plex Media Server

Server Version#: Any
Player Version#: Any
Unraid version 6.8.3

After searching the forums and google I could not figure out the issue that I am seeing. I tried to restart both unraid and the docker image. The server has been running for months with no issues and I do not think I made any changes to provoke anything. I am not the best at Linux so if any CLI info is needed please be specific.

Thank you in advance for taking the time to read this.

Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
[cont-finish.d] executing container finish scripts…,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
s6-svwait: fatal: timed out,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.,
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.,
[s6-init] ensuring user provided files have correct perms…exited 0.,
[fix-attrs.d] applying ownership & permissions fixes…,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts…,
[cont-init.d] 40-plex-first-run: executing… ,
[cont-init.d] 40-plex-first-run: exited 0.,
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing… ,
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.,
[cont-init.d] 50-plex-update: executing… ,
[cont-init.d] 50-plex-update: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
Starting Plex Media Server.,
[services.d] done.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
Starting Plex Media Server.,
Stopping Plex Media Server.,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec],
[cont-finish.d] executing container finish scripts…,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
s6-svwait: fatal: timed out,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.,

Plex Container settings

I’m actually having the same problem. If anyone has found a fix I would be super grateful!!

Ok so after a few hours of tinkering I finally fixed my issue. It turned out to be caused by a corrupt database. First, to determine what was going on I looked at the most recent log for plex. If you are on unraid you can find the logs in the plex appdata folder. here is my log file.

Jul 30, 2020 19:14:00.335 [0x14c500334700] INFO - Plex Media Server v1.19.5.3112-b23ab3896 - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -07:00
Jul 30, 2020 19:14:00.336 [0x14c500334700] INFO - Linux version: 4.19.107-Unraid, language: C
Jul 30, 2020 19:14:00.336 [0x14c500334700] INFO - /usr/lib/plexmediaserver/Plex Media Server
Jul 30, 2020 19:14:00.334 [0x14c509465740] DEBUG - BPQ: [Idle] -> [Starting]
Jul 30, 2020 19:14:00.335 [0x14c509465740] DEBUG - FeatureManager: Using cached data for features list
Jul 30, 2020 19:14:00.336 [0x14c509465740] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1
Jul 30, 2020 19:14:00.405 [0x14c509465740] DEBUG - Running migrations. (EPG 0)
Jul 30, 2020 19:14:00.637 [0x14c509465740] DEBUG - ChangestampAllocator: initialized to 1172791
Jul 30, 2020 19:14:00.637 [0x14c509465740] DEBUG - Opening 2 database sessions to library (com.plexapp.plugins.library.blobs), SQLite 3.26.0, threadsafe=1
Jul 30, 2020 19:14:01.806 [0x14c509465740] INFO - SQLITE3:(nil), 283, recovered 1 frames from WAL file /config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db-wal
Jul 30, 2020 19:14:01.808 [0x14c509465740] ERROR - SQLITE3:(nil), 11, database corruption at line 64757 of [bf8c1b2b7a]
Jul 30, 2020 19:14:01.808 [0x14c509465740] ERROR - SQLITE3:(nil), 11, database corruption at line 64798 of [bf8c1b2b7a]
Jul 30, 2020 19:14:01.808 [0x14c509465740] ERROR - SQLITE3:(nil), 11, statement aborts at 8: database disk image is malformed
Jul 30, 2020 19:14:01.808 [0x14c509465740] ERROR - SQLITE3:(nil), 11, database disk image is malformed in “PRAGMA cache_size=2000”
Jul 30, 2020 19:14:01.808 [0x14c509465740] ERROR - Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000
Jul 30, 2020 19:14:01.808 [0x14c509465740] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

Looking at the last few lines I guessed that com.plexapp.plugins.library.blobs.db-wal got corrupted somehow. I found this guide on how to fix this problem: https://support.plex.tv/articles/201100678-repair-a-corrupt-database/

Unfortunately, I was dumb and did not back up my files (I am currently doing that now lol) so my only option was to delete the corrupted database and let plex rebuild it. Fortunately, the database that was corrupted looks like it only handled personalization info (which libraries users can access, were things are pinned, and some other small stuff). My watch histories and libraries are all intact and plex is now working perfectly! hope this helps!

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