Pages:
Author

Topic: Need Help - Armory won't sync with Bitcoin Core - pathing? (Read 419 times)

member
Activity: 270
Merit: 36
Ninja'd by Holliday but posting anyway:

Generally an offline wallet is used as part of a cold storage setup.
You have the full wallet on an offline pc and a stripped down "watch-only" wallet on the online pc that can see your balance on the various addresses. You create unsigned transactions on the online pc, sign them on the offline pc, then broadcast on the online pc.
Helps keep your private keys secure, as well as the coins they control.

The old website has a decent blurb on it that still applies: https://www.bitcoinarmory.com/cold-storage/
legendary
Activity: 1120
Merit: 1012
yes - same PC
so if the balance wont display - what is on offline wallter useful for?

An offline wallet is the entire reason one normally chooses to use Armory. It's a security model where your private keys are never allowed to reside on a networked computer.

If you don't know what an offline wallet is, why are you using Armory?
newbie
Activity: 22
Merit: 0
yes - same PC
so if the balance wont display - what is on offline wallter useful for?
member
Activity: 270
Merit: 36
ok - quick sub-question
If my online wallet is synced, shouldnt i be able to see the same wallet on the "offline" version, when launching "offline"?
as of now, it appears empty...
Glad you're up and running.
Are you talking about on the same pc here? Or having a separate offline & online computer?
The wallet itself should be there, but the balance won't display unless it is online.
newbie
Activity: 22
Merit: 0
ok - quick sub-question
If my online wallet is synced, shouldnt i be able to see the same wallet on the "offline" version, when launching "offline"?
as of now, it appears empty...
newbie
Activity: 22
Merit: 0
was able to relaunch succesfully and all is running ok
will try launch and shut down a couple of times to see what works best
Many thanks, again, to all
 Smiley
member
Activity: 270
Merit: 36
not sure...
what would the proper launch and quit protocol be in terms of Bitcoin Core and Armory?
So, that setting I had you uncheck? That means you need to manage Bitcoin Core yourself, rather than just launching Armory and having it sort things out. One extra step, but I've found it a lot more robust and is my go to when things aren't working automatically for people - but you need Bitcoin Core to be running for Armory to go online.

So, usual process for me:
Start Bitcoin Core from the shortcut (which loads up the Graphical User Interface [GUI]). Wait for the splash screen to finish verifying blocks.
Start Armory.
Wait for everything to catch up and then, usually, Armory will pop up and say everything is in sync and online.

