I'm having an issue when running ArmoryDB directly, (without the GUI so I can use armoryd.py). ArmoryDB appears to never connects to the bitcoin node. Running with the following command:
ArmoryDB --datadir=/armoryIf you look at my
Direct - dbLog.txt, you'll notice it just stops after "Listening on port 19002". When running from the GUI, it connects to the bitcoin node fine. With the
GUI - dbLog.txt, it continues with "Executing: doInitialSyncOnLoad". Am I misconfiguring something? How do I get ArmoryDB to connect to my bitcoin node when running ArmoryDB directly?
Armory 0.96.4
Bitcoin Core 0.16.2 running regtest
Later when I'm running
armoryd.py I get the error "DB error: Magic bytes mismatch! Different blokchain?", but I believe it's because ArmoryDB never connected to my bitcoin node. (armoryd.py works fine when I run Armory from the GUI too).
armorydb.confsatoshi-datadir=/bitcoin/regtest/blocks
satoshi-port=18333
regtest
fcgi-port=19002
cookie
db-type=DB_FULL
BAD - Direct - dbLog.txtLog file opened at 19:30:00: /armory/dbLog.txt
-INFO - 19:30:00: (main.cpp:32) Running on 4 threads
-INFO - 19:30:00: (main.cpp:33) Ram usage level: 50
-INFO - 19:30:00: (BlockUtils.cpp:915) blkfile dir: /bitcoin/regtest/blocks
-INFO - 19:30:00: (BlockUtils.cpp:916) lmdb dir: /armory/databases
-INFO - 19:30:00: (lmdb_wrapper.cpp:388) Opening databases...
-INFO - 19:30:00: (BDM_Server.h:263) Listening on port 19002
## LOG STOPS HERE ##
GOOD - GUI - dbLog.txtLog file opened at 18:39:13: /armory/dbLog.txt
-INFO - 18:39:13: (main.cpp:32) Running on 4 threads
-INFO - 18:39:13: (main.cpp:33) Ram usage level: 50
-INFO - 18:39:13: (BlockUtils.cpp:915) blkfile dir: /bitcoin/regtest/blocks
-INFO - 18:39:13: (BlockUtils.cpp:916) lmdb dir: /armory/databases
-INFO - 18:39:13: (lmdb_wrapper.cpp:388) Opening databases...
-INFO - 18:39:13: (BDM_Server.h:263) Listening on port 19002
-INFO - 18:39:13: (BlockUtils.cpp:1108) Executing: doInitialSyncOnLoad
-INFO - 18:39:13: (BitcoinP2P.cpp:947) Connected to Bitcoin node
-INFO - 18:39:13: (DatabaseBuilder.cpp:199) Reading headers from db
-INFO - 18:39:13: (DatabaseBuilder.cpp:238) Found 102 headers in db
-INFO - 18:39:13: (DatabaseBuilder.cpp:64) Rewinding 100 blocks
-INFO - 18:39:13: (DatabaseBuilder.cpp:71) updating HEADERS db
-INFO - 18:39:13: (DatabaseBuilder.cpp:493) Found next block after skipping 254bytes
## log continues ##