Warning . If you were not successful with the fix of the database, then your node is lost. You should remove this node, all its data and identity, since it will be disqualified because of too many failed audits. In this case, you need to create a new node.
Before giving up entirely on your node you can try renaming the usedserials.db file and let the node create a new one. Obviously stop the node before you do this.
any chance database reconstruction can be automated on startup to automatically check and repair databases before the node starts? My files are all intact so a node shouldn’t go down for a corrupt database.
Even better if there was a routine created to regenerate the database from the core data on the node drive. This could prevent a loss of terabytes of good data all because of a corrupt database.
if you clear the data, your node will get disqualified and you would have to start over with a new identity and token, so that’s the last resort.
I’ve uploaded a version of the db file with an empty version of the correct table inside it. I’m not sure what happens if you don’t have your previous records in there, but at least it can’t complain about the missing table anymore. Definitely keep your backup though in case someone else has a better idea. https://alpha.transfer.sh/r3uqF/used_serial.db
I have the same issue with used_serial.db malformed.
I checked it as per instructions but the result was “OK”. No error message.
Tried to replace it with the one suggested by BrightSilence and now I’m not getting the error message anymore but I also don’t get any PUT’s at all. Only GET’s and GET_AUDIT’s.
Any ideas why?
Thanks guys, it’s working now. I get PUT’s again. However, this database corruption issue is a real problem. It happened 4 times for me. 3 times for info.db and now a first for used_serial.db. This is not a user’s fault as I didn’t do anything except stopping the node for a Win update. My sense is that the corruption happens during the “stop” process, even though I do have the 300s delay. And it looks like it is not just a Win issue but Linux as well. Any design plans for solving this, or we have to live with it for ever?
is the windows service now reliable enough to switch to? I was going to but there was a warning about switching and possibly losing my node data and I should only try on a new node with fresh data. Will it migrate the data and fix the database?