openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.82k stars 1.69k forks source link

Post-consolidation migrations are not being run. #2201

Closed chtat12 closed 7 years ago

chtat12 commented 8 years ago

So I'm trying to use Ethereum Wallet with Parity instead of Geth. I followed the instruction on this page: https://github.com/ethcore/parity/wiki/Using-Parity-with-Mist

Once I launched the Parity --geth, a prompt window popped up and it started syncing the blockchain. Now I don't know what exactly happened, but the Parity window just closed itself. When I tried to run the parity --geth again, the prompt window just flashed up some text and closed. Restarting/reinstalling doesn't help.

Here is what I could capture using print screen. 1

0

tomusdrw commented 8 years ago

Have you been running a newer (1.4.x) version of Parity on the same machine?

rphmeier commented 8 years ago

I think this is actually a bug with how we handle corrupted databases: after performing DB repair we don't open with column families. See https://github.com/ethcore/parity/blob/master/util/src/kvdb.rs#L285

Probably your database became corrupted either as a cause or result of your Parity closing suddenly, and now it is failing to repair the db. Although there doesn't seem to be the log message indicating db repair...

chtat12 commented 7 years ago

@rphmeier I think you were right. My database was corrupted. I deleted the blockchain data and re-synced Parity again, and now it's working.