Bitcoin Forum

Bitcoin => Armory => Topic started by: dmahal on November 17, 2020, 11:55:01 PM



Title: Armoury 0.96.5 not going online
Post by: dmahal on November 17, 2020, 11:55:01 PM
I have not used my Armoury wallet for a few years, so I'm not even sure where to start:
  • The log: https://pastebin.com/WZxFUJvK (https://pastebin.com/WZxFUJvK)
  • Bitcoin Home Dir: G:\data\bitcoin (files seem to be there)

Armory loads and confirms that the wallet is intact.  However, nothing is happening, I remember that the wheel used to spin, but it is not spinning.

I'd appreciate if someone could help me (I just upgraded my Armoury to 0.96.5)


Title: Re: Armoury 0.96.5 not going online
Post by: bob123 on November 18, 2020, 10:35:25 AM
I have not used my Armoury wallet for a few years, so I'm not even sure where to start:
  • The log: https://pastebin.com/WZxFUJvK (https://pastebin.com/WZxFUJvK)
  • Bitcoin Home Dir: G:\data\bitcoin (files seem to be there)

Can you confirm that core is fully synced and online when you start armory?
It seems like armory is not able to find the blockchain and some headers are not matching.

Do you have core running in pruned mode? How large is your folder G:\data\bitcoin ?


Title: Re: Armoury 0.96.5 not going online
Post by: BitMaxz on November 18, 2020, 10:06:16 PM
You have error under this.
Code:
--ERROR - 1592881536-ERROR - 1592881536: (..\BlockchainScanner.cpp:271) raw data does not match expected block hash
--ERROR - 1592881536: (..\BlockchainScanner.cpp:271-ERROR - 1592881536: (..\BlockchainScanner.cpp:271ERROR - 1592881536) raw data does not match expected block hash

It seems corrupted blockchain.

Can you try to "rebuild and rescan" you can find it on "Help" and look for "Rebuild and Rescan Databases" it will take a while but worth trying.
 
I just got the solution from goatpig old post from here https://bitcointalk.org/index.php?topic=1806126.msg18309890#msg18309890


Title: Re: Armoury 0.96.5 not going online
Post by: HCP on November 21, 2020, 10:27:09 PM
Armory loads and confirms that the wallet is intact.  However, nothing is happening, I remember that the wheel used to spin, but it is not spinning.
What does it say in the bottom right corner of the Armory window for the number of blocks and status? "Online", "Offline"? ??? and is the text written in green, red or purple colour? ???

In any case, the update from the old version to the new version might have led to some incompatibility with the database info... I suggest you follow BitMaxz suggestion and use the "Help -> Rebuild and Rescan Databases" option within Armory to see if that clears it.

If you're still having issues after doing that, then take a new copy of your log files, and repost to pastebin.


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on November 23, 2020, 12:51:24 AM
I will try to rebuild and rescan.

The bottom right corner says Node offline (0 blocks) and is in brownish/red.


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on November 23, 2020, 10:07:16 PM
https://pastebin.com/6Ec3H14X

The last 4 lines are ERRORs:INFO  - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking
-INFO  - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process
-ERROR - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1503) Headers DB has no block at height: 0
-ERROR - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1483) No headers at height 0
-ERROR - 17:03:57.166: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 17:03:57.166: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 17:03:57.166: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #4294967295


Title: Re: Armoury 0.96.5 not going online
Post by: BitMaxz on November 24, 2020, 12:25:00 AM
https://pastebin.com/6Ec3H14X

The last 4 lines are ERRORs:INFO  - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking
-INFO  - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process
-ERROR - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1503) Headers DB has no block at height: 0
-ERROR - 17:03:57.151: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1483) No headers at height 0
-ERROR - 17:03:57.166: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 17:03:57.166: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 17:03:57.166: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #4294967295


Are you sure that your core is not running at pruned mode?

Check the bitcoin.conf file under your bitcoin directory and look something like "prune=" remove them then save and restart the core and let it sync again.

If it's not running at pruned mode then try to delete the database folder.

Here's the folder location:
Code:
 "~/Armory/databases" on Windows
 "~/.armory/databases" on Linux
 "~/Library/Application Support/Armory/databases" on OSX

Then do the rebuild and rescan again.

If the issue still the same then you might need to run the armory with a custom directory for both datadir and dbdir.
Read this https://btcarmory.com/docs/pathing#armoryqt if how to run armory with custom path/directory.


And read this the same issue as yours and he fixed the issue by removing "prune=" and adding "server=1" on bitcoin.conf
- https://bitcointalk.org/index.php?topic=2221954.msg22437568#msg22437568


Title: Re: Armoury 0.96.5 not going online
Post by: HCP on November 24, 2020, 02:22:18 AM
I concur with Bitmaxz... it looks like your Bitcoin Core might be running in "pruned" mode. Armory needs a "full" copy of the blockchain, it can't work with a pruned Bitcoin Core.

In Bitcoin Core GUI, check "Settings -> Options -> Main":
https://talkimg.com/images/2023/11/15/zvw41.png

Is the highlighted option checked or unchecked? ???

If it is checked, your node is pruned and you'll need to unchceck it, then shutdown and restart Bitcoin Core. NOTE moving from "pruned" to "unpruned" will required that your node redownloads and syncs the entire blockchain again!! :-\


