Hi,
I’m having a problem with a corrupt database. I would be having problems opening the home site or recommended folders in the library. I was able to open the library folder to play my media. After opening the database in DB Browser for SQLite and running the Integrity check I get many problems. Here are all the issues:
*** in database main ***
On tree page 135105 cell 65: Rowid 99138 out of order
On tree page 119659 cell 15: Rowid 95524 out of order
On tree page 38 cell 7: Rowid 120 out of order
On tree page 38 cell 6: Rowid 106 out of order
On tree page 38 cell 5: Rowid 91 out of order
On tree page 38 cell 4: Rowid 76 out of order
On tree page 216095 cell 14: Rowid 106 out of order
On tree page 226181 cell 13: Rowid 120 out of order
On tree page 273272 cell 9: Rowid 130 out of order
On tree page 38 cell 0: 2nd reference to page 5672
Page 247958 is never used
Page 320911 is never used
I tried extracting the database to a sql file and back but I always got some errors importing to the database fx: “Error in statement #3 constraint failed”. I tried to find the errors manually but I barely understand databases so that worked very little.
After this I tried to check my backup but the backups seem to have stopped for the db file around 18 months ago. It seems like the database got so corrupt that the backups would not run after that. That is far too long ago to be a good alternative to fixing the db file.
So here come my questions and asks for help. Is there anyway to fix the database manually? If so is there some tutorial that can help me find the errors to fix them since I don’t understand what “On tree page 135105” means.
Secondly, why is there no notification or an error to report a problem with the database before it got so broken and too late to restore from a backup?


