Author

Topic: Armory 96.5 stuck in offline mode one Windows 10 (Read 191 times)

newbie
Activity: 7
Merit: 1
Hi again,

Finally managed to go online with Armory after following your latest instructions.

Many thanks for all the support!

Cheers!
newbie
Activity: 7
Merit: 1
Thank u guys! I really appreciate all the support.

I´ll check the settings and make sure that the "Prune block storage" storage options is NOT ticked and verify that the bitcoin.conf configuration file doesn´t consist any prune.

Finally I´ll sync Bitcoin Core again on a external disk with more than 400g free space.

Will return and give you and update when everything is done.

Cheers!
HCP
legendary
Activity: 2086
Merit: 4314
Quote
2021-03-06T08:03:55Z Checking all blk files are present...
2021-03-06T08:03:55Z LoadBlockIndexDB(): Block files have previously been pruned
Undecided

That's going to be problematic for you... This means you will need to configure Bitcoin Core so that it is NOT pruned... then you'll need to force it "reindex" which will require redownloading and reverifying the entire blockchain again (350+gigs)... and then you can run Armory and get it to create it's databases etc.

So, firstly, go into Bitcoin Core GUI and look at the "Settings -> Options -> Main" menu item... and make sure that the "Prune block storage" storage options is NOT ticked:


Also make sure that the bitcoin.conf configuration file does not have any "prune" line in it. Then you will need to shutdown Bitcoin Core, and then restart it using the -reindex option.

If you don't use -reindex, you'll most likely get an error like this:

legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
https://pastebin.com/CJ8ZpZzU

Wasn´t able to see be myself if there´s any issues in the file but it looks suspect...
Your node is pruned just like HCP guessed:
Quote
2021-03-06T08:03:47Z Prune configured to target 1907 MiB on disk for block and undo files.

Bitcoin core automatically set it on when it detected that the data directory cannot contain all the blocks and other files.
So first look for bitcoin-qt's prune settings in "Settings->Options...->Prune block storage to", if it was ticked, uncheck it.
Also, if you've created a bitcoin.conf file in bitcoin datadir, remove any entry for pruning and if you're running using a shortcut, check if you've added any pruning parameters.

Finally, after disabling it, you'll need to sync Bitcoin Core again from start.
But make sure that you have at least 4000GB of free space in that disk.
newbie
Activity: 7
Merit: 1
I´ve no idea SmileyHuh ... I didn´t experience any issues installing Bitcoin Core or downloading block chains which took several days...

How can I find out if Bitcoin Core is pruned? I´ve tried to see if I can find anything in the trouble shooting log file that I found in the Bitcoin Core app.

Didn´t manage to paste the whole file into pastebin due to the size but extracted the latest piece of the file in following link:

https://pastebin.com/CJ8ZpZzU

Wasn´t able to see be myself if there´s any issues in the file but it looks suspect...

HCP
legendary
Activity: 2086
Merit: 4314
-ERROR - 09:04:48.265: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1503) Headers DB has no block at height: 0
-ERROR - 09:04:48.265: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1483) No headers at height 0
-ERROR - 09:04:48.265: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
It seems like your Bitcoin Core blocks folder is missing the first block file... Is your Bitcoin Core "pruned"? Huh  Armory cannot run with a "pruned" Bitcoin Core
newbie
Activity: 7
Merit: 1
Strange...It should be the complete file, I copied the log file directly from the directory..

Anyway, exported the latest log file from the Armory application after following your instructions and deleting the directory which you can find here:

https://pastebin.com/rGK9XK7C

Still the same problem with connecting online with Armory however there seems to be new error codes in the log file.

It also seems like the directory "C:\Users\E\AppData\Roaming\Armory\databases" is created again after restarting Armory without me doing anything.

Thanks!
HCP
legendary
Activity: 2086
Merit: 4314
Is that the full file? Or did you cut out bits and pieces of it? Huh It seems to be missing quite a bit of the "normal" logging...

If you edited it... can you please post the full log file? Thanks.