Also, on that same settings dialog, you should click the "Open Configuration File" button at the bottom and check to see if there is a prune=xxx entry in your bitcoin.conf file. If there is, you need to remove it.


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on November 26, 2020, 11:11:41 PM
Good news!
  - You are correct, the Settings->Options had the block chain being pruned at 2 Gb
  - Bad news, god knows how long it will take to download the whole chain

Downloading the whole chain and hopefully this fixes things


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on November 28, 2020, 10:02:02 PM
Up to Mar 26 2020 -- about 14 hours to go...


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on December 03, 2020, 01:32:58 AM
Bitcoin has finished.

This is the armoury log now: https://pastebin.com/XMXAS0pj


Title: Re: Armoury 0.96.5 not going online
Post by: bob123 on December 03, 2020, 02:09:48 PM
Bitcoin has finished.

This is the armoury log now: https://pastebin.com/XMXAS0pj


Everything looks fine so far after syncing.

What issue(s) do you currently have? Still no connection? Even tho core is synced and up and running?


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on December 03, 2020, 10:38:02 PM
Everything is working correctly right now.

Thanks for all the help and support, you guys rock!


Title: Re: Armoury 0.96.5 not going online
Post by: HCP on December 04, 2020, 05:02:32 AM
Glad that you managed to get it all sorted... I'm beginning to think we need a "sticky" at the top of the Armory section titled "Basic Troubleshooting" that includes the most common things:

1. Is Bitcoin Core actually installed and synced?
2. Is Bitcoin Core running in "pruned" mode? If so, turn it off, go back to Step 1.
3. Are you using the latest version of Armory from https://btcarmory.com/ ? (NOT from bitcoinarmory .com)
4. Are you using the latest version of Bitcoin Core from https://bitcoincore.org?

etc etc...


Title: Re: Armoury 0.96.5 not going online
Post by: goatpig on December 04, 2020, 10:28:03 AM
Glad that you managed to get it all sorted... I'm beginning to think we need a "sticky" at the top of the Armory section titled "Basic Troubleshooting" that includes the most common things:

1. Is Bitcoin Core actually installed and synced?
2. Is Bitcoin Core running in "pruned" mode? If so, turn it off, go back to Step 1.
3. Are you using the latest version of Armory from https://btcarmory.com/ ? (NOT from bitcoinarmory .com)
4. Are you using the latest version of Bitcoin Core from https://bitcoincore.org?

etc etc...

If you're willing to write it, I'll sticky and lock the thread. Thanks for the help at any rate.


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on December 11, 2020, 01:12:24 AM
My wallet is showing the correct number of bitcoins, however the bottom right message is "Node offline".  I'm looking for a way to put the wallet online, how do I do this?


Title: Re: Armoury 0.96.5 not going online
Post by: bob123 on December 11, 2020, 09:17:23 AM
My wallet is showing the correct number of bitcoins, however the bottom right message is "Node offline".  I'm looking for a way to put the wallet online, how do I do this?

Is your node (a.k.a. your bitcoin core instance) running and fully synced?
Did you change any settings of your node (e.g. port) ?

If you still encounter any issue, please always include the log file, so we can check what is going on.


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on December 11, 2020, 10:33:52 PM
https://pastebin.com/KBGWJ4FZ


Title: Re: Armoury 0.96.5 not going online
Post by: HCP on December 11, 2020, 11:04:30 PM
https://pastebin.com/KBGWJ4FZ
Everything looks like it is running OK... insofar that Armory is finding the Bitcoin Core blocks folder and scanning/parsing all the blocks etc. So that's a good start.

Are you running Bitcoin Core manually first, then starting Armory? Or do you have Armory configured to manage Bitcoin Core ("Let Armory run Bitcoin Core/bitcoind in the background")? ???


One thing you might need is to make sure that Bitcoin Core has the following entry in the bitcoin.conf file:
Code:
server=1

I've had issues with Windows where Armory is unable to communicate with the Bitcoin Core node if this setting is not included in the bitcoin.conf file.


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on December 12, 2020, 12:52:24 PM
  • Armory is running the Bitcoin core automatically.  
  • I closed Armory and loaded the Bitcoin Core just to see if it was up to date, and it was.
  • I then closed the Bitcoin Core
  • When I reloaded Armory the balances were not showing
  • Before and after launching the Bitcoin Core, the Armory walled was offline
  • The bitcoin.conf file only has one line in it server=1


Title: Re: Armoury 0.96.5 not going online
Post by: HCP on December 12, 2020, 06:55:02 PM
Ok, shutdown Armory and Bitcoin Core and add the following line to your bitcoin.conf file:
Code:
listen=1

Then try this:

1. Delete the Armory log files (armorylog.txt and dbLog.txt)
2. Reboot your PC (this will clear any ghost processes that might be preventing things from running normally)
3. Start Armory

If it's still showing as "offline", try the "Help -> Rebuild and rescan databses" option in Armory. Then shut Armory down and restart it.

If it still isn't working properly after that, repost the latest copy of your log files.


Title: Re: Armoury 0.96.5 not going online
Post by: goatpig on December 13, 2020, 03:30:05 PM
Out of curiosity, are there spaces at all in your paths?


Title: Re: Armoury 0.96.5 not going online
Post by: dmahal on December 15, 2020, 12:20:01 PM
Sorry guys, just realized that these responses were on page 2 (oops)

I will try the procedure above tonight.

No, there are no spaces in my directory/file names