Plex media server opdate, something went wrong

Thank you Ridley the Mac version works for me!

1 Like

Is this issue unique to the Mac OS version of the server software or are other platforms also being affected? Asking as a Win 10 server owner that is reluctant to update based on the issues that I am seeing here. Currently running 1.26.2.5797 on my server with no issues.

1.27.2 still does not work for me. Could it have something to do with the fact that I changed the server app several times? 1.27.0, 1.27.1, 1.27.2 and then 1.25.8 again? With 1.25.8 it works, 1.27.x did not work. What can I do? Just wait until the next but one update and then try again and hope?

Okay, so it appears as though 1.27.1 seems to trip over database corruptions that might’ve been ignored in past updates. Before upgrading, it would be wise to do some database cleanup per @Ridley’s suggestions above. If you’re reading this because you’ve upgraded already, then grab PMS v 1.26.X.XXXX and recover all the files in your database folder from a backup FIRST.

Here’s a relevant help doc:

Your various file locations may vary, but on OSX, there are three SQLite commands you need to run to fix a (potentitally) corrupted database.:

(First) get yourself to the right directory:

cd /Applications/Plex\ Media\ Server.app/Contents/MacOS/

Commands:

This checks the database integrity:
./Plex\ SQLite ~/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db "PRAGMA integrity_check"

(you’ll get some errors reported on this, probably normal)

Next, perform a database recovery:
./Plex\ SQLite ~/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db “.output recover.out” ".recover"

Then, rebuild the index:
./Plex\ SQLite ~/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db "reindex"

This only works on your backup DB files before you upgrade to 1.27.1.XXXX

Make sure that you delete (or move) these two files before loading PMS:

com.plexapp.plugins.library.db-wal
com.plexapp.plugins.library.db-shm

Hope this helps.

2 Likes

Hi.
I have the same problem in a Ubuntu Server 20.04.4.
After last update, all libraries showed this error: “Something went wrong”.
The only method that i have try are delete DB files and recreate all the libraries, obviously, i lost all the information about films, series, music :frowning:
For the next incident, i will try the SQLLite method of the post before.
But, can Plex implement a backup and a rollback functionality more user friendly than actual?
Can Plex create an archive with the old releases packages?
Thanks

1 Like

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