Yesterday, 05:10 AM
(This post was last modified: Yesterday, 05:11 AM by sneakie. Edited 1 time in total.)
(2025-03-23, 05:56 PM)TheDreadPirate Wrote:(2025-03-23, 02:15 AM)sneakie Wrote: Ok. So I managed to create a new DB that resembles the real deal (206000 KB vs 200000 KB) which also passes the pragma integrity check, which leads me to believe it might have worked, though I cant be sure, because I don't think the integrity check is meant to see if a database is healthy, just to check for errors?
What I did was I changed '.dump' to '.recover' in the powershell command.
Just for some more information in case this isn't a solution or anyone comes across this:
When checking both Library.db & Jellyfin.db with pragma integrity check; they both produced these errors:
Jellyfin.db: row 34 missing from index IX_ActivityLogs_DateCreated
Library.db: *** in database main ***, Tree 7 page 39598 cell 37: Rowid 232781 out of order, database disk image is malformed
and after running powershell command above with the alterations, both appear to be error free.
The Jellyfin startup afterwards without all the database malformed messages?
The fix worked temporarily.
but I decided to remake the whole thing and hope I could find the culprit by process of elimination or if I could just get rid of the issue permanently, however neither worked I removed all plugins except merge versions and it still ended up malforming eventually(1-2weeks).
The only things that are exactly the same is the server its run on same unraid version, docker version, docker app and no crashes/power outages.
I also thought that maybe having a torrent software downloading/seeding directly from the database could be the culprit but I'm not sure and couldnt really find any information regarding it, do you have any idea of how likely that could be?
linked here https://privatebin.net/?005eed779766b066...prRBpsyh5z is the first log (a few days ago) where the malformation shows up, let me know if you need anything else or if there is anything you can see from the log.
pw to bin: lol123
I can add anything needed when I wake up in a few hours.
Again, sorry for late reply, I realized this is months old now. Cheers for all the help.