Title: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on September 29, 2023, 12:20:20 AM Hello,
After installing Bitcoin Core 25.0 a couple of weeks ago, my Armory wallet will not complete opening. It hangs at about 43% complete during Scanning Transaction History. It's done this at various times in the past, and the fix was to simply rename the "databases" directory to let Armory rebuild it. I've done that, but it won't get past 43%. I've let it run overnight more than 12hrs, and it won't finish. Any thoughts? OtisG Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: BitMaxz on September 29, 2023, 12:44:49 AM How about the rebuild and rescan from the help menu have you tried that?
If it doesn't work then would you mind sharing your armory logs? You can export the logs by going to file --> export log file or go to the armory folder and look for armorylog.txt and share the content here make sure to put the logs inside the insert code tag. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on September 29, 2023, 11:04:05 AM Thank you for your quick reply.
I have not tried that; I will do so this morning and report back. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on September 29, 2023, 10:15:37 PM I did try the rebuild an rescan, but it still gives the same results. The computer in questions is Windows 11, and it also recently downloaded and installed some upgrades.
As a test I copied the wallet to an older Windows 10 PC I have with Bitcoin Core 25.0, and Armory works as it should from there. It looks like the issue is perhaps Windows 11 related. I'm pressed for time today, but I will plan on sending logs to you tomorrow from the Windows 11 PC. Thank you for your help. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: BitMaxz on September 30, 2023, 10:21:25 PM I did try the rebuild an rescan, but it still gives the same results. The computer in questions is Windows 11, and it also recently downloaded and installed some upgrades. As a test I copied the wallet to an older Windows 10 PC I have with Bitcoin Core 25.0, and Armory works as it should from there. It looks like the issue is perhaps Windows 11 related. I'm pressed for time today, but I will plan on sending logs to you tomorrow from the Windows 11 PC. There might be something that causes this issue if it is just your OS it might be a compatibility issue. Can you try to change the compatibility mode to Windows 10 or 7? To do that right-click the Armory shortcut --> properties --> compatibility then enable "Run this program in compatibility mode" and choose Windows 10 or below. Also, do this in Bitcoin core then reboot the PC. If it didn't work try disabling the firewall and exclude Armory and Bitcoin core from your Anti-Virus. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: goatpig on October 02, 2023, 07:13:26 AM 1. Did your chain data get pruned after you installed 25.0?
2. How many blocks is Core showing? 3. How much disk space do you have left? Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on October 20, 2023, 01:50:08 PM I did try the rebuild an rescan, but it still gives the same results. The computer in questions is Windows 11, and it also recently downloaded and installed some upgrades. As a test I copied the wallet to an older Windows 10 PC I have with Bitcoin Core 25.0, and Armory works as it should from there. It looks like the issue is perhaps Windows 11 related. I'm pressed for time today, but I will plan on sending logs to you tomorrow from the Windows 11 PC. There might be something that causes this issue if it is just your OS it might be a compatibility issue. Can you try to change the compatibility mode to Windows 10 or 7? To do that right-click the Armory shortcut --> properties --> compatibility then enable "Run this program in compatibility mode" and choose Windows 10 or below. Also, do this in Bitcoin core then reboot the PC. If it didn't work try disabling the firewall and exclude Armory and Bitcoin core from your Anti-Virus. Apologies for my slow reply: work's been crazy. I tried all of the above, and none of it worked. Changing to compatibility mode made things even more wonky. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on October 20, 2023, 01:53:26 PM 1. Did your chain data get pruned after you installed 25.0? 2. How many blocks is Core showing? 3. How much disk space do you have left? 1. No, it didn't get pruned. 2. All the blocks are downloading in Bitcoin Core. 3. 1TB total with 280GB free. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on October 20, 2023, 02:24:00 PM How about the rebuild and rescan from the help menu have you tried that? Apologies for getting back to this thread so slowly.If it doesn't work then would you mind sharing your armory logs? You can export the logs by going to file --> export log file or go to the armory folder and look for armorylog.txt and share the content here make sure to put the logs inside the insert code tag. Rebuild/rescan did not change anything. Here is the content from an updated ArmoryLog.txt log from this morning; the BTC blockchain is up to date. Code: 2023-10-20 08:12:54 (INFO) -- ArmoryUtils.pyc:1164 - C++ block utilities loaded successfully Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: nc50lc on October 21, 2023, 08:24:49 AM Here is the content from an updated ArmoryLog.txt log from this morning; the BTC blockchain is up to date. Does setting Bitcoin's datadir to "D:\Users\<Username>\BitCoin-Blockchain" in the GUI intentional?Code: 2023-10-20 08:12:59 (WARNING) -- SDM.pyc:445 - Spawning bitcoind with command: C:\Program Files\Bitcoin\daemon\bitcoind.exe -datadir=D:\Users\REDACTED\BitCoin-Blockchain Because for some reason, it wont load. Try to start Bitcoin Core (bitcoind.exe) with --datadir="D:\Users\<YOUR_USERNAME>\BitCoin-Blockchain" command line argument to see that there's no issue in Bitcoin Core. If it wont start, tell us the error or the related entry in 'debug.log' file inside that data directory. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on October 21, 2023, 11:15:47 AM Here is the content from an updated ArmoryLog.txt log from this morning; the BTC blockchain is up to date. Does setting Bitcoin's datadir to "D:\Users\<Username>\BitCoin-Blockchain" in the GUI intentional?Code: 2023-10-20 08:12:59 (WARNING) -- SDM.pyc:445 - Spawning bitcoind with command: C:\Program Files\Bitcoin\daemon\bitcoind.exe -datadir=D:\Users\REDACTED\BitCoin-Blockchain Because for some reason, it wont load. Try to start Bitcoin Core (bitcoind.exe) with --datadir="D:\Users\<YOUR_USERNAME>\BitCoin-Blockchain" command line argument to see that there's no issue in Bitcoin Core. If it wont start, tell us the error or the related entry in 'debug.log' file inside that data directory. Yes, that datadir is intentional, because I have configured the data to be on a separate drive. Running bitcoin-qt.exe has never been a problem, and running bitcoind.exe with the above command line arguments works 100% as expected. Armory won't kick off Bitcoin Core anymore, but it used to; I must have misconfigured something in Armory during all the debugging I attempted. I just start bitcoin-qt.exe before launching Armory. Here is the content from an updated ArmoryLog.txt log from this morning; the BTC blockchain is up to date. Does setting Bitcoin's datadir to "D:\Users\<Username>\BitCoin-Blockchain" in the GUI intentional?Code: 2023-10-20 08:12:59 (WARNING) -- SDM.pyc:445 - Spawning bitcoind with command: C:\Program Files\Bitcoin\daemon\bitcoind.exe -datadir=D:\Users\REDACTED\BitCoin-Blockchain Because for some reason, it wont load. Try to start Bitcoin Core (bitcoind.exe) with --datadir="D:\Users\<YOUR_USERNAME>\BitCoin-Blockchain" command line argument to see that there's no issue in Bitcoin Core. If it wont start, tell us the error or the related entry in 'debug.log' file inside that data directory. Yes, that datadir is intentional, because I have configured the data to be on a separate drive. Running bitcoin-qt.exe has never been a problem, and running bitcoind.exe with the above command line arguments works 100% as expected. Armory won't kick off Bitcoin Core anymore, but it used to; I must have misconfigured something in Armory during all the debugging I attempted. I just start bitcoin-qt.exe before launching Armory. FYI - I just now fixed the directory setting for Armory to spawn bitcoind when I launch Armory; it's synch'ing with the blockchain now. This is the point where "Scanning Transaction History" stops at 43%. Incidentally, the estimate for when the transcation history scan will finish never updates from 11 minutes. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: nc50lc on October 21, 2023, 03:24:14 PM It's a long shot, but to make sure that it's totally not caused by Bitcoin Core, check your 'debug.log' in "D:\Users\<Username>\BitCoin-Blockchain" for possible blockchain inconsistencies.
If nothing works, you might have to downgrade to v24.1 or your previous working build. There's no major changes in v25's release notes that could cause incompatibility with you current blockchain. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on October 21, 2023, 05:48:39 PM It's a long shot, but to make sure that it's totally not caused by Bitcoin Core, check your 'debug.log' in "D:\Users\<Username>\BitCoin-Blockchain" for possible blockchain inconsistencies. If nothing works, you might have to downgrade to v24.1 or your previous working build. There's no major changes in v25's release notes that could cause incompatibility with you current blockchain. I verified the Bitcoin Core debug.log has no errors and no inconsistencies found. Also, as an FYI, a couple of weeks ago I deleted the blockchain and redownloaded the entire thing; it took ~6hrs. I downgraded to Bitcoin Core v24.1; Armory still sticks at 43%. I also tried deinstalling Armory and reinstalling it; same problem. I'm thinking Windows 11 downloaded updates/patches about the same time I installed Bitcoin Core v25. In a pinch, I can use a separate Windows 10 server for Armory, but that's an old PC I'd like to use it for other purposes. Windows 11 is my fastest PC, so if I can figure out this problem, it would be awesome. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: nc50lc on October 22, 2023, 02:26:01 PM I'm thinking Windows 11 downloaded updates/patches about the same time I installed Bitcoin Core v25. If you think that it's the cause of the issue, then try to uninstall the latest updates of your W11 machine.In a pinch, I can use a separate Windows 10 server for Armory, but that's an old PC I'd like to use it for other purposes. Windows 11 is my fastest PC, so if I can figure out this problem, it would be awesome. Refer to this article to see how: support.microsoft.com/en-us/windows/how-to-uninstall-a-windows-update (https://support.microsoft.com/en-us/windows/how-to-uninstall-a-windows-update-c77b8f9b-e4dc-4e9f-a803-fdec12e59fb0#ID0EBF=Windows_11) Then, since you've already downgraded and confirmed that you have the complete blockchain but the issue remains, then we can deduct Bitcoin Core out of the suspects. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: HCP on October 25, 2023, 07:19:07 AM Interestingly... I have Armory and Bitcoin Core v0.25.1 working ok, but the Testnet version of Armory is exhibiting a similar behaviour to what the OP has. Armory Testnet is getting stuck at "Scanning Transaction History".
It is always at 88% (tried it 3 times now)... very strange. I can't find any obvious errors anywhere that are causing this issue. :-/ Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: goatpig on October 25, 2023, 07:57:52 AM Interestingly... I have Armory and Bitcoin Core v0.25.1 working ok, but the Testnet version of Armory is exhibiting a similar behaviour to what the OP has. Armory Testnet is getting stuck at "Scanning Transaction History". It is always at 88% (tried it 3 times now)... very strange. I can't find any obvious errors anywhere that are causing this issue. :-/ There's a weird tx in testnet that breaks the DB scanner. I have fixed this in the dev branch, but that code is for along compared to 0.96.5 that I can't just ship the fix back into it. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: OtisG on November 01, 2023, 08:13:38 PM I'm thinking Windows 11 downloaded updates/patches about the same time I installed Bitcoin Core v25. If you think that it's the cause of the issue, then try to uninstall the latest updates of your W11 machine.In a pinch, I can use a separate Windows 10 server for Armory, but that's an old PC I'd like to use it for other purposes. Windows 11 is my fastest PC, so if I can figure out this problem, it would be awesome. Refer to this article to see how: support.microsoft.com/en-us/windows/how-to-uninstall-a-windows-update (https://support.microsoft.com/en-us/windows/how-to-uninstall-a-windows-update-c77b8f9b-e4dc-4e9f-a803-fdec12e59fb0#ID0EBF=Windows_11) Then, since you've already downgraded and confirmed that you have the complete blockchain but the issue remains, then we can deduct Bitcoin Core out of the suspects. Today I reset Windows 11 by running the built in Windows utility to deinstall all programs completely including Windows 11. I chose the option to download the Windows 11 installation files from the Internet, and I also chose the option to keep my personal files and folders. After that, I reinstalled Bitcoin Core 25 and Armory. Summary: I get the same Armory result with "Scanning Transaction History" hanging at 43%. The nice thing is Windows 11 starts a whole lot faster now!, so it wasn't a lost cause. Title: Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 Post by: goatpig on November 02, 2023, 09:30:10 AM Summary: I get the same Armory result with "Scanning Transaction History" hanging at 43%. 1. How much free disk space do you have on the drive with the blockchain data? 2. Can you start bitcoind/qt on its own? What's your top block? Is your Core instance in sync with the network? 3. After starting bitcoind/qt on its own, assuming it's in sync, start ArmoryDB by itself from the command line and post the output here (go through pastebin for big splashes of text) |