4

For some reason today, the Monero wallet stopped connecting to the daemon. The best reason for the error I could find is this: Attempt to get block from height 1396361 failed -- block not in db

So I tried to download a fresh version of the GUI, reboot computer, upload blockchain manually, and whatever else I could find to troubleshoot or fix. No luck.

I just want to start fresh. I have my key, so would like to start over and restore my wallet. But I tried deleting everything and starting over, but daemon will still not run.

I'm on Mac OS X Sierra. Any advice?

user36303
  • 34,928
  • 2
  • 58
  • 123
Ricknad0
  • 41
  • 1
  • 2

2 Answers2

6

Unfortunately, this looks like a corrupt blockchain database.

With 0.11.0.0, monerod has a --db-salvage option which might be able to recover your database. Exit monerod, and run it again with that option appended, eg: ./monerod --db-salvage.

Otherwise, the only fix for tis is to exit monerod, delete the blockchain (~/.bitmonero/lmdb/data.mdb) and start monerod again. It will then sync the blockchain again. Nothing needs to be done with the wallet, the GUI, etc. Just the blockchain.

user36303
  • 34,928
  • 2
  • 58
  • 123
-1

You need to rebuild the database using -reindex to go back to unpruned mode. This will redownload the entire blockchain.

Do you want to rebuild the block database now?