Bitcoin Forum

Bitcoin => Armory => Topic started by: henknies1 on August 24, 2015, 09:14:51 AM



Title: stuck or good?
Post by: henknies1 on August 24, 2015, 09:14:51 AM
It looks like it is not good....is it?

It's rolling at the Build Database step, but the progress bar on Initializing is not complete...?

http://i57.tinypic.com/ouz6fm.png

Reset to factory and start all over ?


Title: Re: stuck or good?
Post by: ANON.PURGED on August 24, 2015, 10:39:48 AM
It looks like it is not good....is it?

It's rolling at the Build Database step, but the progress bar on Initializing is not complete...?

http://i57.tinypic.com/ouz6fm.png

Reset to factory and start all over ?

Probably stuck, But make sure you check it every 5-10 minutes, Once its not move means you have to reset it.



Title: Re: stuck or good?
Post by: achow101 on August 24, 2015, 12:26:48 PM
It is OK and not stuck. Armory can take a long time to load. Just keep it open and after a while (can take several hours) if will load and be usable. The more often you use it, the less time the startup should take.


Title: Re: stuck or good?
Post by: goatpig on August 24, 2015, 04:17:28 PM
Shutdown Armory, start BitcoinQt manually and let it do it's thing. If it is fully synced and Armory is still stuck, I'll need to see a log file.


Title: Re: stuck or good?
Post by: henknies1 on August 26, 2015, 06:16:19 PM
you were right....it's now running (still  :( ) using bitcoin core. It's very very very slow and I'm not talking about hours but days with a I5 64bit 4GB ram.

But that doesnt matter, just wanted to say it worked out !


Title: Re: stuck or good?
Post by: n808 on August 27, 2015, 12:24:32 AM
Mine has been "stuck" like this for days - zero progress indication. Intel Core i5 2500K running at 4500Mhz, but it's not even using any CPU cycles, so who knows what it's doing.. I'll leave it a couple more days, then just give up.

EDIT: Started up Bitcoin Core GUI, at least it's showing some progress "Verifying blocks with a moving number". OK. Verification complete. Now one year and 24 weeks behind. Progress bar about 1/5th complete. I guess it will take some 2-3 more weeks to catch up. Pretty hopeless. Fortunately, what little I own in bitcons, is on coinbase. Doesn't seem viable to keep a wallet on home computer.


Title: Re: stuck or good?
Post by: Carlton Banks on August 27, 2015, 12:39:35 AM
Mine has been "stuck" like this for days - zero progress indication. Intel Core i5 2500K running at 4500Mhz, but it's not even using any CPU cycles, so who knows what it's doing.. I'll leave it a couple more days, then just give up.

EDIT: Started up Bitcoin Core GUI, at least it's showing some progress "Verifying blocks with a moving number". OK. Verification complete. Now one year and 24 weeks behind. Progress bar about 1/5th complete. I guess it will take some 2-3 more weeks to catch up. Pretty hopeless.


it shouldn't take that long. 3 days would be the maximum, and you'd need to be using 2Mbit/s DSL to get something like that. It's basically a 50 GB download, but you're receiving it the pretty much the way bittorrrent does it, so it goes as fast as your connection. for 50 GB.


Title: Re: stuck or good?
Post by: n808 on August 27, 2015, 12:50:00 AM
Thanks - have 40 Mbps DSL download speeds. Bitcoin just now changed to one year and 23 weeks, and is actually moving forward. I am pretty sure my Armory was completely stuck and dead, but it's hard to tell, since there is no other visual progress than the slowly moving wheel.


Title: Re: stuck or good?
Post by: Carlton Banks on August 27, 2015, 12:51:07 AM
Thanks - have 40 Mbps DSL download speeds. Bitcoin just now changed to one year and 23 weeks, and is actually moving forward. I am pretty sure my Bitcoin Armory was completely stuck and dead.

you won't have long to wait. 5-7 hours in total depending on the health of your download peers. Armory will take a further ~ 2 hours to get set up afterwards. Think about all the disk space (50GB for Core db, 50GB for Armory db)


Title: Re: stuck or good?
Post by: n808 on August 27, 2015, 01:00:24 AM
Great - thanks again! Once bitcoin core finishes, I'll try Armory again and see if I can figure out why it's not working, but not reporting any errors.



Title: Re: stuck or good?
Post by: n808 on August 27, 2015, 04:27:30 PM
Bitcoin Core finished overnight, and reports up-to-date.  However, Armory still refuses to get past the "Build databases" stage. I tried to submit a bug report - but it also failed. I am on Windows 10. Maybe that's why Armory no longer works.


