Issue, started with Spiceworks ‘Application Error’. Logs showed malformed database.<\/p>\n
Advertisement
So, we restored database to backup from two days prior. After that, I could login but new tickets showed the following error:<\/p>\n
Error message: SQLite3::CorruptException:\n database disk image is malformed: SELECT * FROM \"configuration\" WHERE (\"configuration\".\"name\" = 'hostname_is_full_url') LIMIT 1\n<\/code><\/pre>\n
Looking at the configuration table, there are hundreds of rows that appear to be from the user table. Can this be fixed without rolling back further and losing all those tickets?<\/p>\n
Just sent your data back. Let me know if you still have any issues once things are back online.<\/p>","upvoteCount":0,"datePublished":"2015-10-27T18:47:39.000Z","url":"https://community.spiceworks.com/t/spiceworks-database-corrupt/446707/6","author":{"@type":"Person","name":"peterb99","url":"https://community.spiceworks.com/u/peterb99"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hello,<\/p>\n
Issue, started with Spiceworks ‘Application Error’. Logs showed malformed database.<\/p>\n
So, we restored database to backup from two days prior. After that, I could login but new tickets showed the following error:<\/p>\n
Error message: SQLite3::CorruptException:\n database disk image is malformed: SELECT * FROM \"configuration\" WHERE (\"configuration\".\"name\" = 'hostname_is_full_url') LIMIT 1\n<\/code><\/pre>\n
Looking at the configuration table, there are hundreds of rows that appear to be from the user table. Can this be fixed without rolling back further and losing all those tickets?<\/p>\n