Tried to update Plex but now it won't run. Doesn't show up in processes

So I have a Qnap running QTS 5.1.8 and I attempted to manually update Plex. However after doing this the process doesn’t want to start at all.

My situation seems similar to this one: I made some mistakes trying to reclaim my server. Now Plex won't start on QNAP

I had a PlexData share which I have now removed and attempted to update Plex again but it still won’t open. The linked thread says to “uninstall” Plex but I’m wholly afraid that’ll remove all of my Plex information.

Anyone have any ideas on how to get this to run again?

Server Version#: v.1.41.0.8992-8463ad060
Player Version#: n/a
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
Logs.zip (7.2 MB)

Can we get a copy of your server logs?

Sure, sorry about that, just edited the OP with the logs.zip.

Actually I’m noticing that my situation isn’t exactly the same. I didn’t create the original PlexData share myself like the OP in the linked thread did so this might be slightly different than that.

You have a fairly common issue:

Sep 18, 2024 18:04:54.836 [139622997301904] ERROR - SQLITE3:0x80000001, 11, database corruption at line 69165 of [a29f994989]
Sep 18, 2024 18:04:54.836 [139622997301904] ERROR - SQLITE3:0x80000001, 11, statement aborts at 8: [SELECT id, extra_data FROM media_parts WHERE extra_data IS NOT NULL] database disk image is malformed

See GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases

However any chance you are willing to assist in a improving that tool? All we need is a copy of your com.plexapp.plugins.library.db and com.plexapp.plugins.library.blobs.db zipped up. Due to size you cannot share via the forum but you can send a google drive link or similar if you are willing.

See Chuck’s comment: The database was found to be corrupt - #11 by ChuckPa

Yeah I’ll definitely do that after I’m done here. I already backed up those files so I can upload them after.

I have the DBRepair.sh file in my share/Public folder but how do I go about executing it? I’m confused at these steps

“9. Give DBRepair.sh ‘execute’ permission (chmod +x)
10. Invoke ./DBRepair.sh”

Can you ssh into your qnap?

Yes I can and I’m currently logged into my Qnap with Putty. I will preface though that I’m basically a laymen with SSH if you could guide me through this that’d be great.

Okay so quick update, I was able to make my way through SSH commands and run the repair. Crossing my fingers.

Back in business. dbirch I can’t thank you enough, you’re the best. Should I link the old db file here?

@LittleJoeC Sent it in a PM, rather not have that posted publicly

I have a similar problem.
I updated from 1.32.7.7621 to latest 1.41.0.8992 and the server won’t start anymore.
In Plex Media Server.log it states:

Sep 19, 2024 10:25:53.273 [139913458207376] ERROR - SQLITE3:0x80000001, 779, index corruption at line 94622 of [a29f994989]
Sep 19, 2024 10:25:53.274 [139913458207376] ERROR - SQLITE3:0x80000001, 779, statement aborts at 41: [update statistics_bandwidth set at = iif(typeof(at) in ('integer', 'real'), at, strftime('%s', at, 'utc'))] database disk image is malformed
Sep 19, 2024 10:25:53.274 [139913458207376] ERROR - Exception inside transaction (inside=1) (/home/runner/actions-runner/_work/plex-media-server/plex-media-server/Library/DatabaseMigrations.cpp:342): sqlite3_statement_backend::loadOne: database disk image is malformed
Sep 19, 2024 10:25:53.277 [139913458207376] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
Sep 19, 2024 10:25:53.277 [139913458207376] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed
Sep 19, 2024 10:25:53.277 [139913458207376] ERROR - Error: Unable to set up server: sqlite3_statement_backend::loadOne: database disk image is malformed (N4soci10soci_errorE)
Sep 19, 2024 10:25:53.277 [139913458207376] DEBUG - [JobRunner] Job running: /volume1/@appstore/PlexMediaServer/CrashUploader --sessionStatus=abnormal --sessionStart=1726734347 --sessionDuration=6 --version=1.41.0.8992-8463ad060 --userId=mkoberstein@gmx.de --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sep 19, 2024 10:25:53.277 [139913458207376] DEBUG - [JobRunner] Jobs: Starting child process with pid 18861

What should I do?

The process is the exact same. See: Tried to update Plex but now it won't run. Doesn't show up in processes - #5 by dbirch

1 Like

Okay, thank you. I’ll try.

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