Info.db deleted

Hi everyone,

I accidentally deleted the info.db and esed_serial files.
Is there any way to get the file recovered?

Thank you

  1. Stop the storagenode
  2. Execute with sqlite3 (either local or docker version), replace the /path/to/info.db to the actual one:
sqlite3 /path/to/info.db
  1. When you see a sqlite> prompt, execute the script:
CREATE TABLE versions (version int, commited_at text);
.exit
  1. Now the used_serial.db:
sqlite3 /path/to/used_serial.db
  1. When you see a sqlite> prompt, execute the script:
CREATE TABLE versions (version int, commited_at text);
.exit
  1. Start the storagenode
  2. Check your logs
2 Likes

ok, now is ok!!
Thank You so Much!

1 Like