Author

Topic: ArmoryDB.exe stops incomplete (Read 331 times)

legendary
Activity: 3794
Merit: 1375
Armory Developer
November 02, 2018, 07:04:28 PM
#18
Delete dbLog.txt and you databases folder. Start ArmoryDB.exe from the command line, then start ArmoryQt.py. Do not run BitcoinQt during this. If it fails, post the fresh dbLog.txt
newbie
Activity: 12
Merit: 0
November 02, 2018, 06:57:51 PM
#17
I'm surprised you didn't hear the explosion! Them babies be gone!
legendary
Activity: 3430
Merit: 3080
November 02, 2018, 06:23:43 PM
#16
did you delete the old database folders for Bitcoin & for Armory?
newbie
Activity: 12
Merit: 0
November 02, 2018, 05:57:08 PM
#15
Yes. Installed new 0.96.4 and new BTC Core as well.
legendary
Activity: 3430
Merit: 3080
November 02, 2018, 10:00:26 AM
#14
Did you install 0.96.4?
newbie
Activity: 12
Merit: 0
November 02, 2018, 07:22:11 AM
#13
I got a bit frustrated and removed both botcoin core and armory. Then I reinstalled both.

I imported my wallet but I cannot get the program out of Offline mode. Please help.

Thanks,
Frank
sr. member
Activity: 525
Merit: 282
November 01, 2018, 08:17:39 PM
#12
That's dated stuff, removed that feature some time around 2015 because it hurts privacy. You can get the latest Core from bitcoin.org (not bitcoin.com, that's a scam).

Strictly speaking, I'd argue bitcoincore.org is a better choice these days. bitcoin.org still works but I seem to recall something recently about concerns that bitcoin.org will become just another outlet for Roger's garbage. Whether or not it's true, bitcoincore.org will (hopefully) always be Core-friendly and up-to-date.
legendary
Activity: 3794
Merit: 1375
Armory Developer
November 01, 2018, 06:19:51 PM
#11
I saw a video or set of instructions (probably old) that said when Armory first runs, I will get an option to download Bitcoin Core from within the program. This has never happened.

What is the correct way to install Armory?

Listen, thanks everyone for all the help. You're great.

That's dated stuff, removed that feature some time around 2015 because it hurts privacy. You can get the latest Core from bitcoin.org (not bitcoin.com, that's a scam).
newbie
Activity: 12
Merit: 0
November 01, 2018, 04:24:46 PM
#10
I saw a video or set of instructions (probably old) that said when Armory first runs, I will get an option to download Bitcoin Core from within the program. This has never happened.

What is the correct way to install Armory?

Listen, thanks everyone for all the help. You're great.
legendary
Activity: 3794
Merit: 1375
Armory Developer
November 01, 2018, 03:11:00 PM
#9
Quote
Armory Version        : 0.96

Update Armory, delete the content of your databases folder (C:\Users\Frank\AppData\Roaming\Armory\databases) and try again.


Does this mean the problem is not related to core at all ?

May i ask how (and why) 'merkle root mismatch' and 'raw data does not match expected block hash' is caused by armory (and not by core) ?

Especially since there is an error when shutting down core ?


P.S. Feel free to ignore my question if you feel the answer would cost too much time / wouldn't be beneficial. Just asking out of curiosity.




@OP:

You can get the latest version of armory here: https://btcarmory.com/

It's hard to know where the issue originates from. Some of it could be poor resource management in multithreaded tasks on Armory's end, and some from LevelDB corruption at shutdown in Core. Both these issues have largely improved in later versions, but since he is using 0.96, I'm guessing he is also carrying a copy of the blockchain at least partly generated by some older version of Core. Therefor there's just no way to know who's the culprit, and isolating one potential source by upgrading Armory is the only sane way to get any clarity.

Chances are the shutdown error comes from 0.96 use of deprecated Core RPC calls (that interface received some changes this year). I'm treating it as a false positive for now.
legendary
Activity: 1624
Merit: 2481
November 01, 2018, 02:45:01 PM
#8
Quote
Armory Version        : 0.96

Update Armory, delete the content of your databases folder (C:\Users\Frank\AppData\Roaming\Armory\databases) and try again.


Does this mean the problem is not related to core at all ?

