Author

Topic: Amory stuck on Preparing Databases (Read 249 times)

HCP
legendary
Activity: 2086
Merit: 4363
June 18, 2019, 01:51:08 PM
#13
I have the same issue and can also oberve weird errors in log files like

2019-06-17 15:00:21 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\1\AppData\Roaming/Bitcoin/blocks is not a valid path
That error is caused because you do not have Bitcoin Core installed or have not configured Armory to look in the correct location for the Bitcoin Core datadir.

I assume you have setup Bitcoin Core to store it's data in a "custom" location... If so, you need to refer to the Armory docs on seeing up the "pathing": https://btcarmory.com/docs/pathing
newbie
Activity: 1
Merit: 0
June 17, 2019, 08:05:29 AM
#12
I have the same issue and can also oberve weird errors in log files like

2019-06-17 15:00:21 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\1\AppData\Roaming/Bitcoin/blocks is not a valid path
HCP
legendary
Activity: 2086
Merit: 4363
May 23, 2019, 01:46:56 AM
#11
Odd... after a complete reboot it should have removed any "zombie" ArmoryDB processes... So, unless you have some other app/util/service that also happens to be using Port 9001 I'm not sure why ArmoryDB seems to think that port is in use.

Maybe try following the instructions here: https://veerasundar.com/blog/2009/10/how-to-check-which-application-is-using-which-port/
1. Open the command prompt - start » run » cmd or start » All Programs » Accessories » Command Prompt.
2. Type: netstat -aon | findstr "[port_number]". Replace the [port_number] with the actual port number that you want to check and hit enter.
3. If the port is being used by any application, then that application’s detail will be shown. The number, which is shown at the last column of the list, is the PID  (process ID) of that application. Make note of this.
4. Type: tasklist | findstr "[PID]". Replace the [PID] with the number from the above step and hit enter.
You’ll be shown the application name that is using your port number.

For example... I know that bitcoin-qt is running on 8332... so, netstat -aon | findstr "8332" gives:
Code:
  TCP    127.0.0.1:8332         0.0.0.0:0              LISTENING       15412

and then tasklist | findstr "15412" gives:
Code:
bitcoin-qt.exe               15412 Console                    1    331,156 K


Also, my ArmoryDB seems to pick "random" port numbers... do you have 9001 hardcoded in your Armory config file?
newbie
Activity: 11
Merit: 0
May 22, 2019, 11:31:42 PM
#10
  If i'm reading this it's telling me it is open somewhere else? I can't see it though and it hasn't worked since i restarted....

https://pastebin.com/raw/ZeAnHxJt
newbie
Activity: 11
Merit: 0
May 22, 2019, 11:25:35 PM
#9
Shutting down didn't work...

https://pastebin.com/raw/SW0deyPD
HCP
legendary
Activity: 2086
Merit: 4363
May 22, 2019, 11:13:28 PM
#8
Then try shutting everything down and rebooting your PC and ten seeing if Armory will load up... if it doesn't, you will need to post the contents of both armorylog.txt and dbLog.txt.

I recommend you use pastebin.com to avoid running into "max post size" errors (it also helps keep the thread tidy Wink)
newbie
Activity: 11
Merit: 0
May 22, 2019, 11:07:07 PM
#7
Version of Bitcoin Core is 0.18.0

All my bitcore Core files are in E:\Bitcoin\Bitcoin core
HCP
legendary
Activity: 2086
Merit: 4363
May 22, 2019, 10:56:48 PM
#6
It's quite possible that one of the Armory components (likely ArmoryDB) is still running in the background. The easy solution is to shut everything down and reboot your computer to guarantee all the processes have been killed properly. Then try running Armory again.

Alternatively, you can look in Task Manager and make sure there are no Armory related processes running (you maybe need to click the "more details" button to see ALL processes).

If that doesn't work and Armory is still stopping...

