Plex Media Server not starting on Synology DS1019+ "Failed to run the package service"

Thanks, that is explicit. The database became corrupted.

Sep 03, 2020 00:26:58.543 [0x7fa4330de700] INFO - Plex Media Server v1.20.1.3252-a78fef9a9 - Synology DS1019+ x86_64 - build: linux-x86_64 synology - GMT 01:00
Sep 03, 2020 00:26:58.543 [0x7fa4330de700] INFO - Linux version: DSM 6.2.3.25426-2, language: en-US
Sep 03, 2020 00:26:58.543 [0x7fa4330de700] INFO - Processor Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
Sep 03, 2020 00:26:58.543 [0x7fa4330de700] INFO - /var/packages/Plex Media Server/target/Plex Media Server
Sep 03, 2020 00:26:58.838 [0x7fa43d074740] INFO - SQLITE3:(nil), 283, recovered 94 frames from WAL file /volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Sep 03, 2020 00:26:58.838 [0x7fa43d074740] ERROR - SQLITE3:(nil), 11, database corruption at line 66053 of [bf8c1b2b7a]
Sep 03, 2020 00:26:58.838 [0x7fa43d074740] ERROR - SQLITE3:(nil), 11, database disk image is malformed in "PRAGMA cache_size=2000"
Sep 03, 2020 00:26:58.839 [0x7fa43d074740] ERROR - Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000
Sep 03, 2020 00:26:58.839 [0x7fa43d074740] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

Please read through here carefully.

As you replace the com.plexapp.plugins.library.db, remember to delete the WAL and SHM file which are matched to it if they exist.

Ask if any questions.