May i ask how (and why) 'merkle root mismatch' and 'raw data does not match expected block hash' is caused by armory (and not by core) ?

Especially since there is an error when shutting down core ?


P.S. Feel free to ignore my question if you feel the answer would cost too much time / wouldn't be beneficial. Just asking out of curiosity.




@OP:

You can get the latest version of armory here: https://btcarmory.com/
legendary
Activity: 3794
Merit: 1375
Armory Developer
November 01, 2018, 02:37:11 PM
#7
Quote
Armory Version        : 0.96

Update Armory, delete the content of your databases folder (C:\Users\Frank\AppData\Roaming\Armory\databases) and try again.
legendary
Activity: 1624
Merit: 2481
November 01, 2018, 02:21:53 PM
#6
Code:
-ERROR - 1536705562: (..\BlockDataMap.cpp:79) merkle root mismatch!
-ERROR - 1536705562: (..\BlockDataMap.cpp:80)    header has: 6a77f3b9c2dd4aef23d2e51149bf6cc0d15bdd547d183c4f61eda06a2a501c4e
-ERROR - 1536705562: (..\BlockDataMap.cpp:81)    block yields: ac904e380e00d2420fc3abd046ff3e6d9a5e518dc42ac2fb5ebaba90756b1b9c
-ERROR - 1536705562: (..\DatabaseBuilder.cpp:353) block deser except: invalid merkle root

and

Code:
-ERROR - 1541049477: (..\BlockchainScanner.cpp:271) raw data does not match expected block hash

lets me lead to the conclusion that something is wrong with your database (from bitcoin core).

Did you let core sync itself ? Or did you use/download a file from the internet to skip syncing 'manually' ?

Can you verify that core is synced correctly ?


To be honestly, i haven't seen those errors yet. So i can't really tell whats going wrong.
If i were you, i'd try to reindex core (again).

But to completely fix your problem, you might want to wait for goatpig (armory dev) to comment on this.


P.S. This made me smile:
Code:
2018-11-01 04:28 (ERROR) -- ArmoryQt.py:5411 - Strange error during shutdown
Traceback (most recent call last):
  File "ArmoryQt.py", line 5402, in closeForReal
  File "SDM.pyc", line 483, in stopBitcoind
  File "armoryengine\ArmoryUtils.pyc", line 829, in LOGERROR
TypeError: cannot concatenate 'str' and 'exceptions.RuntimeError' objects
newbie
Activity: 12
Merit: 0
November 01, 2018, 02:06:11 PM
#5
https://pastebin.com/A6MUcM6U
https://pastebin.com/dWUzy4sU

First is dblog, second is armorylog

Thank you for this. I had to snip a couple things out of the armorylog to get it ti fit.
legendary
Activity: 1624
Merit: 2481
November 01, 2018, 12:44:47 PM
#4
Usually, the transaction should appear instantly (AFAIK).

'Node offline' definitely is the cause. Armory should tell you why it is in offline mode (dashboard).

The best would probably be to upload your logs (named armorylog and dblog), so that we can take a look at it.
newbie
Activity: 12
Merit: 0
November 01, 2018, 12:28:25 PM
#3
Thanks, Bob.

I reindexed the DBs and reinstalled the program. All is good as far as the first problem.

However, I just sent BTC from my wallet (about 15 minutes ago). That SEND transaction does not appear in the transactions tab, and to make sure I send it I tried to send a tiny amount to a diff address. Armory says there's no coin there, which is good.

How long does it take for the transaction to appear in the transaction list?

It also says "Node Offline" at the bottom of the wallet. Is this the problem? How do I tell the wallet to go back online?
legendary
Activity: 1624
Merit: 2481
November 01, 2018, 10:16:48 AM
#2
Armory doesn't download the blockchain at all.

You need core up-to-date and synced in order to properly use armory.

In case you have core updated, synced and running and still have problems, post your logs on pastebin and provide us the URL.

The logs can be found in the armory data directory and are called armorylog and dblog.
newbie
Activity: 12
Merit: 0
November 01, 2018, 08:29:02 AM
#1
The ArmoryDB.exe program works for several minutes then just stops before completing the blockchain download. I have tried many times.

Is there a method to download the blockchain or force the blockchain updating program to continue to run?

Thanks you,
Frank
Jump to: