Title: Needing help to solve Post by: topvad on May 10, 2020, 01:42:18 PM Hello,
I recently reinstalled by PC and i have some troubles to setup back Armory. I tired to get some inspiration using some guidance from the forum (https://bitcointalk.org/index.php?topic=5226591.0) and website (https://btcarmory.com/docs/pathing) ... but still having the same error ??? Amory and Bitcoin Core are both installed on the system drive (C:) but there isn't enough space for 300 Go of blocks ... so both armory and bitcoin databases are located in the drive (E:). So ... time to request some help from the experts ;D Thanks for your help Antoine The error message : 2020-05-10 14:59:09 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\FIXE\AppData\Roaming/Bitcoin/blocks is not a valid path Bitcoin Core Install folder : C:\Program Files\Bitcoin Data : E:\801_BITCOINCORE\BitcoinCore_Data Blocks : E:\801_BITCOINCORE\BitcoinCore_Data\blocks Version : bitcoin-0.19.1-win64 Bitcoin is running fine standalone and the chain is fully sync with a 297 GB of database. Armory Install folder : C:\Program Files (x86)\Armory Data : E:\800_Armory\ArmoryDB Version : armory_0.96.5_win64 I added a "armoryqt.conf" file in "C:\Users\FIXE\AppData\Roaming\Armory" and added in the conf file the following lines : Code: satoshi-datadir="E:\801_BITCOINCORE\BitcoinCore_Data\blocks" The folder "E:\800_Armory\ArmoryDB" is empty. dbLog Code: Log file opened at 11:03:12.000: C:\Users\FIXE\AppData\Roaming\Armory\dbLog.txt armorylog.txt https://pastebin.com/mPcmA9Y4 ArmorySettings.txt Code: ManageSatoshi | True Title: Re: Needing help to solve Post by: nc50lc on May 11, 2020, 03:36:34 AM The error message : Armory seem to be using the default Bitcoin data directory but there's nothing wrong with the .conf file.2020-05-10 14:59:09 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\FIXE\AppData\Roaming/Bitcoin/blocks is not a valid path Are you using ArmoryQt.exe or just ArmoryDB.exe? ArmoryQt will use "armoryqt.conf" and ArmoryDB" will use armorydb.conf". If you want both to use the same path, make a copy of armoryqt.conf and rename the copy into armorydb.conf. I can't reproduce it with Qt though even after deleting the default Bitcoin blockdir. You can also add the bitcoin directory to ArmorySettings.txt like this: Code: SatoshiDatadir | E:\801_BITCOINCORE\BitcoinCore_Data Or it might be running while you created the config files, in that case, all you need to to fully close Armory then start it again or just restart your PC. Title: Re: Needing help to solve Post by: topvad on May 11, 2020, 05:05:54 PM Hello,
Thanks for your reply. I'm running amory using the default icon, pointing to QT. Still i tried to create a armorydb.conf with the same config as armoryqt.config : no change. I tried to add in ArmorySettings the bitcoin home patch : no change. So i'm actually building a VM on a 1To disk to install Amory and Bitcoin Core using the default paths ... if this is not working i'm lost ;) Title: Re: Needing help to solve Post by: nc50lc on May 12, 2020, 02:57:38 AM I'm running amory using the default icon, pointing to QT. You mean it's a shortcut? Does the "default icon" has extra start parameters?Because if it has a custom pathing in the shortcut (after the 'target'), it will override the ones set in the config files. If not, I'm out of ideas. Title: Re: Needing help to solve Post by: HCP on May 12, 2020, 05:06:10 AM I have Windows 10 + Armory running OK... I don't use armory-qt.conf or armorydb.conf
Instead, I have Armory setup to "run Bitcoin Core/bitcoind in the background": https://talkimg.com/images/2023/11/15/zViC3.png Note: leave the "install dir" blank, and it will find it in the default c:\program files directory ;) Then Have the Blockchain and Database Paths set as follows: https://talkimg.com/images/2023/11/15/zV8Yw.png However, in your setup, you'll need to set the "Bitcoin Home Dir" to: E:\801_BITCOINCORE\BitcoinCore_Data\ NOTE: do NOT include the "blocks" folder here! And set the "Armory Database Dir" to: E:\800_Armory\ArmoryDB Then shut down Armory, shut down Bitcoin Core (if it is running)... then manually start the Bitcoin Core GUI, and once it has started up and is fully synced, then try starting Armory. If it still doesn't work, can you post the latest version of your Armorylog.txt. Title: Re: Needing help to solve Post by: topvad on May 12, 2020, 06:59:52 AM I'm running amory using the default icon, pointing to QT. You mean it's a shortcut? Does the "default icon" has extra start parameters?Because if it has a custom pathing in the shortcut (after the 'target'), it will override the ones set in the config files. If not, I'm out of ideas. No special pathing, this is the default icon created during the install process : "C:\Program Files (x86)\Armory\ArmoryQt.exe" Title: Re: Needing help to solve Post by: HCP on May 13, 2020, 02:35:15 AM Have you tried removing the armoryqt.conf and setting up your paths in the Armory GUI settings like I described in my post above? If so, what happened?
Title: Re: Needing help to solve Post by: topvad on May 13, 2020, 05:59:25 PM Have you tried removing the armoryqt.conf and setting up your paths in the Armory GUI settings like I described in my post above? If so, what happened? Sorry for the late reply ... i tried without success both of your proposal yesterday without success. I tried another time this evening with a full reinstall of Armory and Bitcoin Core and ... it worked ! So in my case declaring the the folders using the GUI only was the solution but I also suppose i break something in the 2 previous tries (even if i do not understand what). Title: Re: Needing help to solve Post by: HCP on May 13, 2020, 11:07:28 PM Yeah, I had a few issues with Armory, Bitcoin Core and Windows 10.
I believe the culprit is Windows 10. There is something funky going on behind the scenes with ports and processes that seems to cause issues. :-\ I spent ages trying to get "online" and then I had issues with it being "online" but unable to receive new block data etc. This current setup I use of not using .conf files, setting paths in the GUI and running Bitcoin Core GUI manually before starting Armory is the only "stable" combination I've been able to find! :-\ Title: Re: Needing help to solve Post by: topvad on May 14, 2020, 07:08:01 AM Sure W10 is not a funny OS ... it was a fresh install from 2 weeks and i was not thinking it will be this mess to reinstall Armory :(
The GUI approach works for me as well. I will add that one to my check list next time i'm doing a reinstall ;) |