To shutdown:
Quit Armory. Optionally check if ArmoryDB has closed too (It doesn't seem to shut down if it is busy)
Quit Bitcoin Core.

Does that help?
newbie
Activity: 22
Merit: 0
not sure...
what would the proper launch and quit protocol be in terms of Bitcoin Core and Armory?
member
Activity: 270
Merit: 36
Was Bitcoin Core still running when you launched the second time?
newbie
Activity: 22
Merit: 0
problem solved - almost!
it loaded properly and i saw my Bitcoin in the wallet
However - next time i launched - same problem... Undecided

member
Activity: 270
Merit: 36
Thanks @goatpig
what does run "BitcoinQt manually" mean? launch Bitcoin Core from my start menu or shortcut?
Do i leave "auto bitcoind in File > Settings" unchecked for this step as well?
Launch Core from either the shortcut or the menu.
Yes leave that unchecked.


I tried to insert the code mentioned above but no luck so far.  --satoshi-datadir=D:/Bitcoin
Yeah, that probably isn't going to work for you - While this is a common problem, we're somewhat tailoring the instructions to Marla_H here.
I'll take a look at your logs and post in your existing thread, ok?
newbie
Activity: 8
Merit: 0
Thanks @goatpig
what does run "BitcoinQt manually" mean? launch Bitcoin Core from my start menu or shortcut?
Do i leave "auto bitcoind in File > Settings" unchecked for this step as well?

I tried your suggestion (deleted database folder) a couple times and did not get the databases on Armory to scan properly and Armory stayed "offline" the whole time. The only main difference was the Armory launched and shut down seamlesly without me having to kill it or get the (not responding) error

I'm facing same trouble here I guess.
Armory opens just fine, everything is updated (Armory RC1 and Bitcoin core), but it´s taking a really long time to load the balance (and doesn't load after all). Actually I went to sleep and this morning I saw the balance, but after close the wallet and open it again, it's not loading.

For the past hour has been stucked on "Preparing database".

Here is a picture and the log right after

https://goo. gl/tca81j

https://pastebin.com/ms0Skav8

I tried to insert the code mentioned above but no luck so far.  --satoshi-datadir=D:/Bitcoin
newbie
Activity: 22
Merit: 0
Thanks @goatpig
what does run "BitcoinQt manually" mean? launch Bitcoin Core from my start menu or shortcut?
Do i leave "auto bitcoind in File > Settings" unchecked for this step as well?

I tried your suggestion (deleted database folder) a couple times and did not get the databases on Armory to scan properly and Armory stayed "offline" the whole time. The only main difference was the Armory launched and shut down seamlesly without me having to kill it or get the (not responding) error
legendary
Activity: 3766
Merit: 1364
Armory Developer
Code:
2018-01-08 09:44:53 (INFO) -- ArmoryQt.py:5456 - BDM is safe for clean shutdown
2018-01-08 09:44:53 (INFO) -- SDM.pyc:459 - Called stopBitcoind
2018-01-08 09:44:53 (WARNING) -- SDM.pyc:509 - bitcoind exited, bitcoind STDOUT:
2018-01-08 09:44:53 (WARNING) -- SDM.pyc:511 -
2018-01-08 09:44:53 (WARNING) -- SDM.pyc:512 - bitcoind exited, bitcoind STDERR:
2018-01-08 09:44:53 (WARNING) -- SDM.pyc:514 -
2018-01-08 09:44:53 (INFO) -- SDM.pyc:465 - ...but bitcoind is not running, to be able to stop

bitcoind is choking on start. Turn off auto bitcoind in File > Settings, then run BitcoinQt manually. Let it sync in full. Once that's done, delete you databases folder (C:\Users\Dov\AppData\Roaming\Armory\databases) and start Armory the usual way.
newbie
Activity: 22
Merit: 0
sure. appreciate the help
https://pastebin.com/qcjJCfgg
https://pastebin.com/G6XrP8cF
anything look out of the ordinary?
member
Activity: 270
Merit: 36
@Phoenixfire
no, luck with this fix either - i did the first option (new config text file)
Armory did it's thing for a while and showed progress, but now stuck on "organizing blockchain" and progress wheel is frozen
any ideas?

Not sure. Could be something new in your logfiles. Would you mind posting fresh copies of them?
newbie
Activity: 22
Merit: 0
@Phoenixfire
no, luck with this fix either - i did the first option (new config text file)
Armory did it's thing for a while and showed progress, but now stuck on "organizing blockchain" and progress wheel is frozen
any ideas?
member
Activity: 270
Merit: 36
@Phoenixfire
no, luck with this fix
with "Let Armory run Bitcoin Core in the background" on "off" - Armory still launches and then freezes on "offline" and does not even start scanning for blocks
perhaps I did not understand "Manually start up Bitcoin Core's GUI"?
any other suggestions at this point?  Embarrassed

So, you'll need to follow the instructions in the post I made just above yours. Either via a config file or editing a shortcut for Bitcoin Core.
For a config file, create a bitcoin.conf in D:\BitcoinCore\ and fill it with the first set.

Or for a shortcut... if you don't have one, create a shortcut to C:\Program Files\Bitcoin\bitcoin-qt.exe and add on the server and listen parts.

Then close Armory and Bitcoin Core. Start Bitcoin Core from that shortcut. Then start Armory.
newbie
Activity: 22
Merit: 0
@Phoenixfire
no, luck with this fix
with "Let Armory run Bitcoin Core in the background" on "off" - Armory still launches and then freezes on "offline" and does not even start scanning for blocks
perhaps I did not understand "Manually start up Bitcoin Core's GUI"?
any other suggestions at this point?  Embarrassed
member
Activity: 270
Merit: 36
Hi, what do you mean by "RPC server enabled"? I do not see any option like that in QT wallet settings under Windows.
But I noticed, that if I check the Option "let armory run ... in background" then I have a process "bitcoind" running.
But if I uncheck the armory option mentioned above, run bitcoin-qt wallet along with armory, this process is not there, and armory just doesn't do enything - progress bars stay empty and no spinner whatsoever is there.

My Question is - can it be that the "RPC server" is the bitcoind process and that it isn't running?

If your setup is working, don't change anything - if you're having trouble it'd be best to start your own thread, as the problem isn't fixed here yet.

That said: When Armory is configured to manage Core, bitcoind is run in the background. This, as you suspected, provides a RPC server for Armory to query.
Sometimes something gets tripped up when Armory is configured to manage Core, and hence my suggestion to Marla_H.
In this situation, and without bitcoind, Bitcoin-qt can also provide a RPC server for Armory, but requires some config - which I apparently should have given in my last post. (Sorry!)

This can be done either by adding the following to a text file named bitcoin.conf in your Bitcoin Core data directory:
Code:
# Run RPC Server
server=1

# Accept Incoming
listen=1

Or adding the following to the end of your Bitcoin qt/Core shortcut:
Code:
 -server=1 -listen=1
Pages:
Jump to: