Please login or register.

Failed to add block blob to db transaction: Monero 'Hydrogen[...]

Having syncing issues after upgrading to v0.9.2.0

2016-Mar-20 23:43:41.271806 [P2P1][94.174.0.11:18080 OUT]Sync data returned unknown top block: 1005891 -> 1006093 [202 blocks (0 days) behind]
SYNCHRONIZATION started
2016-Mar-20 23:44:01.504725 [P2P5]Failed to add block blob to db transaction: MDB_KEYEXIST: Key/data pair already exists
2016-Mar-20 23:44:01.504857 [P2P5]ERROR /DISTRIBUTION-BUILD/src/cryptonote_core/blockchain.cpp:2716 Error adding block with hash: < b3131cfdc3a3d971ef20ea4e8872ddf85b46bd459964f0ebdd805f58b58602c8> to blockchain, what = Failed to add block blob to db transaction: MDB_KEYEXIST: Key/data pair already exists
Replies: 2
got3nks edited 8 years ago Weight: 0 | Link [ - ]

Upgraded to 0.9.3, now I get this error and the client crashes

2016-Mar-27 15:54:54.001570 Error attempting to retrieve a hard fork version at height 1012378 from the db: MDB_NOTFOUND: No matching key/data pair found
2016-Mar-27 15:54:54.001645 ERROR /DISTRIBUTION-BUILD/src/daemon/daemon.cpp:144 Uncaught exception! Error attempting to retrieve a hard fork version at height 1012378 from the db: MDB_NOTFOUND: No matching key/data pair found
moneromooo edited 8 years ago Weight: 0 | Link [ - ]

This was a known bug in 0.9.2, which got fixed in 0.9.3. You might be able to fix it by running: blockchain_import --pop-blocks 1 Then running bitmonerod again. If not, try popping 1000 blocks instead of 1. If still not, you'll need to resync from scratch.