Bitcoin Forum

Bitcoin => Armory => Topic started by: DrakonX on January 16, 2018, 01:17:40 PM



Title: About Armory and the blockchain
Post by: DrakonX on January 16, 2018, 01:17:40 PM
Is this correct: In order to use Bitcoin Armory I need the Bitcoin Core application but I don't need to download the whole blockchain, cause Armory connects to any external blockchain.


Title: Re: About Armory and the blockchain
Post by: Holliday on January 16, 2018, 03:55:45 PM
Nope. You need a local copy of the block chain.


Title: Re: About Armory and the blockchain
Post by: DrakonX on January 17, 2018, 06:06:22 PM
What do I have to enter into the "Bitcoin Home Dir", the same directory which contains the blockchain I downloadad via Bitcoin Core (in case Bitcoin Core does not use the standard directory)?


Title: Re: About Armory and the blockchain
Post by: Holliday on January 17, 2018, 06:39:44 PM
What do I have to enter into the "Bitcoin Home Dir", the same directory which contains the blockchain I downloadad via Bitcoin Core (in case Bitcoin Core does not use the standard directory)?

Some users choose to install the block chain in non-standard locations and must provide Armory with a way to find that data so that it may function.


Title: Re: About Armory and the blockchain
Post by: droark on January 17, 2018, 06:42:39 PM
What do I have to enter into the "Bitcoin Home Dir", the same directory which contains the blockchain I downloadad via Bitcoin Core (in case Bitcoin Core does not use the standard directory)?

Only if you're installing the blockchain in a non-standard location. If you don't mess with that, Armory will find the blockchain automatically.


Title: Re: About Armory and the blockchain
Post by: DrakonX on January 20, 2018, 06:09:37 PM
Should I enter the Bitcoin directory or the bin directory (which contains the executables)?


Title: Re: About Armory and the blockchain
Post by: Holliday on January 20, 2018, 06:43:07 PM
Should I enter the Bitcoin directory or the bin directory (which contains the executables)?

Bitcoin folder. Standard location is C:\Users\username\AppData\Roaming\Bitcoin


Title: Re: About Armory and the blockchain
Post by: DrakonX on January 20, 2018, 07:49:38 PM
I referred to the "Bitcoin Install Dir". Do I have to enter the "bin" or the "home" directory (from Bitcoin Core)?


Title: Re: About Armory and the blockchain
Post by: jojo69 on January 20, 2018, 09:46:42 PM
https://btcarmory.com/docs/pathing

covers pathing for Armory pretty well


Title: Re: About Armory and the blockchain
Post by: DrakonX on January 21, 2018, 01:09:37 PM
This ressource says nothinng about the "Bitcoin Install Dir" option within Armory. What exactly, do I have to enter into the field (in order to use bitcoind)?


Title: Re: About Armory and the blockchain
Post by: PhoenixFire on January 21, 2018, 04:32:51 PM
This ressource says nothinng about the "Bitcoin Install Dir" option within Armory. What exactly, do I have to enter into the field (in order to use bitcoind)?
Install dir is the directory that has bitcoin-qt.exe inside it. I'm getting the impression you are on linux, though?
Blank should find it if installed properly, but yeah bitcoin-qt and bitcoind are in bin on linux.
We can't give you an exact path because setups vary, dude, and you aren't giving us much info here about yours.


Title: Re: About Armory and the blockchain
Post by: DrakonX on January 21, 2018, 07:51:10 PM
The problem is: I don't really know, what matters, so I'm unable to give any more specific information. No, I'm on a Windows machine and I'm using the portable versions of both of them, Bitcoin Core and Bitcoin Armory.

I have something in mind, getting a sample configuration, step by step, in text form, how to set up the environment not using the default data locations, becaus due to having a small SSD running in my machine, using the default locations is not an option for me. I have to put them on an external drive.


Title: Re: About Armory and the blockchain
Post by: jojo69 on January 21, 2018, 08:01:16 PM
due to having a small SSD running in my machine, using the default locations is not an option for me. I have to put them on an external drive.

This is a very common problem and one, in my opinion, Core could have made easier to manage.  Who, in this day and age, loads their C: with untold GB of application data??  I share your frustration with that.

You have probably seen it but here is a primer on getting the big folder off your SSD.

https://bitzuma.com/posts/moving-the-bitcoin-core-data-directory/


Title: Re: About Armory and the blockchain
Post by: Holliday on January 21, 2018, 09:39:33 PM
The problem is: I don't really know, what matters, so I'm unable to give any more specific information. No, I'm on a Windows machine and I'm using the portable versions of both of them, Bitcoin Core and Bitcoin Armory.

I have something in mind, getting a sample configuration, step by step, in text form, how to set up the environment not using the default data locations, becaus due to having a small SSD running in my machine, using the default locations is not an option for me. I have to put them on an external drive.

Run Bitcoin Core manually and Armory doesn't need to know where the "Bitcoin install directory" is, only where the block chain data is located.

Start Bitcoin Core, let it sync fully, then start Armory. Pretty easy.

Use a config file in the Armory folder (armoryqt.conf) to specify where your block chain is located. Example: satoshi-datadir=D:\Bitcoin

Put the Armory database in the same place if you want. Example: dbdir=D:\Armory


Title: Re: About Armory and the blockchain
Post by: DrakonX on January 23, 2018, 01:25:00 PM
Does it matter whether Bitcoin Core is running or not while Armory runs? The blockchain would not become updated if not.


Title: Re: About Armory and the blockchain
Post by: jojo69 on January 23, 2018, 05:30:16 PM
Does it matter whether Bitcoin Core is running or not while Armory runs? The blockchain would not become updated if not.

the recommended method is to uncheck "Let Armory run Bitcoin Core/bitcoind in the background" under file/settings and then have core running and synced when you launch Armory.


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 05, 2018, 11:25:17 PM
No matter what I do, Armory keeps saying he couldn't spawn the DB. The error log says absolutely nothing. Keeps Armory looking for the blockchain in the wrong directory? Why? "satoshi-datadir" does also not work, although Bitcoin Core (not installed) tells me "blockchain load complete".


Title: Re: About Armory and the blockchain
Post by: droark on February 06, 2018, 12:16:58 AM
Are you absolutely sure you're invoking satoshi-datadir correctly and pointing it to the correct location? Can you please post your logs?


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 06, 2018, 01:57:55 AM
Bitcoin Core (not installed) tells me "blockchain load complete".

I'm confused


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 06, 2018, 08:37:02 AM
Do you mean this file:
Code:
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(ERROR) qtdialogs.pyc:3561 - User did not accept the EULA
(WARNING) ArmoryQt.py:262 - Armory startup was aborted.  Closing.
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(ERROR) qtdialogs.pyc:3561 - User did not accept the EULA
(WARNING) ArmoryQt.py:262 - Armory startup was aborted.  Closing.
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(ERROR) ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 1857, in startBitcoindIfNecessary
  File "SDM.pyc", line 188, in setupSDM
BitcoindError: bitcoind not found
(WARNING) SDM.pyc:396 - Spawning DB with command: ./ArmoryDB.exe --db-type="DB_FULL" --cookie --datadir="C:\Users\Andreas\AppData\Roaming\Armory\" --dbdir="C:\Users\Andreas\AppData\Roaming\Armory\databases"
(ERROR) BDM.pyc:199 - DB error: C:\Users\Andreas\AppData\Roaming/Bitcoin/blocks is not a valid path
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(ERROR) ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 1857, in startBitcoindIfNecessary
  File "SDM.pyc", line 188, in setupSDM
BitcoindError: bitcoind not found
(ERROR) BDM.pyc:199 - DB error: C:\Users\Andreas\AppData\Roaming/Bitcoin/blocks is not a valid path
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(ERROR) ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 1857, in startBitcoindIfNecessary
  File "SDM.pyc", line 188, in setupSDM
