|
Title: Armory 96.5 stuck in offline mode one Windows 10 Post by: gunslingster on February 19, 2021, 06:19:39 AM 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. Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: pwnz32 on February 22, 2021, 12:53:35 AM 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!) Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: nc50lc on February 22, 2021, 04:20:12 AM May be a "pathing" issue and you're both using a non-default Bitcoin datadir, read this: btcarmory.com/docs/pathing#config-files (http://btcarmory.com/docs/pathing#config-files) and point satoshi-datadir to your Bitcoin core's data directory.
Example: satoshi-datadir="E:\AppData\Bitcoin" Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: HCP on February 27, 2021, 06:26:42 AM Do you have the "server=1" setting in your bitcoin.conf? ???
Also... were you running TestNet on purpose? ??? Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 04, 2021, 08:10:37 AM 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 Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: HCP on March 04, 2021, 11:52:25 AM 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? Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 04, 2021, 02:43:48 PM 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! Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: HCP on March 04, 2021, 09:14:07 PM 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??!? ???
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 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. Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 05, 2021, 08:41:45 AM 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! Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: HCP on March 06, 2021, 05:24:08 AM Is that the full file? Or did you cut out bits and pieces of it? ??? 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. Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 06, 2021, 08:21:14 AM 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! Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: HCP on March 06, 2021, 08:44:11 AM Quote from: https://pastebin.com/rGK9XK7C -ERROR - 09:04:48.265: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1503) Headers DB has no block at height: 0 It seems like your Bitcoin Core blocks folder is missing the first block file... Is your Bitcoin Core "pruned"? ??? Armory cannot run with a "pruned" Bitcoin Core-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 Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 06, 2021, 11:23:02 AM Iīve no idea :)??? ... 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... Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: nc50lc on March 07, 2021, 02:18:44 AM https://pastebin.com/CJ8ZpZzU Your node is pruned just like HCP guessed:Wasnīt able to see be myself if thereīs any issues in the file but it looks suspect... 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. Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: HCP on March 07, 2021, 03:38:27 AM Quote 2021-03-06T08:03:55Z Checking all blk files are present... :-\2021-03-06T08:03:55Z LoadBlockIndexDB(): Block files have previously been pruned 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: https://talkimg.com/images/2023/11/15/zIko2.png 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: https://talkimg.com/images/2023/11/15/zIvlc.png Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 07, 2021, 02:43:51 PM 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! Title: Re: Armory 96.5 stuck in offline mode one Windows 10 Post by: Masterkom on March 26, 2021, 06:15:16 PM Hi again,
Finally managed to go online with Armory after following your latest instructions. Many thanks for all the support! Cheers! |