Bitcoin Forum

Bitcoin => Armory => Topic started by: alred911 on November 19, 2015, 03:19:21 PM



Title: organizing blockchain stuck ?
Post by: alred911 on November 19, 2015, 03:19:21 PM
hello

i run armory 0.93.3 in windows 7 64bits.
after downloading blockchain,

armory is stuck on organizing blockchain status,
the disk and the progress bar are working tho, but not sure if the software actually do something,

its been like 2 hours now.

Is it normal ?
how long does it suppose to take usually ?
what should i do ?

Thx.


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 19, 2015, 03:28:35 PM
This is quite normal. It can usually take a several hours. Just let it run and after a few hours it should be fine and ready to use.


Title: Re: organizing blockchain stuck ?
Post by: alred911 on November 19, 2015, 07:00:41 PM
its been like 5 hours now,
and nothing changed,

how can i check that armory is really doing something ?.

thx


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 19, 2015, 08:08:58 PM
its been like 5 hours now,
and nothing changed,

how can i check that armory is really doing something ?.

thx
If you go to the armory data directory, you can tail the log files and see what armory is doing.


Title: Re: organizing blockchain stuck ?
Post by: alred911 on November 19, 2015, 08:22:23 PM
lst line says



5:17 (INFO) -- Networking.pyc:350 - Handshake finished, connection open!


but armory status  is still organizing blockchain


i start to be worry for my btc now :(


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 19, 2015, 08:27:55 PM
lst line says



5:17 (INFO) -- Networking.pyc:350 - Handshake finished, connection open!


but armory status  is still organizing blockchain


i start to be worry for my btc now :(
Check both of them, armorycpplog.txt and armorylog.txt. I think the important info you want is in armorycpplog.txt


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 19, 2015, 08:36:48 PM
here is what i have in  the armorycpplog.txt



Log file opened at 1447964950: C:\Users\tvl\AppData\Roaming\Armory\armorycpplog.txt
-INFO  - 1447964974: (..\BlockUtils.cpp:918) blkfile dir: C:\Users\tvl\AppData\Roaming\Bitcoin\blocks
-INFO  - 1447964974: (..\BlockUtils.cpp:919) lmdb dir: C:\Users\tvl\AppData\Roaming\Armory\databases
-INFO  - 1447964974: (..\lmdb_wrapper.cpp:478) Opening databases...
-INFO  - 1447964974: (..\BlockUtils.cpp:1250) Executing: doInitialSyncOnLoad
-INFO  - 1447964974: (..\BlockUtils.cpp:1321) Total number of blk*.dat files: 377
-INFO  - 1447964974: (..\BlockUtils.cpp:1322) Total blockchain bytes: 50,514,630,389
-INFO  - 1447964974: (..\BlockUtils.cpp:1695) Reading headers from db
-WARN  - 1447964974: (..\lmdb_wrapper.cpp:1478) No headers in DB yet!
-INFO  - 1447964974: (..\BlockUtils.cpp:1721) Found 1 headers in db
-DEBUG - 1447964974: (..\Blockchain.cpp:211) Organizing chain w/ rebuild
-WARN  - 1447964974: (..\BlockUtils.cpp:1351) --- Fetching SSH summaries for 112 registered addresses
-INFO  - 1447964974: (..\BlockUtils.cpp:1364) Left off at file 0, offset 0
-INFO  - 1447964974: (..\BlockUtils.cpp:1367) Reading headers and building chain...
-INFO  - 1447964974: (..\BlockUtils.cpp:1368) Starting at block file 0 offset 0
-INFO  - 1447964974: (..\BlockUtils.cpp:1370) Block height 0
-ERROR - 1447964975: (..\BlockUtils.cpp:639) Next block header found at offset 67344418
-DEBUG - 1447964976: (..\Blockchain.cpp:211) Organizing chain w/ rebuild

As you can see here, Armory is rebuilding its blockchain database from 0. That will take a long time.

Also, did you restart Armory when you did this since the timestamp (those big numbers are unix timestamps) are for a few minutes ago.


Title: Re: organizing blockchain stuck ?
Post by: alred911 on November 19, 2015, 08:50:26 PM
yes i did

i thought it will start from where it stopped, no ?

edit: you said long time, means like 12hours ?


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 20, 2015, 03:13:15 PM
this morning armory was OK

but blocks were off the chart

there was a diffence with blocks between bitcoin core and armory
armory was waaaay off .

How can i fix that ?

note that afer restart armory is still organizing blockchain.
How far off? What did you see?


Title: Re: organizing blockchain stuck ?
Post by: alred911 on November 20, 2015, 03:15:38 PM
i edit the previous message with log,

it was off by a lot

core was something like 333000 armory was 222000 (not actual nbr).

and my wallet was empty  :(


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 20, 2015, 03:18:29 PM
i edit the previous message with log,

it was off by a lot

core was something like 333000 armory was 222000 (not actual nbr).

and my wallet was empty  :(
It looks like it is still organizing the blockchain. Your wallet is empty because it's databases aren't fully synced yet.


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 20, 2015, 08:10:16 PM
Do you have something like an antivirus that could be accessing the databases while armory is trying to reindex? Antivirus software have been known to corrupt those files causing these kinds of errors. If you do have one enabled, disable it or add armory data directory to the exceptions.


Title: Re: organizing blockchain stuck ?
Post by: alred911 on November 20, 2015, 08:33:44 PM
yes
i added exclusions already
anu more ideas ?


Title: Re: organizing blockchain stuck ?
Post by: achow101 on November 20, 2015, 08:52:08 PM
yes
i added exclusions already
anu more ideas ?
Have you tried submitting a bug report to Armory?


Title: Re: organizing blockchain stuck ?
Post by: alred911 on November 20, 2015, 10:18:47 PM
i will do that,
on the mean time i move my btc to another wallet,
its a pitty armory is the best.