Pages:
Author

Topic: Armoury 0.95 - "Building database" forever - page 2. (Read 3155 times)

legendary
Activity: 3640
Merit: 1345
Armory Developer
October 23, 2016, 06:01:58 PM
#17
Your client is set to auto manage bitcoind, and apparently it's failing there, so it never got as far as starting the db.
PeZ
sr. member
Activity: 297
Merit: 250
October 23, 2016, 05:49:04 PM
#16
With ArmoryDB running, the database folder is now being written to. It will probably take awhile.

Prior to this, I ran Armory in debug mode and then end of the log was...

(INFO) ArmoryQt.py:2307 - Setting netmode: 0
(DEBUG) SDM.pyc:751 - Creating proxy
(INFO) SDM.pyc:755 - Creating proxy in SDM: host=127.0.0.1, port=8332
(INFO) ArmoryQt.py:5542 - Dashboard switched to auto-InitSync
(DEBUG) SDM.pyc:798 - generic socket error
(DEBUG) SDM.pyc:794 - generic jsonrpc exception
(DEBUG) SDM.pyc:794 - generic jsonrpc exception
(DEBUG) SDM.pyc:794 - generic jsonrpc exception
legendary
Activity: 3640
Merit: 1345
Armory Developer
October 23, 2016, 05:20:25 PM
#15
Is --dbdir a new command? I upgraded from a working 0.93.3 to 0.95 and get the same problems as the other people in this thread. I tried clearing out the Armory database folder.

Has been there since Armory has had a db. You don't need to specify the dbdir if you are just appending /databases to the datadir, it does that on its own to begin with.

Quote
nothing gets written to the databases folder.

Db isn't starting at all then. I suggest you run ArmoryDB.exe on its own in the command prompt with the same cli args. You'll get a terminal output that will help you figure out what's wrong.
PeZ
sr. member
Activity: 297
Merit: 250
October 23, 2016, 05:15:17 PM
#14
Is --dbdir a new command? I upgraded from a working 0.93.3 to 0.95 and get the same problems as the other people in this thread. I tried clearing out the Armory database folder.

When I run "E:\Program Files (x86)\Armory\ArmoryQt.exe" --datadir="E:\ArmoryData" --dbdir="E:\ArmoryData\databases" --satoshi-datadir="E:\BitcoinData", nothing gets written to the databases folder.

I checked to make sure nothing is getting written into C:\Users\[Username]\AppData\Roaming.

Debug mode is showing this...

(INFO) ArmoryQt.py:2307 - Setting netmode: 0
(DEBUG) SDM.pyc:751 - Creating proxy
(INFO) SDM.pyc:755 - Creating proxy in SDM: host=127.0.0.1, port=8332
(INFO) ArmoryQt.py:5542 - Dashboard switched to auto-InitSync
(DEBUG) SDM.pyc:798 - generic socket error
(DEBUG) SDM.pyc:794 - generic jsonrpc exception
(DEBUG) SDM.pyc:794 - generic jsonrpc exception
(DEBUG) SDM.pyc:794 - generic jsonrpc exception
legendary
Activity: 3640
Merit: 1345
Armory Developer
October 23, 2016, 11:52:39 AM
#13
I cleared the entire .armory folder and run ArmoryDB for some time. How long should I do it and when I should start the entire Armory client?

In any case here are logs so far
http://pastebin.com/Nz80CGfy

It's ready now, start ArmoryQt.
h7h
newbie
Activity: 6
Merit: 0
October 23, 2016, 11:00:56 AM
#12
I cleared the entire .armory folder and run ArmoryDB for some time. How long should I do it and when I should start the entire Armory client?

In any case here are logs so far
http://pastebin.com/Nz80CGfy
legendary
Activity: 3640
Merit: 1345
Armory Developer
h7h
newbie
Activity: 6
Merit: 0
October 23, 2016, 09:29:08 AM
#10
Running from terminal i get this:
Code:
-INFO  - 1477229196: (main.cpp:22) Running on 1 threads
-INFO  - 1477229196: (main.cpp:23) Ram usage level: 4
-INFO  - 1477229196: (BlockUtils.cpp:1325) blkfile dir: /media/sdd/Bitchain/Bitcoin/blocks
-INFO  - 1477229196: (BlockUtils.cpp:1326) lmdb dir: /home/sdd/.armory/databases
-INFO  - 1477229196: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1477229196: (BlockUtils.cpp:1508) Executing: doInitialSyncOnLoad
-INFO  - 1477229196: (DatabaseBuilder.cpp:162) Reading headers from db
-ERROR - 1477229196: (StoredBlockObj.cpp:538) buffer is too small: 0 bytes. expected: 106
-ERROR - 1477229196: (BDM_mainthread.cpp:255) BDM thread failed: buffer is too small: 0 bytes. expected: 106

legendary
Activity: 3640
Merit: 1345
Armory Developer
October 23, 2016, 08:54:39 AM
#9
run ArmoryDB manually with your command line args, see what it has to say.
h7h
newbie
Activity: 6
Merit: 0
October 23, 2016, 08:49:51 AM
#8
Yes, exactly as in M4rt1n's case. I did not think  to append screenshots and now they are somewhat redundant.
newbie
Activity: 14
Merit: 0
October 23, 2016, 08:46:27 AM
#7
For me it looks like this forever: https://i.imgur.com/hvjDUtX.png

Even after 1 and a half day completly online nothing happend
h7h
newbie
Activity: 6
Merit: 0
October 23, 2016, 08:22:46 AM
#6
I've updated to the 0.95 and my problem has changed. Now when I star Armory the first progressbar on the dashboard ("Initializing bitcoin engine") fills instantly, however second progressbar ("Building databases") do not move at all even after 12 hours. Changing between bitcoind managed by Armory and manual mode do not change anything.

About --satoshi-datadir: When I done this properly there was no difference - which is exactly as it should be because from the beginning I pointed Armory to the folder with bitchain in the settings of Armory, so it is only logical that pointing in the settings do the same as pointing via command line argument.

However when I accidentally made a typo in the path in the --satoshi-datadir argument, the dashboard of Armory was telling me that it could not detect bitcoin engine. Which is different error from those that I had in 0.94.1 and is different from the current error.

New logs after update to the 0.95
http://pastebin.com/rpFn5c7v
http://pastebin.com/xbEypRTC
http://pastebin.com/0NH1KP0z
legendary
Activity: 3640
Merit: 1345
Armory Developer
October 22, 2016, 02:42:31 PM
#5
When Armory is set to be running bitcoind it starts it itself("Since version 0.88 armoury runs bitcoind in the background"), in fact if you will start Armory while bitcoind is active task it says "Please close Bitcoin Core".

In any case I have mentioned in the first post that I tried to switch off auto-management in armory and run bitcoin in background  manually. Result is the same - green "Connected(0 blocks)" in the lower right corner and "Armory is offlin" in the center of the ashboard. "Go online" button does nothing.


Your issue is that Armory is failing to auto detect your Bitcoin folder. You need to enforce it manually through the --satoshi-datadir command line argument.
staff
Activity: 3374
Merit: 6530
Just writing some code
October 22, 2016, 10:34:35 AM
#4
Try upgrading to 0.95 and see if that fixes the problem.
h7h
newbie
Activity: 6
Merit: 0
October 22, 2016, 09:47:00 AM
#3
When Armory is set to be running bitcoind it starts it itself("Since version 0.88 armoury runs bitcoind in the background"), in fact if you will start Armory while bitcoind is active task it says "Please close Bitcoin Core".

In any case I have mentioned in the first post that I tried to switch off auto-management in armory and run bitcoin in background  manually. Result is the same - green "Connected(0 blocks)" in the lower right corner and "Armory is offlin" in the center of the ashboard. "Go online" button does nothing.
staff
Activity: 3374
Merit: 6530
Just writing some code
October 22, 2016, 08:36:21 AM
#2
(after switching of bitcoin core and making sure that bitcoind is not active task),
Why are you turning off Bitcoin Core? Armory need Bitcoin Core/bitcoind in order to function properly. It will not think it is online unless Bitcoin Core is running and it can connect to it.
h7h
newbie
Activity: 6
Merit: 0
October 22, 2016, 04:38:41 AM
#1
I've updated to the armory 0.95. My current problem is described in the post #6




Hello. I am trying to get Arnory to work.
Bitcoin Core was synched and running ok.

When I run Armoury (after switching of bitcoin core and making sure that bitcoind is not active task), Armoury spends a little time syncing with the blockchain (usually downloading 1-3 blocks) and after that the dasboard is the usual "Armory is offline" because it "could not detect detect an internet connection". [Go online] button does nothing. Checking "skip online check on the startup" does nothing. Lower right corner of the screen says "Connected(0 blocks)" in green.

I tried to change settings and run bitcoind manually instead of letting Armury manage it. In that case Armory is unable to establish connection with bitcoind.

I looked in the logs and every time i try to launch Armory with it managing bitcoind the last line in the log is
Code:
TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &'

Logs (should include both attempts in letting armoury manage bitcoind and running it on it's own):
http://pastebin.com/uSF8yvNt
http://pastebin.com/qmY7kJUt
http://pastebin.com/iAKpzn1m

Edited to add: OS is Lubuntu 16.04
Pages:
Jump to: