Server Version#:1.18.1.1973
I’ve been having many issues with Plex containers. I’m using Unraid and I’ve tried three different docker containers, the official docker, the linuxserver one, and the binhex one that have all had this issue.
For all of them, I would download them and first set them up, passing through the location of my movies/tv shows. I would then add my movies library, and sometimes Plex will be able to gather all of my movies before encountering issues. If it worked, I would then add my TV shows library. Inevitibly, at some point in this process it will encounter a database corruption error. I will use the steps from here, and this would help for a bit. Later on as it continues adding media, it will corrupt the database again. At this point, following through the steps seems to work, and doing the final integrity check at the end will say that the database is ok. However, on attempting to start the docker again it will fail, and in the logs it will say that the database is corrupted.
I think this may be partially due to how much media Plex has to scan (2500 movies, 300 tv shows), but even breaking this up doesn’t solve this. I’ve tried optimizing my database and clearing bundles during the scanning process, but that has not seemed to have any affect. Further, before trying to set this up on unraid I was using it just on ubuntu, and that worked fine. The media content hasn’t changed since then, and I never had any database corruption issues before.
Is there something that I am doing wrong? I’m happy to provide logs, however I am unsure how useful they would be.