What version of Bitcoin Core do you have installed?
Is your wallet.dat and "blocks" folder in "E:\Bitcoin\Bitcoin Core" directory? If not, what directory are your wallet.dat and "blocks" folder in?
newbie
Activity: 11
Merit: 0
May 22, 2019, 10:14:52 PM
#5
Upon more testing i can open the offline version but not the test or online versions
newbie
Activity: 11
Merit: 0
May 22, 2019, 09:44:10 PM
#4
Would this error have something to do with it?

(ERROR) ArmoryUtils.pyc:3735 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:445 - Spawning bitcoind with command: E:\Bitcoin\Bitcoin Core\Bitcoin\daemon\bitcoind.exe -datadir=E:\Bitcoin\Bitcoin Core
(ERROR) ArmoryUtils.pyc:3735 - Unsupported language  specified. Defaulting to English (en)
(WARNING) SDM.pyc:445 - Spawning bitcoind with command: E:\Bitcoin\Bitcoin Core\Bitcoin\daemon\bitcoind.exe -datadir=E:\Bitcoin\Bitcoin Core
newbie
Activity: 11
Merit: 0
May 22, 2019, 09:33:30 PM
#3
I've done that, now i can't get Amory to open at all it just sits on the startup screen with the logo and at the top says loading 100% but hangs there...
legendary
Activity: 3794
Merit: 1375
Armory Developer
May 22, 2019, 09:15:33 PM
#2
Update to 0.96.5
newbie
Activity: 11
Merit: 0
May 22, 2019, 08:11:36 PM
#1
Hi, and sorry i know this has been asked a thousand times but I am not really that computer savy, i think i have set up Amory and Bitcoin Core correctly but for some reason i cannot get Amory to get past preparing databases... I have been mucking around for a few days now trying to get the databases to read from the correct area as they are on my second hdd... I have the following log files that i'm hoping someone can look at and point me in the right direction to get this resolved... I'm sure I've stuffed up something simple....