BitcoindError: bitcoind not found
(ERROR) BDM.pyc:199 - DB error: C:\Users\Andreas\AppData\Roaming/Bitcoin/blocks is not a valid path
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(ERROR) ArmoryQt.py:5951 - Socket already in use.  Sent CLI args to existing proc.
(ERROR) ArmoryQt.py:5952 - Exiting...
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:439 - Spawning bitcoind with command: C:\Andreas\Programme\bitcoin-0.15.0\bin\bitcoind.exe -datadir=G:\Blockchain -dbcache=1000
(ERROR) BDM.pyc:199 - DB error: C:\Users\Andreas\AppData\Roaming/Bitcoin/blocks is not a valid path
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:439 - Spawning bitcoind with command: C:\Andreas\Programme\bitcoin-0.15.0\bin\bitcoind.exe -datadir=G:\Blockchain -dbcache=1000
(ERROR) BDM.pyc:199 - DB error: C:\Users\Andreas\AppData\Roaming/Bitcoin/blocks is not a valid path
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:439 - Spawning bitcoind with command: C:\Andreas\Programme\bitcoin-0.15.0\bin\bitcoind.exe -datadir=G:\Blockchain -dbcache=1000
(WARNING) SDM.pyc:396 - Spawning DB with command: ./ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="G:\Blockchain\blocks" --datadir="C:\Users\Andreas\AppData\Roaming\Armory\" --dbdir="C:\Users\Andreas\AppData\Roaming\Armory\databases"
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:439 - Spawning bitcoind with command: C:\Andreas\Programme\bitcoin-0.15.0\bin\bitcoind.exe -datadir=G:\Blockchain -dbcache=1000
(WARNING) SDM.pyc:396 - Spawning DB with command: ./ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="G:\Blockchain\blocks" --datadir="C:\Users\Andreas\AppData\Roaming\Armory\" --dbdir="C:\Users\Andreas\AppData\Roaming\Armory\databases"
(ERROR) ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:439 - Spawning bitcoind with command: C:\Andreas\Programme\bitcoin-0.15.0\bin\bitcoind.exe -datadir=G:\Blockchain -dbcache=1000
(WARNING) SDM.pyc:396 - Spawning DB with command: ./ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="G:\Blockchain\blocks" --datadir="C:\Users\Andreas\AppData\Roaming\Armory\" --dbdir="C:\Users\Andreas\AppData\Roaming\Armory\databases"
(ERROR) ArmoryQt.py:1198 - 3 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:1203 - File mempool.bin does not exist. Nothing deleted.

I'm confused
I use the "portable" version that comes with the zip file.


Title: Re: About Armory and the blockchain
Post by: goatpig on February 06, 2018, 02:30:21 PM
Post the full armorylog.txt


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 07, 2018, 05:18:11 PM
You can view the full armorylog.txt here: https://pastebin.com/R60JDX0s (https://pastebin.com/R60JDX0s)


Title: Re: About Armory and the blockchain
Post by: goatpig on February 07, 2018, 06:38:22 PM
1) Don't downgrade. Upgrade.

2)  G:\Blockchain. This folder either does not exists, or you have not given your user account the privileges to read/write in it.


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 08, 2018, 12:45:18 PM
I don't downgrade anything!

I didn't check the checkbox "Let Armory run Bitcoin Core/bitcoind in the background". So why Armory is looking for the blockchain in "G:\Blockchain"?!


Title: Re: About Armory and the blockchain
Post by: droark on February 08, 2018, 05:11:18 PM
I don't downgrade anything!

The log starts at v0.96.3 and then reverts to v0.96. If you really have upgraded, you're sending the wrong log somehow.

Quote
I didn't check the checkbox "Let Armory run Bitcoin Core/bitcoind in the background". So why Armory is looking for the blockchain in "G:\Blockchain"?!

How exactly are you actually invoking Armory?


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 09, 2018, 11:15:22 AM
Now I see what you mean by "downgrade". I started Armory via a link pointing to the old directory. Therefore, the log displayed different version numbers. I have corrected that now.