Title: Re: stuck or good?
Post by: achow101 on August 27, 2015, 04:40:38 PM
Bitcoin Core finished overnight, and reports up-to-date.  However, Armory still refuses to get past the "Build databases" stage. I tried to submit a bug report - but it also failed. I am on Windows 10. Maybe that's why Armory no longer works.

Armory needs to build its own databases, and from a fresh sync, that will also take a long time. The first startup of Armory always takes ages but after that it should not take that long.


Title: Re: stuck or good?
Post by: Carlton Banks on August 27, 2015, 06:13:59 PM
Bitcoin Core finished overnight, and reports up-to-date.  However, Armory still refuses to get past the "Build databases" stage. I tried to submit a bug report - but it also failed. I am on Windows 10. Maybe that's why Armory no longer works.


someone else had a perpetual 0% problem like this, Armory was looking in the wrong place for the Bitcoin Core database files. I'll see if I can find the thread and link you to it


Title: Re: stuck or good?
Post by: goatpig on August 27, 2015, 07:17:01 PM
If it is fully synced and Armory is still stuck, I'll need to see a log file.


Title: Re: stuck or good?
Post by: n808 on August 27, 2015, 09:48:36 PM
Yes, Armory still stuck and Bitcoin Core fully synced. I have the log file. Will send PM.


Title: Re: stuck or good?
Post by: goatpig on August 27, 2015, 10:06:57 PM
From your log file, it appears bitcoind is crashing when Armory is trying to start it. I guess it probably has something to do with permissions on the folder holding the binary (exec permission probably). That or the blockchain folder Armory passes as an argument is getting mangled somehow.

For now, turn off auto bitcoind management. To do so, start Armory, go to File -> Settings and uncheck the first checkbox (you should also to a Help -> Rebuild and Rescan for the good measure). Close Armory, start BitcoinQt manually, then start Armory again, it should pick up from there.


Title: Re: stuck or good?
Post by: n808 on August 27, 2015, 10:43:49 PM
That seems to be working. With Bitcoin Core running standalone, and synced, Armory spent a few minutes "Reading New Block Headers", then "Scan Transaction History".. Then "Building databases", for 20 minutes with progress moving. Now it's "Scanning Transaction History" - will take some 40 minutes. Awesome! Hopefully the root cause and messaging to end user about it can be figured out. Thanks for the help!!


Title: Re: stuck or good?
Post by: henknies1 on August 28, 2015, 09:19:22 PM
Oke, using bitcoinqt worked. Took ages but it worked. Started armory and after a while it worked, however...

Sometimes closing armory fails, I need to start bitcoinqt en try to close again.

Latest thing I'm having now: I start Armory and it seems suddenly stuck at organizing blockchain ?!



Title: Re: stuck or good?
Post by: doug_armory on August 29, 2015, 02:51:01 AM
Oke, using bitcoinqt worked. Took ages but it worked. Started armory and after a while it worked, however...

Sometimes closing armory fails, I need to start bitcoinqt en try to close again.

Latest thing I'm having now: I start Armory and it seems suddenly stuck at organizing blockchain ?!

goatpig can correct me if I'm wrong but my understanding of this is that your blockchain is corrupt. Long story short, Bitcoin uses LevelDB to organize the blockchain, and LevelDB is a massive pile of junk. (Armory also used LevelDB from 0.90-0.92. 0.93 uses LMDB, which is much saner. Anyway....) LevelDB can be easily corrupted, especially on Windows. So, you may have to download the blockchain again and hope for the best. :( Again, goatpig can correct me if I'm wrong, and give you more specific advice.


Title: Re: stuck or good?
Post by: n808 on August 29, 2015, 04:59:09 AM
To make sure I understand.. Since I can't run bitcoind as a background process started from Armory, in order to keep an Armory wallet on my computer, I have to keep Bitcoin Core and Armory running side-by-side constantly..?

EDIT: any suggestions on trouble-shooting bitcoind crashing when started from Armory?


Title: Re: stuck or good?
Post by: goatpig on August 29, 2015, 09:42:45 AM
To make sure I understand.. Since I can't run bitcoind as a background process started from Armory, in order to keep an Armory wallet on my computer, I have to keep Bitcoin Core and Armory running side-by-side constantly..?

For Armory to go online, it needs a local instance of Core. If auto bitcoind is failing, you will have to Start BitcoinQt manually prior to starting Armory every time. It is critical that BitcoinQt is fully sync'd before you start Armory, so if you have not run Core in a few days, let it catch up before you start Armory.

Quote
Latest thing I'm having now: I start Armory and it seems suddenly stuck at organizing blockchain ?!

Log files please

Quote
any suggestions on trouble-shooting bitcoind crashing when started from Armory?

