I am getting the message Response code=“503” title=“Maintenance” status=“Plex Media Server is currently running database migrations.” whenever I try and launch my plex server. From what I have read, this is an issue related to a corrupted database. I have tried the SQLite tools linked in here and here, as well as followed the guide in this video. None of these solutions have worked. I also tried replacing the file with one of the backups which also has not worked. Some of the initial error checks on the database returned errors, but now the copied backup version of that returns no errors. At this point I really don’t care a whole lot about the data and if it is easier to just create a new database I am fine with that but haven’t been able to find out how to officially do that. Any and all advice and insight is much appreciated as I have been working on this issue for about a week now. Thanks!
The database conversion can take very long time. For how long did you leave it do its thing before interrupting it?
When the message originally showed up, I let it sit for a few days as I didn’t have a chance to work on it. I have had a similar issue before when my cache drive fills up but a restart has fixed that in the past. Since then, I have tried a few times to fix it, generally it would sit for sometimes 10 mins, sometimes overnight, to see if anything changed but have had no luck with getting it repaired.
Not familiar with unraid, so I don’t know what kind of data is stored on such a cache drive.
But if it houses the Plex database files then the chance of corruption is high, when it runs out of free space.
You should always check the health of the database after such an occurrence. Maybe restore one of the backups. But never just restart and assume everything is alright.
And of course ensure that it won’t occur again.
The issue is that replacing it with a backup didn’t fix it either. I have run all of the Plex SQLite tools to check integrity and repair, and then I tried to replace it, and neither solution has worked. I need to know my next steps regarding rescanning the media and recreating the database. I tried all of my backups and none of them worked.
As I mentioned, I am no familiar with Unraid at all.
If it uses Docker nowadays, it might be rarther simple.
If not, you might gather some of the details from the procedure for Linux.
https://support.plex.tv/articles/201941078-uninstall-plex-media-server/
Basically it is shutting down the server software, cleaning out the plex data folder, then restart it.
But this time you should really keep an eye on the free storage of the volume which hosues the plex data afolder, or it may happen again.
Yeah, I am in the process of upgrading the storage and server as a whole.
Unraid does use docker; from my understanding, the database issue is fairly plex specific, and just some storage locations change. I know where stuff is stored, I just can’t get it running again.
I was unable to add more drives to the server as I had run out of bays. It was set up to not let this happen, but it had failed, so there is not a lot that I could have done. I am trying to focus on getting this issue fixed so that I can proceed with the upgrades/additional storage, not what I needed to do in the past to prevent the issue.
Ok I just was able to get it to work.
I had to remove all of the database files from the databases folder, then start the docker container to let Plex recreate all of the db files. Then stop the container and move the files back into the databases folder, then it shows up correctly.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.