Author

Topic: How do I -reindex -reindex-chainstate on Armory - Ubuntu (Read 766 times)

newbie
Activity: 4
Merit: 0
It took about 18 hours or so to reindex  Smiley

After that it would still not sync up.

Checking the debug log there were some permission denied errors in the blocks and chainstate directories.

I ended up chown and chmod them to the user that logs in.  Doubt that is the preferred way as far as security, but it opens and syncs up now.

Thanks!
staff
Activity: 3374
Merit: 6530
Just writing some code
Thanks!  

I'll give it a try when I get home tonight.

Would I also need to run

Code:
bitcoin-qt -reindex-chainstate
-reindex includes -reindex-chainstate as part of what it does. You won't need to include -reindex-chainstate
newbie
Activity: 4
Merit: 0
In the terminal, run
Code:
bitcoin-qt -reindex

This will start Bitcoin Core with reindexing. It will open up the GUI version of Core so you can follow the progress. When it is done, stop Bitcoin Core (File > Quit) and then start Armory as you would normally.

Thanks! 

I'll give it a try when I get home tonight.

Would I also need to run

Code:
bitcoin-qt -reindex-chainstate
staff
Activity: 3374
Merit: 6530
Just writing some code
In the terminal, run
Code:
bitcoin-qt -reindex

This will start Bitcoin Core with reindexing. It will open up the GUI version of Core so you can follow the progress. When it is done, stop Bitcoin Core (File > Quit) and then start Armory as you would normally.
newbie
Activity: 4
Merit: 0
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
Jump to: