Hi,
I am running 1.26.2.5797 and when I upgrade to 1.27.0.5878 and Plex starts, all my libraries are unavailable. I always just roll back to 1.26 but is there something else I can and should try?
Every Library I have, when I click on it I get an error (see screenshot).
I would attach logs but I have never collected them so I was not sure where to start. This happened a week ago with an older 1.27 as well but when I retried today with a later build, same result.
This is an older Intel based MacMini, not M1.
That is the build that still fails for me. Today’s build. I tried last week (1.27.0.5853) and it failed (same error) so I installed 1.26 on top. Today I tried to install 1.27.0.5878 and I still get the error.
I tried again, the same result. I then tried to up “update Libraries” but that made everything worst. After watching an endless spinning (I do have an extensive library), I stopped and it appeared that all libraries (I have 4 categories) it had gotten to it so far had no more content at all.
I installed 1.26 again, replaced the pslist and database directory with my backup from last night and now 1.26 works again.
Ok,
I have never done this and I was not sure how to run the command on macos (since the db seems to be in a different directory than the sqlite. I copies it there and ran the command and all I got was “ok” after a second or so. do I need to do something differently?
thanks
I applied the upgrade and then I opened the Plex server after it had finished. At that point I saw the error. I then manually clicked on “Update Libraries” and I aborted that after 5+ min. I can try all this again. But this is the first time ever, that I do the auto update and after Plex comes up again, there is an error with every library. If there are better steps, I can try those as well. When I click on update Libraries in build 1.26 it takes about 10 seconds to finish.
actually, let me re-phrase it. when I open plex after the upgrade to 1.27, I see the home page with all libraries for a seconds and then I changes to only show plex content and all mine is gone. I have not waited to see if that changes after a while. I can upgrade again and just wait an hour or so before I check plex. I did a backup so I am ready to just try again.
Same exact outcome for me as well, glad to see I’m not the only one. Have to use the non Plex Pass (public) version from May 10th as any Plex Pass server upgrade after that with most recent version of MacOS fails to correctly update my Plex Pass Media Server on MacOS.
Ironically, Synology NAS Plex Media Server updates fine with no library visibility issues.
As I kind of expected you have a corrupt database.ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
See my link above for how to repair it. Otherwise depending on the size of the file, you can send it to me and I can try recovering it.
Ok, I ran my first command (/Applications/Plex\ Media\ Server.app/Contents/MacOS/Plex\ SQLite com.plexapp.plugins.library.db “.output recover.out” “.recover”) and I now have recover.out file. What do I do now.
The final ".recover" of "/Applications/Plex Media Server.app/Contents/MacOS/Plex SQLite" com.plexapp.plugins.library.db ".output recover.out" ".recover" command should have fixed your database.
Are you guys waiting after updating PMS? Some PMS versions require updating the internal database. Depending on the specific changes and your system’s power, this can take some time. A few minutes on a fast system or sometimes 10-15 minutes on slow system like a NAS. If you close PMS while this is happening, that can corrupt the database and produce the error you are seeing.
Edit - After starting PMS, open Plex Web and make sure it can see your server and shows your libraries as available in the sidebar before trying to do anything.
@dbirch can see in the logs that my db is corrupted. It works with any build below 1.27 (never had an issue with any install) but with 1.27 when I install on a Intel MacMini (i7, 32GB RAM) this error occurs 100% of the time regardless of how long I wait.