powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 03, 2020, 05:27:32 AM |
|
I had Armory working great but haven't used the laptop in nearly 2 years. I downloaded the new 0.96.5 Armory & v0.20.0 Core. The Core is fully synced in the default location as shown in the datadir. I'm running Win 10. I cannot get Armory to connect to that datadir. In the Blockchain and Data Paths in Settings, I have tried both leaving it blank for the default as suggested and adding the C:\Users\MyName\AppData\Roaming\Bitcoin location. I tried using the blocksdir location in the Blockchain and Data Paths and got it to go Online but it began to download a duplicate blockchain and I don't have enough room on my hard drive for an additional 330 GB. Here's the log files. Too big for a single so there's 2: https://pastebin.com/LRShDYQchttps://pastebin.com/rtRenytxThanks
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3738
Merit: 1360
Armory Developer
|
|
November 03, 2020, 08:43:05 PM |
|
It looks like your node is resyncing from scratch. -INFO - 20:41:17.860: (e:\users\goat\code\armory3\cppforswig\blockdatamanagerconfig.cpp:919) waiting on node sync: 9.5113% -INFO - 20:41:24.969: (e:\users\goat\code\armory3\cppforswig\blockdatamanagerconfig.cpp:919) waiting on node sync: 9.52086% -INFO - 20:41:31.594: (e:\users\goat\code\armory3\cppforswig\blockdatamanagerconfig.cpp:919) waiting on node sync: 9.53139% -INFO - 20:41:43.063: (e:\users\goat\code\armory3\cppforswig\blockdatamanagerconfig.cpp:919) waiting on node sync: 9.54049% -INFO - 20:41:51.782: (e:\users\goat\code\armory3\cppforswig\blockdatamanagerconfig.cpp:919) waiting on node sync: 9.55102%
DB is looking for the block files here: C:\Users\powpig\AppData\Roaming\Bitcoin\blocks\blocks Is this correct? At any rate, start Bitcoin-Qt manually and let it fully sync. Then delete the content of your armory db folder (C:\Users\powpig\AppData\Roaming\Armory\databases). With Bitcoin-Qt still running, start Armory and report here.
|
|
|
|
powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 05, 2020, 08:03:10 AM |
|
Thanks for the reply! OK, I followed your suggestion, got Bitcoin Core fully synced, deleted the contents of the databases folder and started up Armory. Still offline and nothing happening. Here's the log files, again in 2 parts: https://pastebin.com/kTuUncsVhttps://pastebin.com/5ZJutemA
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3738
Merit: 1360
Armory Developer
|
|
November 05, 2020, 09:17:14 AM |
|
-INFO - 23:42:18.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: C:\Users\powpig\AppData\Roaming\Bitcoin\blocks It's failing to read the data in that folder. Is this where your blockchain data is? Does your user account have permission to read this folder?
|
|
|
|
powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 05, 2020, 04:20:55 PM Last edit: November 06, 2020, 07:30:55 AM by powpig |
|
According to the Information in the Node Window of Core, the blocksdir is C:\Users\powpig\AppData\Roaming\Bitcoin\blocks.
Before, as I originally posted, when I set the datadir in Armory to that same C:\Users\powpig\AppData\Roaming\Bitcoin\blocks, I was able to get Armory to go Online and begin to download a duplicate blockchain. I just tried that again and it didn't work this time, it just stays offline,
As you say it's failing to read the data in that folder while the datadir in Armory is set to the default C:\Users\powpig\AppData\Roaming\Bitcoin, I have no idea if any permission has been given, it previously worked fine, and I have changed nothing.
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3738
Merit: 1360
Armory Developer
|
|
November 07, 2020, 01:14:09 AM |
|
Is there a zombie instance of ArmoryDB.exe running? Kill that if so. From the cmd prompt, browse to the Armory binary folder (Armory in Program Files) and run ArmoryDB.exe. What do you get?
|
|
|
|
powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 07, 2020, 02:37:04 AM Last edit: November 07, 2020, 05:12:52 AM by powpig |
|
I started up ArmoryDB (while Core was open & synced) Here's the content of the window that opened: logging in C:\Users\powpig\AppData\Roaming/Armory/dbLog.txt -INFO - 18:33:26.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:32) Running on 4 threads -INFO - 18:33:26.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:33) Ram usage level: 50 -INFO - 18:33:26.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: C:\Users\powpig\AppData\Roaming/Bitcoin/blocks -INFO - 18:33:26.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:916) lmdb dir: C:\Users\powpig\AppData\Roaming/Armory/databases -INFO - 18:33:26.000: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases... -INFO - 18:33:26.000: (e:\users\goat\code\armory3\cppforswig\bdm_server.h:263) Listening on port 9001 -INFO - 18:33:26.015: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:947) Connected to Bitcoin node -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:1108) Executing: doInitialSyncOnLoad -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:199) Reading headers from db -WARN - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1241) No headers in DB yet! -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:238) Found 1 headers in db -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:71) updating HEADERS db -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:248) Organizing chain -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:370) Organized chain in 0s -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:76) updated HEADERS db in 0s -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases... -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1231) verifying txfilters integrity -INFO - 18:33:32.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1314) done checking txfilters -INFO - 18:33:32.125: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking
---------- While I've got Core running, up to date & synced, and I open the ArmoryDB, I can see where it says "Connected to Bitcoin node" and then when I start ArmoryQT a small window sometimes (not always) pops up in the lower right corner telling me I've lost connection. Also, as I'm running ArmoryDB and have that window open and start up ArmoryQT a few new lines are added but the window closes too quickly for me to see what they say or copy.
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3738
Merit: 1360
Armory Developer
|
|
November 07, 2020, 10:02:16 AM |
|
How many files are in this folder: C:\Users\powpig\AppData\Roaming/Bitcoin/blocks
How large are the first files? Also, check read permissions on that folder.
|
|
|
|
powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 07, 2020, 06:26:43 PM |
|
Something is definitely screwy here. My BitcoinCore is most definitely synced & up to date but there is no 300+ GB of blocks
There are 35 Files & 3 Folders in C:\Users\powpig\AppData\Roaming/Bitcoin/blocks for a total of 1.93 GB
Folders are: blocks 75.1 MB chainstate 372 bytes index 91.3 MB
1st 5 files are: .lock 0 KB .walletlock 0 KB banlist.dat 1 KB blk02297.dat 130,703 KB blk02298.dat 129,878 KB
Read box is checked under Permissions
So what now? How can my Core possibly be synced & up to date if I haven't downloaded the whole blockchain? Uninstall & reinstall Core and delete the entire AppData\Roaming\Bitcoin folder & do it yet again? What do I need to do with Armory either before or after I download the whole blockchain again to get it to read or run Core itself so it can go Online?
Thanks for your help
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3738
Merit: 1360
Armory Developer
|
|
November 07, 2020, 09:08:03 PM |
|
Pruned node? Armory can't work against a pruned node. Are you sure you have the 300GB on disk?
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4361
<insert witty quote here>
|
|
November 07, 2020, 11:35:23 PM Last edit: November 15, 2023, 12:40:18 AM by HCP |
|
That does indeed look like you're running a pruned node... Check "Settings -> Options -> Main" in Bitcoin-Qt... make sure the box is UNTICKED: NOTE: if your node was pruned, you'll need to redownload the full blockchain again to get Armory working properly.
|
|
|
|
powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 07, 2020, 11:40:21 PM |
|
I don't have the 300GB on my SSD. But somehow my Core is synced and up to date. I've been running Core since 2014, I've never run into this before. It still took almost 2 full days to catch up and sync each of the times I've done it over the past couple weeks So how best to proceed?
Uninstall & reinstall Core and delete the entire AppData\Roaming\Bitcoin folder & do it yet again? What do I need to do with Armory either before or after I download the whole blockchain again to get it to read or run Core itself so it can go Online?
Thanks
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4361
<insert witty quote here>
|
|
November 07, 2020, 11:52:10 PM |
|
You need to make sure that Bitcoin Core is fully synced, with the entire blockchain downloaded and stored on disk before you can get Armory working.
So, firstly, make sure pruning is switched OFF in the Bitcoin Core settings and then shut down and restart Bitcoin Core... It should automatically start redownloading/reindexing the entire blockchain. If it doesn't, then shutdown Bitcoin Core, delete everything in the Bitcoin "blocks" directory (all the blkxxxxx.dat and revxxxx.dat files etc) and then restart Bitcoin Core.
Once it has finished syncing everything again, you can start Armory. There is a chance that trying to run Armory against a pruned node will have done some strange things to the Armory databases etc, so if it is still having troubles once Bitcoin Core is fully synced, you'll probably need to use the "Help -> Rebuild and Rescan Databases" in Armory.
|
|
|
|
powpig (OP)
Newbie
Offline
Activity: 10
Merit: 1
|
|
November 09, 2020, 08:20:18 PM |
|
Thanks for the help! Got Core synced and started up Armory and am now connected and my balance is showing again!
|
|
|
|
|