Bitcoin Forum
May 29, 2024, 01:57:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't get the wallet online  (Read 122 times)
powpig (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
November 03, 2020, 05:27:32 AM
 #1

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/LRShDYQc

https://pastebin.com/rtRenytx

Thanks
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
November 03, 2020, 08:43:05 PM
 #2

It looks like your node is resyncing from scratch.

Code:
-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:

Code:
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 Offline

Activity: 10
Merit: 1


View Profile
November 05, 2020, 08:03:10 AM
 #3

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/kTuUncsV
https://pastebin.com/5ZJutemA
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
November 05, 2020, 09:17:14 AM
 #4

Quote
-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 Offline

Activity: 10
Merit: 1


View Profile
November 05, 2020, 04:20:55 PM
Last edit: November 06, 2020, 07:30:55 AM by powpig
 #5

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 Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
November 07, 2020, 01:14:09 AM
 #6

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 Offline

Activity: 10
Merit: 1


View Profile
November 07, 2020, 02:37:04 AM
Last edit: November 07, 2020, 05:12:52 AM by powpig
 #7

I started up ArmoryDB (while Core was open & synced)
Here's the content of the window that opened:

Quote
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 Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
November 07, 2020, 10:02:16 AM
 #8

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 Offline

Activity: 10
Merit: 1


View Profile
November 07, 2020, 06:26:43 PM
 #9

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 Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
November 07, 2020, 09:08:03 PM
 #10

Pruned node? Armory can't work against a pruned node. Are you sure you have the 300GB on disk?

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 07, 2020, 11:35:23 PM
Last edit: November 15, 2023, 12:40:18 AM by HCP
 #11

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
powpig (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
November 07, 2020, 11:40:21 PM
 #12

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 Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 07, 2020, 11:52:10 PM
Merited by suchmoon (4)
 #13

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
powpig (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
November 09, 2020, 08:20:18 PM
Merited by HCP (1)
 #14

Thanks for the help!
Got Core synced and started up Armory and am now connected and my balance is showing again!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!