Bitcoin Forum

Bitcoin => Armory => Topic started by: conchita on April 14, 2018, 03:09:40 AM



Title: Armory keeps crashing. Please help!
Post by: conchita on April 14, 2018, 03:09:40 AM
I run armory on an external 2TB hard drive.

I transferred some BTC from gdax to armory, and I'm unable to access/see the funds as armory keeps crashing at loading.

Here is the message from ArmoryQT.exe:

(ERROR) ArmoryUtils.pyc:3747 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:396 - Spawning DB with command:./ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="A:\_Data\_bitcoin-core\blocks" --datadir="C:\Users\lac\AppData\Roaming\Armory\" --dbdir="C:\Users\lac\AppData\Roaming\Armory\databases"
(ERROR) ArmoryQt.py:1188 - 3 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:1193 - File mempool.bin does not exist. Nothing deleted.

Would post a screenshot of the error, but don't know how...

Let me know if there's anything else you may need.

Many thanks,


Title: Re: Armory keeps crashing. Please help!
Post by: HCP on April 14, 2018, 04:35:10 AM
That error is probably not the actual root cause of your problem.

For anyone to assist further, you will need to post the FULL contents of the Armory log file (C:\Users\lac\AppData\Roaming\Armory\armoylog.txt) and also the ArmoryDB log could be helpful (C:\Users\lac\AppData\Roaming\Armory\dbLog.txt)

As these log files are likely to be very long, I suggest you copy/paste the contents of these log files to: https://pastebin.com/ Then click the "Create New Paste" button and you should get a unique URL that you can link to here.


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 14, 2018, 01:12:04 PM
HCP,

Thank you for taking the time to look into this.

The attemp to use pastebin was unsuccessful. The text was too large for the site to process.

I used wetransfer instead - see the link: https://we.tl/bwixguUBJH

Let me know your thoughts.



Title: Re: Armory keeps crashing. Please help!
Post by: goatpig on April 14, 2018, 01:24:29 PM
How big is the log?


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 14, 2018, 01:31:29 PM
1.1 MB


Title: Re: Armory keeps crashing. Please help!
Post by: goatpig on April 14, 2018, 03:31:55 PM
copy paste the bottom quarter into pastebin then.


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 14, 2018, 07:11:37 PM
Sounds good.

Armorylog: https://pastebin.com/8RAyfzwU

ArmoryDB: https://pastebin.com/4cZWgDAg

Thanks!


Title: Re: Armory keeps crashing. Please help!
Post by: goatpig on April 14, 2018, 07:55:04 PM
1) Start BitcoinQt manually. Wait till it syncs

2) Delete this folder: C:\Users\lac\AppData\Roaming\Armory\databases

3) Update to the latest version and run that.


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 14, 2018, 10:58:59 PM
I appreciate the prompt response, goatpig. I started step one, however, I noticed that I'm downloading the whole blockchain again. Is that necessary? As I downloaded the whole blockchain (~125GB) 6 months ago... Also, can you elaborate on step 3? Meaning what needs to be updated and so on.


Title: Re: Armory keeps crashing. Please help!
Post by: justmyname on April 15, 2018, 02:11:48 AM
I appreciate the prompt response, goatpig. I started step one, however, I noticed that I'm downloading the whole blockchain again. Is that necessary? As I downloaded the whole blockchain (~125GB) 6 months ago... Also, can you elaborate on step 3? Meaning what needs to be updated and so on.

He's telling you to...

(1) uninstall Armory

(2) go into hidden files and delete the database folder? If you delete the everything (Armory file), make sure you have a backup. Because you'll have to restore it.

(3) reinstall the latest Armory version on the online computer. Make a copy of the latest version on a thumb and also update your offline computer.

You shouldn't have to re-download the blockchain because it is in the Bitcoin "hidden" folder.    


Title: Re: Armory keeps crashing. Please help!
Post by: justmyname on April 15, 2018, 02:15:20 AM
You also need at least 8 GB of RAM to run Armory. Having less caused my computer to crash.


Title: Re: Armory keeps crashing. Please help!
Post by: HCP on April 15, 2018, 04:43:19 AM
I appreciate the prompt response, goatpig. I started step one, however, I noticed that I'm downloading the whole blockchain again. Is that necessary? As I downloaded the whole blockchain (~125GB) 6 months ago...
Yes, Armory requires that Bitcoin Core be installed and fully synced for Armory to be able to function properly.

Armory is looking for your blockchain data here: A:\_Data\_bitcoin-core\blocks

EDIT: Which means your Bitcoin Core datadir should be: A:\_Data\_bitcoin-core

If Bitcoin Core is trying to download everything again, it may not be looking in the correct location. If you start Bitcoin Core manually, and go to: "Help -> Debug Window -> Information", what is the value of "Datadir"?:
https://talkimg.com/images/2023/11/15/zbHka.png

If it is NOT "A:\_Data\_bitcoin-core", then your Bitcoin Core and Armory are not configured to use the same data files.


Quote
Also, can you elaborate on step 3? Meaning what needs to be updated and so on.
Get the latest version of Armory from here: https://github.com/goatpig/BitcoinArmory/releases

Currently, 0.96.4 has been "tagged" but the builds have not been completed and released. So unless you want to download the source code and compile it yourself, you'll need to use the 0.96.4 RC3 (aka "armory_0.96.3.992") builds for now.

NOTE: DO NOT use: https://www.bitcoinarmory.com/ This website is OLD and outdated...
NEW Armory website is: https://btcarmory.com/

Also, you'll want to make sure you're using at least v0.15.1 of Bitcoin Core... v0.16 would be recommended.


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 15, 2018, 07:42:53 PM
Thank you, guys!

Armory has been backed up and uninstalled.

HCP,

I directed bitcoin-qt to go to A:\_Data\Core\blocks. Followed by going to Help -> Debug Window -> Information -> datadir: A:\_Data\Core\blocks.

The blocks folder located here: A:\_Data\Core\blocks is 159GB in size, still, bitcoin core starts synching from 2009...

Is this normal? Or, am I missing something here?


Title: Re: Armory keeps crashing. Please help!
Post by: HCP on April 15, 2018, 08:38:17 PM
Apologies, I was not clear and may have confused you slightly.

You shouldn't tell bitcoin-qt to go to: "A:\_Data\Core\blocks", you should tell it to go to "A:\_Data\Core" as this is the datadir

I have edited my post above to reflect this.


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 16, 2018, 12:39:09 AM
HCP,

Following your instructions - synching bitcoin-core at the moment.

Will let you know the outcome. 

You've been very kind. Thank you.

Talk soon!
 


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 20, 2018, 02:06:10 AM
Guys,

I finally synced bitcoinqt.exe. It's up-to-date. However, now I'm having an issue with armory. It cannot find the blocks. As I previously mentioned, I have both bitcoinqt.exe and bitcoin-core installed on an external hard-drive. I've attached the below for your reference.

dblog.exe is here: https://pastebin.com/wZnybNpX

armorylog is here: https://pastebin.com/6BCXw6g3

Also, how can I set up armory so that it updates bitcoin-core when it opens?

Thank you in advance.

C


Title: Re: Armory keeps crashing. Please help!
Post by: HCP on April 20, 2018, 08:17:40 AM
It's a "pathing" issue...
Quote
2018-04-19 08:02:54 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\lac\AppData\Roaming/Bitcoin/blocks is not a valid path

That is to say, your Armory install is looking for Bitcoin Core data in the "default" Bitcoin Core location... Unfortunately, Armory is unable to automatically detect/find Bitcoin Core data if you've installed it in a non-standard location... you have to tell it explicitly where it is...

Read here: https://btcarmory.com/docs/pathing

Basically, create the appropriate .conf files (in the appropriate location, ie. Armory data dir) and include the path to your Bitcoin Core blocks folder as the "satoshi-datadir"...

For instance:
Code:
satoshi-datadir=A:\_Data\Core\blocks


NOTE: Be aware that, because you haven't explicitly specified it, your Armory DB Directory is actually being stored in the "default" location: C:\Users\lac\AppData\Roaming\Armory\databases

You can override that using the "dbdir" in your .conf file


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 21, 2018, 01:37:03 AM
Thank you!

However, how do I create the .conf file?

Apologize for my lack of knowledge, in advance.


Title: Re: Armory keeps crashing. Please help!
Post by: conchita on April 21, 2018, 03:20:12 AM
The external hard-drive contains: bitcoinqt.exe (inside _bitcoin folder), bitcoin-core (inside _bitcoin-core folder) and Armory.exe (inside _armory folder).

Roaming folder contains: bitcoin and armory folders.

My intention is to have all bitcoin and armory on the external hard-drive.

Hope this helps...


Title: Re: Armory keeps crashing. Please help!
Post by: HCP on April 23, 2018, 04:14:53 AM
The .conf file is just a plain text file with a .conf extension instead of .txt

Depending on your setup, you may need to enable the display of file extensions... as Windows will generally have this disabled by default: https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/

Then just use whatever text editor you normally use (DO NOT use Microsoft Word!) and create the appropriate .conf files that you need.