What can I do to not lose the data ?

  • Please use text error messages. And give a little information about your setup? OS? Startup parameters etc.
    – tmm
    Commented Jun 2, 2020 at 8:24

2 Answers 2


You need to replay blockchain.

$ nodeos --replay-blockchain

If it doesn't solve your problem, stop nodeos and run with --hard-replay-blockchain option.

  • I tried both. I'm getting above error after --hard-replay-blockchain
    – AditiB
    Commented May 30, 2020 at 19:44
  • Delete data/blocks/reversible and data/state directory completely and try again. Be careful not to delete data/blocks/blocks.log.
    – conr2d
    Commented May 31, 2020 at 14:10
  • I did this. But I ended up losing most of the data. :(
    – AditiB
    Commented Jun 1, 2020 at 5:22
  • You cannot lose data unless you delete blocks.log. Transactions are stored in blocks.log and state (including accounts, permission, multi-index table etc.) is built by accumulating changes caused by transactions and it can always be restored by replay. If you lose data, you must do something wrong.
    – conr2d
    Commented Jun 2, 2020 at 7:14
  • I deleted only the reversible folder. Is it possible that my most of the data was in that ?
    – AditiB
    Commented Jun 2, 2020 at 9:19

I am facing the same issue. Actually i have setted up the classic synchronisation of the testnode(jungle testnet). Blocks are receiving from the start. so it was consuming more time and i left the system to sync but the system got turned off when i tried to restart it from where i lefted it showed some kind of no existing state and fork databse error. so i tried to settup the node using snapshot (latest) but it didnt worked too. i have used the replay blocks plugin . not worked . please help..

  • Setting up using snapshot is the best way to go. Please check that your snapshot is not corrupted.
    – AditiB
    Commented Jul 28, 2023 at 22:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.