Quote
(WARNING) SDM.pyc:445 - Spawning bitcoind with command: C:\Users\E\E-Bit C\Program\Bitcoin Core\daemon\bitcoind.exe -datadir=C:\Users\E\AppData\Roaming\Bitcoin -dbcache=1000
(WARNING) SDM.pyc:402 - Spawning DB with command: C:\Users\E\E-Bit C\Program\Armory\ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="C:\Users\E\AppData\Roaming\Bitcoin\blocks" --satoshi-port=8333 --datadir="C:\Users\E\AppData\Roaming\Armory\" --dbdir="C:\Users\E\AppData\Roaming\Armory\databases"

It seems like it is finding bitcoind.exe "OK" now, which is a good start... and then it is attempting to spawn ArmoryDB, but running into an issue (possibly caused by database corruption). Can you please shutdown Armory, Shutdown Bitcoin Core, then delete the directory "C:\Users\E\AppData\Roaming\Armory\databases", then restart Bitcoin Core (let it fully sync), then restart Armory.

That should hopefully get things working correctly.
newbie
Activity: 7
Merit: 1
You're right the default choice was C:\Program Files\. I didn't realize the that changing the location could have an affect but choose to collect all bitcoin related files/programs in the same folders hence the reason for locating to C:\Users\E\E-Bit C\Program\Bitcoin Core.

Entered C:\Users\E\E-Bit C\Program\Bitcoin Core to the "Bitcoin Install Dir" box in the Armory settings. But the same error code seems to still occur when I look into the log file.

I found an option in the menu for Bitcoin Core where I managed to create a config file, type the code you mentioned in the file and finally saved the file in the Bitcoin Core datadir (C:\Users\E\AppData\Roaming\Bitcoin).

Restarted Bitcoin Core and Armory according to your instructions but I still find Armory in offline mode.

FYI the information I get from the dashboard in Armory is following:

Node Status - Completed and green marked
Build Databases(However the letters are grey compared to other phases where they are black) - Completed and green marked
Scanning Transaction History - Not completed and does n´t seem to start which I guess is due to being offline

Here´s the link with info on my latest log file:

https://pastebin.com/G5nN48VU

Cheers!
HCP
legendary
Activity: 2086
Merit: 4314
Ok, so everything is in a fairly standard location, except for the location of the Bitcoin Core executables... as instead of being installed in C:\Program Files\, you have put them in "C:\Users\E\E-Bit C\Program\Bitcoin Core", which is a fairly unusual location??!? Huh

It is likely also the reason for this error in your log file:
Code:
2021-03-04 07:48:25 (ERROR) -- ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 1857, in startBitcoindIfNecessary
  File "SDM.pyc", line 190, in setupSDM
BitcoindError: bitcoind not found

in the "Bitcoin Install Dir" box, I would suggest that you enter: C:\Users\E\E-Bit C\Program\Bitcoin Core

That will fix that problem.


As for Armory not going online, you'll need to create a file called bitcoin.conf in the Bitcoin Core datadir (C:\Users\E\AppData\Roaming\Bitcoin)... then add the following line:
Code:
server=1

This file should just be an ordinary text file, so you can create it with a text editor like Notepad++... whatever you create it with, make sure it is plaintext... and does NOT have the .txt file extension. It needs to be just bitcoin.conf

Alternatively, you can just download this and put it in the Bitcoin Core datadir: keybase://public/hcp/bitcoin.conf

Then shutdown Armory, shutdown Bitcoin Core... then restart Bitcoin Core, wait for it to fully sync the blockchain and then restart Armory. If Armory is still offline, then you'll need to repost the newest log file.
newbie
Activity: 7
Merit: 1
Where is your Bitcoin Core installed to? (ie. the folder containing bitcoin-qt.exe, bitcoind.exe etc)
Where is your Bitcoin Core "datadir"? (ie. the folder containing your "blocks" folder, wallet.dat and bitcoin.conf file etc)

What are the values you have setup in Armory (File -> Settings...) for:
- running bitcoind/Bitcoin Core?
- Bitcoin install dir?
- Bitcoin home dir?
- Armory DB dir?

