Post
Topic
Board Armory
How do I -reindex -reindex-chainstate on Armory - Ubuntu
by
ZenDawgg
on 28/04/2017, 14:45:02 UTC
Hi,

I'm running Armory 0.95 on a minimal Ubuntu 16.04 install.

I'm letting Armory manage Bitcoind and have moved my block chain to different (larger) data drive.  It took awhile but I finally got everything up and running although it was not smooth sailing to do so (not a linux or Armory expert).  Anyway...

Everything was working for the past 4 weeks.  I'd start the PC every night and let it sync.

Last night however... the power went out for a few seconds and I don't have that PC on a battery back up.  Of course it happened in the middle of my sync.

Now Armory just sits and spins on Initializing Bitcoin Engine.

I checked the debug.log and it says to

Please restart with -reindex or -reindex-chainstate to recover.

How do I do that?

Thanks.

Zen

partial log file below:


2017-04-28 14:15:46 Bound to [::]:8333
2017-04-28 14:15:46 Bound to 0.0.0.0:8333
2017-04-28 14:15:46 Cache configuration:
2017-04-28 14:15:46 * Using 2.0MiB for block index database
2017-04-28 14:15:46 * Using 8.0MiB for chain state database
2017-04-28 14:15:46 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2017-04-28 14:15:46 init message: Loading block index...
2017-04-28 14:15:46 Opening LevelDB in /mnt/data/Bitcoin/blocks/index
2017-04-28 14:15:46 Opened LevelDB successfully
2017-04-28 14:15:46 Using obfuscation key for /mnt/data/Bitcoin/blocks/index: 0000000000000000
2017-04-28 14:15:46 Opening LevelDB in /mnt/data/Bitcoin/chainstate
2017-04-28 14:15:46 Corruption: 24 missing files; e.g.: /mnt/data/Bitcoin/chainstate/377259.ldb
2017-04-28 14:15:46 : Error opening block database.
Please restart with -reindex or -reindex-chainstate to recover.
2017-04-28 14:15:46 Aborted block database rebuild. Exiting.
2017-04-28 14:15:46 Shutdown: In progress...
2017-04-28 14:15:46 scheduler thread interrupt
2017-04-28 14:15:46 Shutdown: done