Author

Topic: Unable to get db to load (Read 127 times)

sr. member
Activity: 525
Merit: 282
May 01, 2019, 10:55:31 PM
#9
The blockchain, you mean? An occasional backup wouldn't hurt. Then, if you ever need to use it elsewhere or do a reinstall, you can just copy the blockchain over. There will still be a period where the data is verified but it'll be far shorter than downloading everything again.
newbie
Activity: 8
Merit: 0
May 01, 2019, 01:57:09 PM
#8
Goatpig's question did it, I spent some time reviewing on line how to download PPAs and, of course, discovered that I had done it all wrong. Now I have Bitcoin Core running and after several days, it is still downloading, I'll be patient. Thank you for everyone's support. Now, as a general question, should this happen to me again, how might one reduce the time required to download the database. Could I copy it to separate hard drive?
legendary
Activity: 3794
Merit: 1375
Armory Developer
April 22, 2019, 06:11:54 AM
#7
Quote
I have tried to download and install bitcoin core from the PPA for bitcoin 0.17.1 and then extract the files into the default folder.

You shouldn't have to extract anything if you successfully installed Core from the PPA. What is it that you extracted, and where did you extract it?
HCP
legendary
Activity: 2086
Merit: 4363
April 22, 2019, 06:08:14 AM
#6
It honestly sounds like Bitcoin Core isn't installed correctly...

Do you have the exact commands you used to attempt to setup the PPA and install bitcoin-qt and/or bitcoind? Huh

Also, are you attempting to run the GUI or just bitcoind?
newbie
Activity: 8
Merit: 0
April 22, 2019, 12:32:16 AM
#5
The should be a debug.log file in your ~/.bitcoin directory. Is there anything obvious in there that indicates why Bitcoin Core isn't working? Or is it not even getting that far?

If you can find the debug.log, you can always post the contents of it here (use pastebin.com and then post the generated pastebin.com URL), so we can check the debug output.

No, not getting that far. No file in that directory, just a folder called blocks and it is empty.
HCP
legendary
Activity: 2086
Merit: 4363
April 21, 2019, 11:34:23 PM
#4
The should be a debug.log file in your ~/.bitcoin directory. Is there anything obvious in there that indicates why Bitcoin Core isn't working? Or is it not even getting that far?

If you can find the debug.log, you can always post the contents of it here (use pastebin.com and then post the generated pastebin.com URL), so we can check the debug output.
newbie
Activity: 8
Merit: 0
April 21, 2019, 08:50:32 PM
#3
Yes, this seems to be the problem. I am unable to launch Bitcoin Core without getting message that there no exec files to run. I have tried to download and install bitcoin core from the PPA for bitcoin 0.17.1 and then extract the files into the default folder. However, Bitcoin Core doesn't launch. It seems that I am failing to do something very basic and that the problem is not with Armory.
legendary
Activity: 3430
Merit: 3080
April 18, 2019, 07:11:37 AM
#2
I cannot get bitcoin core 0.17.1 to load

That is step 1. Do this first.

Bitcoin Core must be completely synced before you start Armory.


not can I get it to be initialized by Amory and begin downloading the database.

Armory won't finish creating it's database if Bitcoin is not synced


2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1836 - startBitcoindIfNecessary
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths
2019-04-18 04:40:52 (INFO) -- ArmoryUtils.py:689 - Executing popen: ['whereis', 'bitcoind']
2019-04-18 04:40:52 (ERROR) -- ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "/usr/bin/../lib/armory/ArmoryQt.py", line 1857, in startBitcoindIfNecessary
    TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath)
  File "/usr/lib/armory/SDM.py", line 190, in setupSDM
    if self.failedFindExe:  raise self.BitcoindError, 'bitcoind not found'
BitcoindError: bitcoind not found

This is the problem.