Did you create an armoryqt.conf file? If so, what is the contents?
Did you create an armorydb.conf file? If so, what is the contents?

Did you create a bitcoin.conf file? If so, what is the contents?
--------------------------------------------------------------------------------------------------------------
Bitcoin Core is installed to C:\Users\E\E-Bit C\Program\Bitcoin Core
Bitcoin Core "datadir" should be in following folder: C:\Users\E\AppData\Roaming\Bitcoin

Values for setup in Armory:
- running bitcoind/Bitcoin Core? "Let Armory run Bitcoin Core/bitcoinid in the background"
- Bitcoin install dir? "I`ve left blank following recommendations from the software"
- Bitcoin home dir? "Left blank to use C:\Users\E\AppData\Roaming\Bitcoin"
- Armory DB dir?" C:\Users\E\AppData\Roaming\Armory"

Did you create an armoryqt.conf file? If so, what is the contents? "No, haven´t been aware that it´s required and have no clue on how it should be done"
Did you create an armorydb.conf file? If so, what is the contents? "No, haven´t been aware that it´s required and have no clue on how it should be done"

Did you create a bitcoin.conf file? If so, what is the contents? "I´ve been reading about this in the forum but haven´t managed to find the file or create one"

Appreciate the support!
HCP
legendary
Activity: 2086
Merit: 4314
Where is your Bitcoin Core installed to? (ie. the folder containing bitcoin-qt.exe, bitcoind.exe etc)
Where is your Bitcoin Core "datadir"? (ie. the folder containing your "blocks" folder, wallet.dat and bitcoin.conf file etc)

What are the values you have setup in Armory (File -> Settings...) for:
- running bitcoind/Bitcoin Core?
- Bitcoin install dir?
- Bitcoin home dir?
- Armory DB dir?

Did you create an armoryqt.conf file? If so, what is the contents?
Did you create an armorydb.conf file? If so, what is the contents?

Did you create a bitcoin.conf file? If so, what is the contents?
newbie
Activity: 7
Merit: 1
Hello guys,

The offline topic seems to be a problem that many have various issues with. I've been trying to read through the forum for days to find solution that might solve my problems with connecting armory online. It seems like i´m stuck and I´m now looking for any insight on how to proceed.

I'v installed both armory 96.5 and Bitcoin Core v0.21.0 on Windows 10. .

Here is link a link with info on my armorylog.txt:

https://pastebin.com/48Yaydb9

I must admit this is not common ground for me and i´m sure that I´ve made several stupid mistakes

Really appreciate any help and support!

Cheers
HCP
legendary
Activity: 2086
Merit: 4314
Do you have the "server=1" setting in your bitcoin.conf? Huh

Also... were you running TestNet on purpose? Huh
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
May be a "pathing" issue and you're both using a non-default Bitcoin datadir, read this: btcarmory.com/docs/pathing#config-files and point satoshi-datadir to your Bitcoin core's data directory.
Example: satoshi-datadir="E:\AppData\Bitcoin"
newbie
Activity: 1
Merit: 0
I looked through your log file, I'm having the same error!  quite confused what the fix is.

My steps were:  I ran armory vanilla installation on Windows.  I exported the logs, and saw the error in the logs "2021-02-20 17:52:30 (ERROR) -- BDM.pyc:268 - setSatoshiDir: directory does not exist: C:\Users\First Last\AppData\Roaming\Bitcoin"

I tried using BitcoinQT to sync all the bitcoin transactions, I see them present in that folder, but Armory is not picking up on it for some reason  On the UI, it just hangs saying "Preparing Transactions" with no progress.



I appreciate any help goatpig - I understand this is a volunteer effort (and if you have an address I'd love to donate for the value I've gotten over the years!)
newbie
Activity: 1
Merit: 0
Hello all,

This seems to be a popular topic on the forum, but I still can't figure out where I am going wrong.

I have both armory 96.5 and Bitcoin Core v0.21.0 installed on Windows 10. I downloaded the the main blockchain node on a secondary hard drive.

Here is my full log file.

https://pastebin.com/ZeK7yYmN

Any help would be appreciated.
Jump to: