Hi,
I'm unable to restart bitcoind after a power failure:
Here is the debug.log error I am getting:
bitcoin@raspberrypi:~ $ tail -f /home/bitcoin/.bitcoin/debug.log 2019-11-11T16:49:54Z Opening LevelDB in /home/bitcoin/.bitcoin/chainstate 2019-11-11T16:49:54Z Fatal LevelDB error: Corruption: CURRENT file does not end with newline 2019-11-11T16:49:54Z You can use -debug=leveldb to get more complete diagnostic messages 2019-11-11T16:49:54Z Fatal LevelDB error: Corruption: CURRENT file does not end with newline 2019-11-11T16:49:54Z : Error opening block database. Please restart with -reindex or -reindex-chainstate to recover. 2019-11-11T16:49:54Z Aborted block database rebuild. Exiting. 2019-11-11T16:49:54Z Shutdown: In progress... 2019-11-11T16:49:54Z scheduler thread interrupt 2019-11-11T16:49:54Z Shutdown: done
I've tried running:
bitcoind -reindex
bitcoin -reindex-chainstate
Not sure what I am doing wrong?