2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1258 - ************************************************************
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1259 - Invoked: E:\Bitcoin\Armory 1\ArmoryQt.exe
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1260 - ************************************************************
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1261 - Loading Armory Engine:
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1262 -    Armory Version        : 0.96
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1263 -    Armory Build:         : a3d01aa722
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1264 -    PyBtcWallet  Version  : 1.35
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1265 - Detected Operating system: Windows
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1266 -    OS Variant            : 8-6.2.9200--Multiprocessor Free
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1267 -    User home-directory   : C:\Users\J\AppData\Roaming
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1268 -    Satoshi BTC directory : C:\Users\J\AppData\Roaming\Bitcoin\
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1269 -    Armory home dir       : C:\Users\J\AppData\Roaming\Armory\
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1270 - Detected System Specs    :
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1271 -    Total Available RAM   : 7.88 GB
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1272 -    CPU ID string         : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1273 -    Number of CPU cores   : 8 cores
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1274 -    System is 64-bit      : True
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1275 -    Preferred Encoding    : cp1252
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1276 -    Machine Arch          : amd64
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1277 -    Available HDD (ARM)   : 87 GB
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1278 -    Available HDD (BTC)   : 0 GB
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1279 -
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1280 - Network Name: Main Network
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1281 - Satoshi Port: 8333
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1282 - Do wlt check: True
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1283 - Named options/arguments to armoryengine.py:
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     thread_count    : -1
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     rescan          : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     ignoreAllZC     : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     rescanBalance   : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     disableModules  : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     port            : None
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     interport       : 8223
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     coverageOutputDir: None
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     forceWalletCheck: False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     regtest         : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     rebuild         : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     nettimeout      : 2
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     datadir         : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     clearMempool    : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     offline         : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     armoryDBDir     : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     armorydb_port   : 9001
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     satoshiPort     : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     useTorSettings  : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     netlog          : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     keypool         : 100
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     coverageInclude : None
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     forceOnline     : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     redownload      : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     rpcBindAddr     : 127.0.0.1
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     armorydb_ip     : 127.0.0.1
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     multisigFile    : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     ram_usage       : -1
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     mtdebug         : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     logDisable      : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     settingsPath    : C:\Users\J\AppData\Roaming\Armory\ArmorySettings.txt
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     language        : en
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     db_type         : DB_FULL
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     doDebug         : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     enableDetSign   : True
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     disableConfPermis: False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     testnet         : False
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     rpcport         : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     satoshiHome     : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     satoshiRpcport  : DEFAULT
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     logFile         : C:\Users\J\AppData\Roaming\Armory\ArmoryQt.exe.log.txt
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1285 -     verbosity       : None
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1286 - Other arguments:
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1289 - ************************************************************
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:1692 - C++ block utilities loaded successfully
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:3590 - Using settings file: C:\Users\J\AppData\Roaming\Armory\ArmorySettings.txt
2019-05-23 10:42 (ERROR) -- ArmoryUtils.pyc:3747 - Unsupported language  specified. Defaulting to English (en)
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:3750 - Using Language: en
2019-05-23 10:42 (INFO) -- BDM.pyc:368 - Using the asynchronous/multi-threaded BlockDataManager.
2019-05-23 10:42 (INFO) -- BDM.pyc:369 - Blockchain operations will happen in the background. 
2019-05-23 10:42 (INFO) -- BDM.pyc:370 - Devs: check TheBDM.getState() before asking for data.
2019-05-23 10:42 (INFO) -- BDM.pyc:371 - Registering addresses during rescans will queue them for
2019-05-23 10:42 (INFO) -- BDM.pyc:372 - inclusion after the current scan is completed.
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:3590 - Using settings file: C:\Users\J\AppData\Roaming\Armory\ArmorySettings.txt
2019-05-23 10:42 (INFO) -- ArmoryQt.py:2042 - loadWalletsAndSettings
2019-05-23 10:42 (INFO) -- ArmoryQt.py:2102 - Loading wallets...
2019-05-23 10:42 (INFO) -- ArmoryQt.py:2167 - Number of wallets read in: 0
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1747 - acquiring process mutex...
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1385 - setupUriRegistration
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1453 - Armory already registered for current user.  Done!
2019-05-23 10:42 (INFO) -- ArmoryQt.py:558 - Usermode: Advanced
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1681 - Changing usermode:
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1682 -    From: Advanced
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1690 -      To: Advanced
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1814 - startBitcoindIfNecessary
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1850 - setSatoshiPaths
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1868 - Setting satoshi datadir = E:\Bitcoin\Bitcoin Core
2019-05-23 10:42 (INFO) -- SDM.pyc:169 - Found bitcoind in the following places:
2019-05-23 10:42 (INFO) -- SDM.pyc:171 -    E:\Bitcoin\Bitcoin Core\Bitcoin\daemon\bitcoind.exe
2019-05-23 10:42 (INFO) -- SDM.pyc:173 - Using: E:\Bitcoin\Bitcoin Core\Bitcoin\daemon\bitcoind.exe
2019-05-23 10:42 (INFO) -- SDM.pyc:337 - Called startBitcoind
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:665 - Executing popen: [u'E:\\Bitcoin\\Bitcoin Core\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=E:\\Bitcoin\\Bitcoin Core']
2019-05-23 10:42 (INFO) -- SDM.pyc:443 - PID of bitcoind: 18008
2019-05-23 10:42 (INFO) -- SDM.pyc:444 - PID of armory:   22388
2019-05-23 10:42 (INFO) -- ArmoryUtils.pyc:665 - Executing popen: ['.\\guardian.exe', '22388', '18008']
2019-05-23 10:42 (WARNING) -- ArmoryQt.py:1804 - DB is already running
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1900 - Setting netmode: 1
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1900 - Setting netmode: 0
2019-05-23 10:42 (INFO) -- ArmoryQt.py:1882 - loadBlockchainIfNecessary
2019-05-23 10:42 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2019-05-23 10:42 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
Jump to: