Help Needed - Failed to run the package service. error on synology nas

I keep getting the

Failed to run the package service. error when trying to start the plex media server on my synology nas.

I tried all of the basics in other threads, uninstalling plex package, restarting synology and then installing plex pasckage again, it still doesnt solve the issue.

Attaching logs. Please let me know if any other info is required.

DS1813+
DSM 6.2.4

Logs.zip (7.7 MB)

Any help would be greatly appreciated.

Thanks
Frank

Server Version#:1.41
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

Your databases got corrupted.

Apr 21, 2025 00:40:07.487 [139785923435152] INFO - Vacuuming database.
Apr 21, 2025 00:40:08.670 [139785923435152] ERROR - SQLITE3:0x80000001, 11, database corruption at line 59420 of [a29f994989]
Apr 21, 2025 00:40:08.670 [139785923435152] ERROR - SQLITE3:0x80000001, 11, statement aborts at 7: [INSERT INTO vacuum_db.'blobs' SELECT*FROM"main".'blobs'] database disk image is malformed
Apr 21, 2025 00:40:08.699 [139785923435152] ERROR - SQLITE3:0x80000001, 11, statement aborts at 1: [VACUUM] database disk image is malformed
Apr 21, 2025 00:40:08.709 [139785923435152] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
Apr 21, 2025 00:40:08.733 [139785923435152] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed
Apr 21, 2025 00:40:08.733 [139785923435152] ERROR - Error: Unable to set up server: sqlite3_statement_backend::loadOne: database disk image is malformed (N4soci10soci_errorE)
Apr 21, 2025 00:40:08.734 [139785923435152] DEBUG - [JobRunner] Job running: "/volume1/@appstore/Plex Media Server/CrashUploader" --sessionStatus

On Synology, the software and the server data are stored in different places.
This is why uninstall/reinstall didn’t change anything.

All the server data (your server) are stored in the Plex shared folder.
The software is stored in Package Center’s private area.

There is a repair tool, which runs on the Syno, from the SSH command line (putty / ssh) as the root (sudo bash command) and can help you repair it by either fixing the DBs. If not repairable, it will help you to select and use from one of the backup databases which PMS keeps.

The documentation (the README.md file) and tool are here.
Read through it. Feel free to ask any questions or additional help

Thank You so much for your quick reply. I will review the documentation when I get to my office this afternoon and plan to try and repair it tonight when I get home.

thanks
Frank

Chuck,

I have reviewed the link. It’s a lot of very confusion information to me. I am very new to SSH and self taught so I am scared to do the wrong thing.

With you knowing my issue is there any way you would be so kind as to send me some step directions with codes to run.

Thanks for all of your help
Frank

@fszabo

No problem.

I sent you a PM.

Read it. We’ll go from there

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