1. Find the option in Armory preferences that switches off automatically launching Bitcoin (it's a checkbox beneath the setting that specifies the location of Bitcoin's folders). Switch it off.
2. Make sure the folder for the Bitcoin data is set correctly. On Ubuntu, it should be /home//.bitcoin
newbie
Activity: 8
Merit: 0
April 18, 2019, 04:06:31 AM
#1
Hello All,
I recently have had problems getting my Windows based computer, so I have been attempting to get armory to work on Linux laptop. I'm new to Ubuntu, so it is unclear when something is not working whether it is a problem in the program or my unfamiliarity with Linux. I cannot get bitcoin core 0.17.1 to load not can I get it to be initialized by Amory and begin downloading the database.
Running Ubuntu 18.04 on Acer Aspire 7551G6477 965GB free space on drive.
Any help will be apreciated



2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1164 - C++ block utilities loaded successfully
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:689 - Executing popen: free -m
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:689 - Executing popen: ['cat', '/proc/cpuinfo']
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1281 -
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1282 -
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1283 -
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1284 - ************************************************************
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1285 - Invoked: /usr/bin/../lib/armory/ArmoryQt.py
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1286 - ************************************************************
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1287 - Loading Armory Engine:
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1288 -    Armory Version        : 0.96.5
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1289 -    Armory Build:         : 1d02a6640d
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1290 -    PyBtcWallet  Version  : 1.35
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1291 - Detected Operating system: Linux
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1292 -    OS Variant            : Ubuntu-18.04-bionic
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1293 -    User home-directory   : /home/kerry
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1294 -    Satoshi BTC directory : /home/kerry/.bitcoin
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1295 -    Armory home dir       : /home/kerry/.armory/
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1296 - Detected System Specs    :
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1297 -    Total Available RAM   : 3.85 GB
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1298 -    CPU ID string         : AMD Phenom(tm) II N850 Triple-Core Processor
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1299 -    Number of CPU cores   : 3 cores
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1300 -    System is 64-bit      : True
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1301 -    Preferred Encoding    : UTF-8
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1302 -    Machine Arch          : x86_64
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1303 -    Available HDD (ARM)   : 851 GB
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1304 -    Available HDD (BTC)   : 851 GB
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1305 -
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1306 - Network Name: Main Network
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1307 - Satoshi Port: 8333
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1308 - Do wlt check: True
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1309 - Named options/arguments to armoryengine.py:
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     force_segwit    : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     nettimeout      : 2
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     rescan          : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     force_fcgi      : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     ignoreAllZC     : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     rescanBalance   : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     disableModules  : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     port            : None
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     interport       : 8223
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     coverageOutputDir: None
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     forceWalletCheck: False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     regtest         : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     rebuild         : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     thread_count    : -1
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     datadir         : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     clearMempool    : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     offline         : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     armoryDBDir     : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     armorydb_port   : 9001
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     satoshiPort     : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     disableConfPermis: False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     useTorSettings  : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     netlog          : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     keypool         : 100
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     coverageInclude : None
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     forceOnline     : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     disableWalletCheck: False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     redownload      : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     rpcBindAddr     : 127.0.0.1
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     armorydb_ip     : 127.0.0.1
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     multisigFile    : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     ram_usage       : -1
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     ignoreZC        : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     logDisable      : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     settingsPath    : /home/kerry/.armory/ArmorySettings.txt
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     language        : en
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     db_type         : DB_FULL
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     doDebug         : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     enableDetSign   : True
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     mtdebug         : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     testnet         : False
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     rpcport         : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     satoshiHome     : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     satoshiRpcport  : DEFAULT
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     logFile         : /home/kerry/.armory/ArmoryQt.py.log.txt
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1311 -     verbosity       : None
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1312 - Other arguments:
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1315 - ************************************************************
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:1720 - C++ block utilities loaded successfully
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:3578 - Using settings file: /home/kerry/.armory/ArmorySettings.txt
2019-04-18 04:40:43 (ERROR) -- ArmoryUtils.py:3735 - Unsupported language  specified. Defaulting to English (en)
2019-04-18 04:40:43 (INFO) -- ArmoryUtils.py:3738 - Using Language: en
2019-04-18 04:40:43 (INFO) -- BDM.py:353 - Using the asynchronous/multi-threaded BlockDataManager.
2019-04-18 04:40:43 (INFO) -- BDM.py:354 - Blockchain operations will happen in the background. 
2019-04-18 04:40:43 (INFO) -- BDM.py:355 - Devs: check TheBDM.getState() before asking for data.
2019-04-18 04:40:43 (INFO) -- BDM.py:356 - Registering addresses during rescans will queue them for
2019-04-18 04:40:43 (INFO) -- BDM.py:357 - inclusion after the current scan is completed.
2019-04-18 04:40:44 (INFO) -- ArmoryUtils.py:3578 - Using settings file: /home/kerry/.armory/ArmorySettings.txt
2019-04-18 04:40:44 (INFO) -- ArmoryQt.py:2060 - loadWalletsAndSettings
2019-04-18 04:40:44 (INFO) -- ArmoryQt.py:2120 - Loading wallets...
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2185 - Number of wallets read in: 5
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2190 -    Wallet (2DFMzrvdm):   "Restored - 2DFMzrvdm            "   (Encrypted)
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2190 -    Wallet (2K2U6eJZd):   "Restored - 2K2U6eJZd            "   (Encrypted)
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2190 -    Wallet (WksqAAkP):    "Restored - WksqAAkP             "   (Encrypted)
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2190 -    Wallet (2i29daMcT):   "Primary Initial Wallet          "   (Encrypted)
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2190 -    Wallet (2UMYaCVVH):   "Restored - 2UMYaCVVH            "   (Encrypted)
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:2195 - Loading Multisig Lockboxes
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:1763 - acquiring process mutex...
2019-04-18 04:40:48 (INFO) -- ArmoryQt.py:1395 - setupUriRegistration
2019-04-18 04:40:48 (INFO) -- ArmoryUtils.py:689 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command
2019-04-18 04:40:48 (INFO) -- ArmoryUtils.py:689 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:566 - Usermode: Expert
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1698 - Changing usermode:
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1699 -    From: Expert
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1707 -      To: Expert
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1836 - startBitcoindIfNecessary
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths
2019-04-18 04:40:52 (INFO) -- ArmoryUtils.py:689 - Executing popen: ['whereis', 'bitcoind']
2019-04-18 04:40:52 (ERROR) -- ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "/usr/bin/../lib/armory/ArmoryQt.py", line 1857, in startBitcoindIfNecessary
    TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath)
  File "/usr/lib/armory/SDM.py", line 190, in setupSDM
    if self.failedFindExe:  raise self.BitcoindError, 'bitcoind not found'
BitcoindError: bitcoind not found
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 0
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths
2019-04-18 04:40:52 (WARNING) -- SDM.py:402 - Spawning DB with command: ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/home/kerry/.bitcoin/blocks" --satoshi-port=8333 --datadir="/home/kerry/.armory/" --dbdir="/home/kerry/.armory/databases"
2019-04-18 04:40:52 (INFO) -- ArmoryUtils.py:689 - Executing popen: ['ArmoryDB', '--db-type="DB_FULL"', '--cookie', '--satoshi-datadir="/home/kerry/.bitcoin/blocks"', '--satoshi-port=8333', '--datadir="/home/kerry/.armory/"', '--dbdir="/home/kerry/.armory/databases"']
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1824 - Connecting on port 59295
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1905 - loadBlockchainIfNecessary
2019-04-18 04:40:52 (ERROR) -- ArmoryQt.py:1198 - 8 attempts to load blockchain failed.  Remove mempool.bin.
2019-04-18 04:40:52 (ERROR) -- ArmoryQt.py:1203 - File mempool.bin does not exist. Nothing deleted.
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2019-04-18 04:40:52 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
Jump to: