Author

Topic: Installed Armory and it's not doing anything (no preparing databases) (Read 137 times)

HCP
legendary
Activity: 2086
Merit: 4314
So you're going to switch to Windows + Bitcoin Core + Armory? Huh

Honestly, you'll likely run into similar problems... especially if you have the Bitcoin Core datadir set to a "custom" location... I'd suggest bookmarking this thread so you can refer to it later, as the advice applies to Armory on Windows as well.
newbie
Activity: 5
Merit: 1
Ah thank you for your help. Unfortunately, my drive gave up running the whole thing, or maybe I was not doing something right. I just learnt how to set up the whole thing with YouTube videos and posts and don't know how to operate outside that box  Embarrassed
So I had to delete the whole thing. And I am starting clean with windows this time hope it works  Grin

Thank you for your time.
HCP
legendary
Activity: 2086
Merit: 4314
Theoretically, you don't need the "Bitcoin Install Dir" set... it's only required if Bitcoin Core is not installed in the "default" locations... Armory should be able to function "fine" without it, it is just possible that it may not be able to start Bitcoin Core for you automatically without it. No big deal, you can just start Bitcoin Core manually, then start Armory Wink

However, you do need the "Bitcoin Home Dir" set correctly tho...


This is the directory where the Bitcoin Core "blocks" folder is... and should be set to the same value as the "datadir" shown in Bitcoin Core (in the "Window -> information" screen). Without that being set properly, Armory won't be able to find and parse the bitcoin blockchain data.


I'd suggest:

1. Shutdown Bitcoin Core (if running)
2. Leave "Bitcoin Install Dir" empty
3. Set "Bitcoin Home Dir" to: /home/barbara/snap/bitcoin-core/common/.bitcoin
4. Leave "Armory Database Dir" empty
5. Shutdown Armory
6. Restart Armory


If it is still not working, then post the logs using Pastebin as suggested by bob123

legendary
Activity: 1624
Merit: 2481
Could you please do the following:

  • Delete the log file
  • Check that the settings point to the directory core is installed in
  • Start armory again
  • Upload the log file to https://pastebin.com/ (or a similair service) and share the URL here

There might be something else inside of the logfile. Providing it here, will make it easier for us to troubleshoot the problem.
newbie
Activity: 5
Merit: 1
Alright, so I went into the Armory settings and changed the Bitcoin Blockchain Dir and the Bitcoin Home Dir. I saved it and switched off Armory. I checked the Armorysettings.txt file and it updated the information. However, when I go to the log file it's still showing me the same error, it's still looking for the default directory.

I tried opening armory from the terminal and inserted the command line but it says no such file or directory  Undecided
legendary
Activity: 1624
Merit: 2481
Alright, so the problem definitely is that armory is looking in the wrong folder for your blockchain.


What do you mean by starting Armory with the corresponding argument.... ?

How do you start armory?
If you are starting it from the command line, you can pass the argument like i mentioned above.
If you are starting it from the menu, you could edit the shortcut to use that argument.

But the better option would be to adjust it in the settings/config file:

Where it asks for the datadir, enter: /home/barbara/snap/bitcoin-core/common/.bitcoin
And the installation directory should be (not completely sure about how snap installs core): /home/barbara/snap/bitcoin-core


If those settings don't work, you need to check where core is installed into (i.e. where the executable is located), if it is not in /home/barbara/snap/bitcoin-core
newbie
Activity: 5
Merit: 1
Thanks BOB123 for the reply!

So I checked in Bitcoin core settings it says:
-DATADIR : /home/barbara/snap/bitcoin-core/common/.bitcoin
-BLOCKSDIR: /home/barbara/snap/bitcoin-core/common/.bitcoin/blocks

What do you mean by starting Armory with the corresponding argument.... ? Do you mean inputing the code into the Armory settings where it asks for the datadir? Huh
I am looking in the armory folder but there is no armoryqt.conf file. It only has 6 folders: databases, armorycpplog.txt, armorylog.txt, armorysettings.txt, dblog.text and .cookie_

Thank you again for the help. Greatly appreciated
legendary
Activity: 1624
Merit: 2481
/home/barbara/.bitcoin/blocks is not a valid path

Where is your blockchain located? What is your data directory in core?
You need to set the "satoshi-datadir" to the path where your blockchain is located.

You can either do that by starting armory with the corresponding argument:
Code:
armory --satoshi-datadir="/path/to/blockchain"

or by adding it to the config file armoryqt.conf located in your armory datadir (usually in ~/.armory):
Code:
satoshi-datadir="/path/to/blockchain"
newbie
Activity: 5
Merit: 1
Hi there,

Long story short I've installed Ubuntu 20.04 on an external drive and run Bitcoin core on it. Armory was not compatible with the newest ubuntu so after 2 days of researching and learning I saw that there were some dependency problems. I got python qt4 and all the other dependency packages and managed to install the newest Armory.

Armory, however, does not show any signs. It's not scanning or preparing anything the bars are empty and it does not show time or percentage change. I've tried running bitcoin core first and then armory (unticked the let armory run core in the background) but nothing changed.

The log file shows 2 errors: 1.  Failed to set up SDM  and 2.DB error: /home/barbara/.bitcoin/blocks is not a valid path

I saw other people posting with the same error and they were prompted to change the directory. I am trying to do that since yesterday but I just don't know how to do it. What to click on or what to write. I am really not good at tech stuff especially Ubuntu, I've never done anything like this before.

Any help would be greatly appreciated. I am on the verge of giving up I really don't know what to do anymore.

Thank you in advance
Jump to: