Bitcoin Forum
May 04, 2024, 04:57:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Armory / Re: Armory stuck on "Preparing Databases" on: August 28, 2019, 12:13:17 AM
Yup there is a "blocks" folder as well as "chainstate" and "wallets" folder in D:\BitcoinCore. I'm also nearly certain the blockchain was downloaded to this drive and not my main one as i now have 200GB less space on my hdd.

I examined the log once again and it looks like you tried setting the 'setSatoshiDir' to 'D:\BitcoinBase', 'D:\BitcoinBase\blocks' and 'D:\BitcoinCore'. You forgot about 'D:\BitcoinCore\blocks'. Give it a try.

No luck there either Sad. In the tutorials provided by Armory it had an option to download the database through Armory itself but when I looked I had no options for anything like that. Since I've had it installed it will only show "Preparing Databases". Could reinstalling Armory work possibly? And if I do reinstall it, would I keep the same wallet and the bitcoin that were transferred to it?
2  Bitcoin / Armory / Re: Armory stuck on "Preparing Databases" on: August 27, 2019, 10:49:25 AM
I'm confused, I have btc core installed in its own folder D:\BitcoinCore, in that folder there is the blocks folder. I tried to load armory with D:\BitcoinCore\blocks and just D:\BitcoinCore as the datadir but after both attempts armory is still preparing databases.

With datadir you are referring to satoshi-datadir as mentioned by BitCryptex, right ?

Because there are 2 different parameters:

  • datadir: For armory config files etc. (not what you want to edit)
  • satoshi-datadir: This one should point to the block folders of core (that's the one you want to edit)



Edit:
Was too late with my reply. You set the correct parameter.

That's the output of the log:
Code:


2019-08-27 05:35:36 (ERROR) -- BDM.pyc:268 - setSatoshiDir: directory does not exist: <D:\BitcoinCore>

Are you sure the directory is correct ?
D:\BitcoinCore\blocks should be the correct one if you installed core into D:\BitcoinCore.

Can you verify whether there is a folder named blocks inside of this directory ?
May it be possible that you installed core into this directory but it still uses the standard one (C:\Users\USERNAME\AppData\Roaming\Bitcoin\blocks) as its data/blockchain directory ?

Yup there is a "blocks" folder as well as "chainstate" and "wallets" folder in D:\BitcoinCore. I'm also nearly certain the blockchain was downloaded to this drive and not my main one as i now have 200GB less space on my hdd.
3  Bitcoin / Armory / Re: Armory stuck on "Preparing Databases" on: August 27, 2019, 10:38:54 AM
I'm confused, I have btc core installed in its own folder D:\BitcoinCore, in that folder there is the blocks folder. I tried to load armory with D:\BitcoinCore\blocks and just D:\BitcoinCore as the datadir but after both attempts armory is still preparing databases.

Paste the log again. It looks like you can set the database path in the Armory settings since the 0.96.5 update. It might have not been overwritten by the parameter. Can you look for it?
Apologies, https://pastebin.com/rgMxPTw4 there is the log, and thank you very much for your help so far. Yea I had changed the settings before to try and fix it, but when I changed the shortcut I also changed back the settings I had changed.
4  Bitcoin / Armory / Re: Armory stuck on "Preparing Databases" on: August 27, 2019, 10:19:50 AM
Code:
2019-08-27 02:57:32 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\John\AppData\Roaming/Bitcoin/blocks is not a valid path

Armory tries to access the folder where Bitcoin Core stores the block database by default. Right-click on your Armory shortcut, select properties and add the following parameter in the 'Target' after the .exe

Code:
 --satoshi-datadir=<datadir>

Change the datadir to the same path as you set after installing Bitcoin Core, for example, D:\Programs\Bitcoin. 'blocks' folder should be located there.


I'm confused, I have btc core installed in its own folder D:\BitcoinCore, in that folder there is the blocks folder. I tried to load armory with D:\BitcoinCore\blocks and just D:\BitcoinCore as the datadir but after both attempts armory is still preparing databases.
5  Bitcoin / Armory / Re: Armory stuck on "Preparing Databases" on: August 27, 2019, 09:07:51 AM
Post your logs. You can export them by clicking 'File' -> 'Export Log File'. It will be much easier to troubleshoot if we know on what step exactly the wallet is stuck. Did you change any settings in Bitcoin Core config file or specified its location?
https://pastebin.com/kWkxnjub
Thats my log, and yea I tried to change the armory settings to use the btc core database I downloaded, but I wasn't sure which folder to use, and I didn't know the difference between home directory and database directory. Rereading your reply, no I did not change any settings or configuration of bitcoin core.
6  Bitcoin / Armory / Armory stuck on "Preparing Databases" on: August 27, 2019, 07:59:16 AM
I'm fairly new to crypto and I thought setting up a wallet would be a good way to get started and I thought I had researched enough and chose Armory, and after I installed it I sent the btc from coinbase to my wallet, but after I noticed it wasn't in my balance I did notice that my wallet was offline. All of the armory tutorials they have seem to be very out of date and the UI for the new version of Armory is completely different. Most of the tutorials/other people asking for help mention multiple tabs/other options in their dashboard or some mention command prompts, but I can't find anything like that. https://imgur.com/zTLiChX This is what my program has been stuck on, and I can't figure out how to let it prepare the database. I downloaded bitcoin core and went through the whole process of downloading the blockchain in my second drive, but I am completely lost on how to get Armory to use it. Any help would be tremendously helpful and I'm sorry if this is easily fixed and I was just too dumb to know what to do. I'm on Windows 10, Armory is on my main ssd, the btc database is on my secondary hdd, using version 0.96.5 of armory, 0.18.1 for btc core
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!