At the moment I start Armory (now the shortcut points to the right file) via a shortcut without any parameters. I tried it with the parameter --satoshi-datadir = "G:\Blockchain Core". Previously, this provoked an error message, but last, it simply had no effect (without displaying an error message).

Therefore, I have now tried to set the blockchain directory via the Armory configuration file. I saved the line:
Code:
satoshi-datadir="G:\Blockchain Core"
in the file "armoryqt.conf" which I saved in the default configuration directory of Armory:
Code:
~/Armory
This too had no effect.

I would like to start Armory via a shortcut without any parameters and save the parameters in a configuration file instead. As I read here (https://btcarmory.com/docs/pathing), you can do that with the file "armoryqt.conf". But since the file does not exist by default, I'm not sure what it has to look like and where to store it.

I would also like to change the database directory of Armory too and would like to know if I also have to create/change the configuration file "armorydb.conf" and how it should look like. (It's a pitty that the information of the above link are very confusing me.)

Do you need the new "armorylog.txt"?


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 10, 2018, 10:18:42 PM
Why must it be that fucking complicated?!


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 10, 2018, 10:32:58 PM
dude...I know

deep breaths man


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 16, 2018, 12:25:04 PM
As you can see, Armory is running but is actually doing nothing. If I try to close Armory, Windows tells me it crashed:

http://fs1.directupload.net/images/180216/bk79zxqf.png
I found out a way to avoid this behavior: when this message appears:

http://fs1.directupload.net/images/180216/88n84h39.png (http://www.directupload.net)
... do nothing, until the next message appears:

http://fs1.directupload.net/images/180216/6ik9unzg.png
Armory is displaying your balance then and doesn't crash when you quit. It is stille telling you beeing offline. Although I tried all 4 possible configurations:
First, leaving both fields empty:

http://fs1.directupload.net/images/180216/itlaefrj.png
Second, leaving only the "Bitcoin Homedir" empty:

http://fs1.directupload.net/images/180216/h8g9opzf.png
Third, leaving only the "Bitcoin Installdir" empty:

http://fs1.directupload.net/images/180216/nx4ypo8x.png
Fourth, leaving none empty:

http://fs1.directupload.net/images/180216/tpigz8fb.png
In any case Armory tells you beeing offline.

I don't know what to do. :(


Title: Re: About Armory and the blockchain
Post by: droark on February 16, 2018, 03:59:22 PM
Bitcoin Install Dir is wrong but you should turn off Armory's management of Core anyway and run Core manually. If you have armoryqt.conf and it's working properly, that should do the trick.


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 16, 2018, 04:36:10 PM
pretty sure "Bitcoin Install Dir" should be C:\Program Files\Bitcoin


or, as droark suggested, navigate to C:\users\Andreas\AppData\Roaming\Armory and create a file "armoryqt.conf" containing the lines

Code:
satoshi-datadir="H:\Blockchain Core"

datadir="path to wherever you want armory to store its database"
(be sure to pay attention when saving it and not save it as armoryqt.conf.txt like I did)  :P

and then uncheck that box "let armory etc."


Title: Re: About Armory and the blockchain
Post by: droark on February 16, 2018, 10:10:02 PM
Code:
datadir="path to wherever you want armory to store its database"

One subtle but important note: datadir is actually where Armory data, such as config files and wallets, are found. By default, within that directory is a "databases" subfolder, which is where the Armory DB will be found. As written, I don't think it's easy to override the DB location. ArmoryDB can override this setting in armorydb.conf with the "dbdir" setting, as seen here (https://btcarmory.com/docs/pathing). However, command line invocations, such as the one Armory uses, override whatever's in the config. So, Armory users would have to alter the code to either not use dbdir in the command line invocation, or alter it to use whatever it is they really want.

(All this will be placed in an ArmoryDB README. Pinky swear. It's almost done. I've just been distracted by more pressing matters.)


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 16, 2018, 11:15:43 PM
So more accurately it might be

Code:
datadir="drive letter where you installed armory:\armory
?

I know mine is D:\armory, I did not remember if I chose that specifically or not...I guess not.


Title: Re: About Armory and the blockchain
Post by: droark on February 17, 2018, 03:27:29 AM
So more accurately it might be

Code:
datadir="drive letter where you installed armory:\armory
?

I know mine is D:\armory, I did not remember if I chose that specifically or not...I guess not.

It depends. The default path is where it goes for most people. (On Windows, I believe C:\Users\*USERNAME-GOES-HERE*\AppData\Roaming\Armory is the location. Some people are moving their data around due to storage issues, though That's fine so long as they make sure to point Armory in the correct directions upon startup.


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 17, 2018, 09:49:38 AM
First of all, thank you for all of your responses!

pretty sure "Bitcoin Install Dir" should be C:\Program Files\Bitcoin
Pretty sure it has to be a custom directory since I'm using the portable version of Bitcoin Core. I thought it has to be the directory where Armory can be found. Now I know it has to point to the Bitcoin Core directory, but it is obsolet because you wrote that I should deactivate the "Let armory run ..." option. Now I use the armoryqt.conf file as suggested by you:

Code:
satoshi-datadir="H:\Blockchain Core"
datadir="C:\Users\Andreas\AppData\Roaming\Armory"
This is how Armory looks like, now (still offline :():

http://fs1.directupload.net/images/180217/kazl7xwm.png
This is the armory settings dialog as it looks now:

http://fs1.directupload.net/images/180217/7mg4urkm.png


Title: Re: About Armory and the blockchain
Post by: Holliday on February 17, 2018, 05:41:33 PM
pretty sure "Bitcoin Install Dir" should be C:\Program Files\Bitcoin
Pretty sure it has to be a custom directory since I'm using the portable version of Bitcoin Core. I thought it has to be the directory where Armory can be found. Now I know it has to point to the Bitcoin Core directory, but it is obsolet because you wrote that I should deactivate the "Let armory run ..." option. Now I use the armoryqt.conf file as suggested by you:

Code:
satoshi-datadir="H:\Blockchain Core"
datadir="C:\Users\Andreas\AppData\Roaming\Armory"

Alan's autobitcoind is the devil.

If Armory isn't controlling Bitcoin Core, ignore "bitcoin install directory". Pretend you've never heard that term.

You certainly do not need to use custom directories with the portable versions of either Bitcoin Core or Armory. Where did you get this idea?

Unless absolutely necessary, leave everything in it's default location.

You don't need to point to default locations in a config file (as you've done above). The amount of data Armory requires should fit in the default location, there really isn't any reason to use a custom path.

If you use a custom path for the block chain, make sure that path matches in both Bitcoin Core and Armory.

Keep paths simple. "Blockchain Core" is the name of the folder where you keep the block chain? Just call it "Bitcoin" for the love of all things holy. Why are you using quotes, they aren't necessary (if you don't use spaces in your folder name, which you shouldn't).

Here is an example of my exact config files.

bitcoin.conf

Code:
disablewallet=1
server=1
listen=1
assumevalid=0
addnode=127.0.0.1
datadir=D:\Bitcoin

As you can see, I've relocated the block chain data to my D drive. Now, I have to tell Armory where that data is located.

armoryqt.conf

Code:
satoshi-datadir=D:\Bitcoin

The D drive on my computer has one folder in it called "Bitcoin".

This setup works every time, without fail, on a clean Windows 10. I start Bitcoin Core (from a folder on my desktop, never installed). I wait for it to finish syncing, then I start Armory (from a folder on my desktop, never installed). If I want to use an existing wallet, I copy that to the Armory folder before the initial start up.

If I were you, I would:

1. Delete the contents of the Armory folder in C:\Users\username\AppData\Roaming except for the wallet files.

1. Copy my config files into the appropriate folders.
            
            bitcoin.conf goes into C:\Users\username\AppData\Roaming\Bitcoin

            armoryqt.conf goes into C:\Users\username\AppData\Roaming\Armory

2. Modify the config files with your specific locations. Keep it as simple as you can (like mine).

Hopefully this shines some light on pathing. Either do as suggested or modify your current setup with the above in mind. If this doesn't work, I would delete your block chain and start from scratch.


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 18, 2018, 04:14:05 PM
Thank you for your detailed notes.

I changed the name from "Blockchain Core" to "Blockchain" instead of "Bitcoin".
I deleted the "armoryqt.conf".
I left "bitcoin.conf" being on its defaults.

Nothing changed. I tried variants with checking the "let armory ..." option, with unchecking it and both, using the "home dir" entry and not using it (leaving it empty).

Nothing worked.

I'm giving it up, now. I definitly am done with Armory.


Title: Re: About Armory and the blockchain
Post by: Holliday on February 18, 2018, 05:37:11 PM
Thank you for your detailed notes.

I changed the name from "Blockchain Core" to "Blockchain" instead of "Bitcoin".
I deleted the "armoryqt.conf".
I left "bitcoin.conf" being on its defaults.

Nothing changed. I tried variants with checking the "let armory ..." option, with unchecking it and both, using the "home dir" entry and not using it (leaving it empty).

Nothing worked.

I'm giving it up, now. I definitly am done with Armory.

I didn't say delete armoyqt.conf...

Armory needs to know where the block chain is.

I said that you don't need to point to default locations in the config. You do, however, need to point to the custom locations (such as your block chain) in the conifig....

You "left bitcoin.conf on it's defaults"? What is that? By default there is no bitcoin.conf afaik. If you have your block chain in a custom location, it not default.

It seems to me that you have pathing issues, but I can't explain it any clearer than my previous attempt.


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 18, 2018, 07:05:54 PM
ffs dude, where did he say to DELETE the .conf file?

that's not going to work

Code:
satoshi-datadir=D:\Blockchain


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 19, 2018, 01:37:53 PM
Sure, you didn't say "delete it". But it seemed to me that the specifications within armoryqt.conf don't have any effect, that's why I deleted the file completely (as it doesn't exist by default). Of cause, I tried your suggestions (without success). ;)

Ther is a bitcoin.conf file in the directory of the blockchain that I did not create by myself. It is empty. Maybe it is there by default.

BitcoinCore does find the blockchain in its custom location, but obviously Armor does not. I don't know why.

I specified the directory of the blockchain for BitcoinCore via its graphical user interface. Unfortunately this works for BitcoinCore only.


Title: Re: About Armory and the blockchain
Post by: HCP on February 19, 2018, 11:59:26 PM
BitcoinCore does find the blockchain in its custom location, but obviously Armor does not. I don't know why.
Because you have Bitcoin Core setup with it's data directory in a "custom" location... and have not told Armory (correctly) where that location is.

Can you please start Bitcoin Core, goto: "Help -> Debug Window -> Information" and tell us what the value of "Datadir" is:
https://talkimg.com/images/2023/11/15/zphIH.png


That is the ACTUAL data directory that your instance of Bitcoin Core is currently using and is the path that needs to be added to your armoryqt.conf file


Also, I noticed that you have mentioned that you're using the "portable" version of both Armory and Bitcoin Core... however, they are not really "portable" (as they don't create data directories in the location they are run from)... instead they are probably better considered to be "standalone". They don't use an installer etc and you can just put them anywhere and run them, but due to the way these applications work, they will setup their data directories in "default" locations... like C:\Users\USERNAME\AppData\Roaming\Bitcoin and C:\Users\USERNAME\AppData\Armory, unless otherwise specified. I suspect this might be causing some issues with getting your .conf file read by Armory.


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 20, 2018, 02:57:05 AM
^^ this


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 20, 2018, 01:01:45 PM
http://fs1.directupload.net/images/180220/tgs98n3h.png
As already stated, the (custom) directory is "H:\Blockchain". (I simplified it due to recommendations of this thread. It's no longer "H:\Blockchain Core")
As already stated, Armory tells me being offline whether specifing the mentioned directory by the armoryqt.conf file or not. (Of cause whether H:\Blockchain Core nor H:\Blockchain worked.)
I'll give it one last try, installing the install versions of both Bitcoin Core and Armory.

Tell me one thing: Do I have to create a wallet before Armory tells me being online?


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 20, 2018, 04:01:27 PM
it will use your existing wallets if it finds them, or prompt you to import them if it does not


Title: Re: About Armory and the blockchain
Post by: HCP on February 20, 2018, 05:36:27 PM
Windows 10 right? I'm fairly confident that you will never get "online" until you add the following lines to your "bitcoin.conf" (should be in H:\Blockchain):
Code:
server=1
listen=1
No matter what I do, without listen=1, Armory will not show "online"... or it will show "online" but will not pickup new blocks... :-\


Anyway, an armoryqt.conf file in "C:\Users\YOURUSERNAME\AppData\Roaming\Armory" (assuming you left the Armory datadir as default) with:
Code:
satoshi-datadir="H:\Blockchain"
Should work nicely...

You'll also want to make sure that you're not running Armory from a shortcut that contains any command line arguments, otherwise they will override the values in the armoryqt.conf file.

And, I'd recommend removing the armorylog.txt and dbLog.txt files from "C:\Users\YOURUSERNAME\AppData\Roaming\Armory", so that the ones being created are nice and fresh and will make troubleshooting easier :)



Title: Re: About Armory and the blockchain
Post by: DrakonX on February 20, 2018, 11:43:05 PM
Code:
server=1
listen=1
Nice idea. If I do this and restart Bitcoin Core, it prompts me for letting bitcoinqt pass through my firewall which I allow. Armory still is offline. :(


Title: Re: About Armory and the blockchain
Post by: HCP on February 21, 2018, 01:02:04 AM
Ok, so now that Bitcoin Core is running... and you've attempted to connect Armory to it, can you please post the current armorylog.txt file using pastebin.

We should now be able to get a better idea of why Armory is not connecting and make sure that it is looking in the right place for your blockchain data! ;)


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 21, 2018, 06:11:02 PM
I welcome your step-by-step help. :)

https://pastebin.com/mqwVWEpv (https://pastebin.com/mqwVWEpv)

Code:
2018-02-21 18:23:20 (ERROR) -- BDM.pyc:199 - DB error: C:\Users\Andreas\AppData\Roaming/Bitcoin/blocks is not a valid path
I suppose this line is the problem, but I'm not sure what it means and what I have to do.


Title: Re: About Armory and the blockchain
Post by: HCP on February 21, 2018, 08:02:26 PM
Looking at your log file, it appears that you have reverted to an older version of ArmoryQT? "0.96.3" I'm not sure if that is causing the current issue... but I would suggest you go here: https://github.com/goatpig/BitcoinArmory/releases/ and download the "0.96.4 RC3" release, somewhat confusingly numbered "0.96.3.992".

The "standalone" version is named: armory_0.96.3.992_win64.zip (https://github.com/goatpig/BitcoinArmory/releases/download/v0.96.3.992/armory_0.96.3.992_win64.zip)


I really don't understand why, after the app has clearly been invoked with --satoshi-datadir, and it even says "Satoshi BTC directory : H:\Blockchain", it is looking in the default location. I *suspect* this might be an issue with the older version. Try doing the same thing with the latest version and lets see what errors we get in your armorylog.txt


Title: Re: About Armory and the blockchain
Post by: DrakonX on February 22, 2018, 08:17:08 PM
That did the trick! It now tells me being online. Thank you so much, helping me out with it. This adresses to all of you. :)


Title: Re: About Armory and the blockchain
Post by: jojo69 on February 23, 2018, 12:56:43 AM
YES!!

I love it when it works   :)