Probably something to do with your /blocks or binary path (the ones in File -> Settings). It is either getting mangled or it's invalid (non ASCII chars?). Auto bitcoind is a feature for default setups, i.e. you didn't customize your system and installation at all. If you intent to customize (like you did), I strongly suggest against using auto bitcoind.


Title: Re: stuck or good?
Post by: henknies1 on August 29, 2015, 11:14:46 AM
its a continues bitcoinqt problem....everytime it seem to hang it mostly missed a bitcoinqt connection....
But it seems also very very slow in processing....
What hardware is suggested to make armory work the way it's intended and workable?

btw, lastest part of log:
Quote
NFO  - 1440834274: (..\lmdb_wrapper.cpp:478) Opening databases...
-INFO  - 1440834275: (..\BlockUtils.cpp:1226) Executing: doInitialSyncOnLoad
-INFO  - 1440834291: (..\BlockUtils.cpp:1297) Total number of blk*.dat files: 326
-INFO  - 1440834291: (..\BlockUtils.cpp:1298) Total blockchain bytes: 43,682,935,981
-INFO  - 1440834291: (..\BlockUtils.cpp:1671) Reading headers from db
-INFO  - 1440834392: (..\BlockUtils.cpp:1697) Found 371831 headers in db
-DEBUG - 1440834392: (..\Blockchain.cpp:211) Organizing chain w/ rebuild
-WARN  - 1440846304: (..\BlockUtils.cpp:1327) --- Fetching SSH summaries for 107 registered addresses
-WARN  - 1440846318: (..\BlockUtils.cpp:246) Couldn't find top block hash in last seen blk file. Searching for it further down the chain
-WARN  - 1440846699: (..\BlockUtils.cpp:304) Inconsistent headers DB, attempting repairs
-INFO  - 1440846699: (..\BlockUtils.cpp:1340) Left off at file 0, offset 0
-INFO  - 1440846699: (..\BlockUtils.cpp:1343) Reading headers and building chain...
-INFO  - 1440846699: (..\BlockUtils.cpp:1344) Starting at block file 0 offset 0
-INFO  - 1440846699: (..\BlockUtils.cpp:1346) Block height 273724
-ERROR - 1440846928: (..\BlockUtils.cpp:639) Next block header found at offset 41946931
-DEBUG - 1440847394: (..\Blockchain.cpp:211) Organizing chain w/ rebuild
This takes ages, not hours ;)  Repairing database gave me 'nothing to repair'


Title: Re: stuck or good?
Post by: goatpig on August 29, 2015, 01:12:54 PM
At this point you are better off doing a Rebuild and Rescan.

I'm aware of all these issues and they all been thoroughly fixed in 0.94


Title: Re: stuck or good?
Post by: henknies1 on August 29, 2015, 01:25:03 PM
Oke! Is there a build version available to download for win7 somewhere?


Title: Re: stuck or good?
Post by: goatpig on August 29, 2015, 01:39:46 PM
Sorry, you have to build from source right now.


Title: Re: stuck or good?
Post by: henknies1 on August 29, 2015, 01:42:50 PM
Oke thx.
One last 'stupid' question.

Someone send me bitcoins to an address that I got from armory. When verifying online it shows that it is received.

But, bitcoinqt (seems not having any trouble) and armory didnt show this in my wallet?  Whats causing this or am I missing a piece of the puzzle? Or is it because it's corrupted in some way?


Title: Re: stuck or good?
Post by: goatpig on August 29, 2015, 02:00:00 PM
Oke thx.
One last 'stupid' question.

Someone send me bitcoins to an address that I got from armory. When verifying online it shows that it is received.

But, bitcoinqt (seems not having any trouble) and armory didnt show this in my wallet?  Whats causing this or am I missing a piece of the puzzle? Or is it because it's corrupted in some way?

Your coins are here, rest assured. The particular issue your log file is exposing is that Armory believes the blockchain has stopped around block 270XXX, which is like 2 years ago or something. So obviously, it never got to see the blocks from 2015, thus any transaction from that period.


Title: Re: stuck or good?
Post by: henknies1 on August 29, 2015, 02:09:20 PM
Thank you :) ! But I was thinking that bitcoinqt should at least show it, but it's probably the same issue.

Rebuild and rescan is running again....


Title: Re: stuck or good?
Post by: goatpig on August 29, 2015, 02:26:59 PM
Thank you :) ! But I was thinking that bitcoinqt should at least show it, but it's probably the same issue.

Core does not know of the public keys at all. Only Armory is aware of those. The same works vice versa. If you sent those coins to an address generated through BitcoinQt, Armory would not be aware of it. Armory and Core wallets are completely separate entities.


Title: Re: stuck or good?
Post by: henknies1 on August 29, 2015, 05:27:23 PM
Is there an expectation when 0.94 is officially being released?