Bitcoin Forum
May 05, 2024, 06:16:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory keeps rebuilding database at every startup  (Read 846 times)
Havilly1960 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 09, 2016, 02:04:20 PM
Last edit: March 09, 2016, 03:56:26 PM by Havilly1960
 #1

Hey bitcoiners,

I've just recently decided to jump on that bandwagon, and dang it seems like it was a ton of trouble just for me to be able to make a few anonymous purchases. It would've been a ton easier to just give my identity to coinbase and be done with the offline wallet, anonymously procured bitcoin through local sellers, etc. But, I stuck through the pains of getting the blockchain (initially tried through armory, didn't work because of the site being down), downloading the thing with Bitcoin-qt 11.2 (some kind of bug caused the database to read corrupted everytime I tried downloading it), redownloading the blockchain through bitcoin-qt 12 (finally worked). So, I got the bloody blockchain. When I got to Armory, it did the initial building of the database, and a few hours later it got through.

Only issue is that it does that initial building every startup. When I shutdown armory, it goes through the "preparing shutdown" fit for a real while (More than 5 minutes). So, it can't be because of improper shutdown. I can't go on believing that armory needs hours to startup it's little program.

TL:DR (is that the term?): Armory is acting like it needs to come out of the womb while putting the mother in labour for half a day everytime it wakes up in the morning. (God knows that's how it went when my child was just a young lad, those mornings were something!)

Logs?
(armorylog.txt)
Quote
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1189 - ************************************************************
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1190 - Invoked: /opt/BitcoinArmory/ArmoryQt.py
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1191 - ************************************************************
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1192 - Loading Armory Engine:
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1193 -    Armory Version        : 0.93.3
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1194 -    Armory Build:         : None
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1195 -    PyBtcWallet  Version  : 1.35
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1196 - Detected Operating system: Linux
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1197 -    OS Variant            : --
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1198 -    User home-directory   : /home/USERSAYSHELLO
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1199 -    Satoshi BTC directory : /home/USERSAYSHELLO/.bitcoin/
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1200 -    Armory home dir       : /home/USERSAYSHELLO/.armory/
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1201 - Detected System Specs    :
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1202 -    Total Available RAM   : 7.77 GB
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1203 -    CPU ID string         : Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1204 -    Number of CPU cores   : 4 cores
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1205 -    System is 64-bit      : True
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1206 -    Preferred Encoding    : UTF-8
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1207 -    Machine Arch          : x86_64
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1208 -    Available HDD (ARM)   : 17 GB
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1209 -    Available HDD (BTC)   : 169 GB
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1210 -
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1211 - Network Name: Main Network
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1212 - Satoshi Port: putsatoshiporthere
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1213 - Do wlt check: True
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1214 - Named options/arguments to armoryengine.py:
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     nettimeout      : 2
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     rescan          : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     ignoreAllZC     : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     enableSupernode : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     disableModules  : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     port            : None
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     interport       : antotherport?
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     skipStatsReport : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     forceWalletCheck: False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     rebuild         : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     datadir         : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     clearMempool    : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     offline         : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     coverageOutputDir: None
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     armoryDBDir     : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     satoshiPort     : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     useTorSettings  : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     netlog          : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     keypool         : 100
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     coverageInclude : None
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     forceOnline     : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     skipAnnounceCheck: False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     redownload      : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     multisigFile    : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     disableTorrent  : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     testAnnounceCode: False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     mtdebug         : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     logDisable      : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     settingsPath    : /home/USERSAYSHELLO/.armory/ArmorySettings.txt
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     verbosity       : None
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     doDebug         : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     enableDetSign   : True
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     testnet         : False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     rpcport         : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     satoshiHome     : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     satoshiRpcport  : DEFAULT
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     logFile         : /home/USERSAYSHELLO/.armory/ArmoryQt.py.log.txt
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1216 -     disableConfPermis: False
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1217 - Other arguments:
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1220 - ************************************************************
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:1620 - C++ block utilities loaded successfully
2016-03-09 08:16 (INFO) -- BDM.py:418 - Using the asynchronous/multi-threaded BlockDataManager.
2016-03-09 08:16 (INFO) -- BDM.py:419 - Blockchain operations will happen in the background.  
2016-03-09 08:16 (INFO) -- BDM.py:420 - Devs: check TheBDM.getState() before asking for data.
2016-03-09 08:16 (INFO) -- BDM.py:421 - Registering addresses during rescans will queue them for
2016-03-09 08:16 (INFO) -- BDM.py:422 - inclusion after the current scan is completed.
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:3531 - Using settings file: /home/USERSAYSHELLO/.armory/ArmorySettings.txt
2016-03-09 08:16 (INFO) -- announcefetch.py:95 - Reading files in fetcher directory:
2016-03-09 08:16 (INFO) -- announcefetch.py:104 -    announce         : a1bbed1ad09ee4f92bd82b4f558d4a7e59e2b5eb9fac0055876c5e568c853afe
2016-03-09 08:16 (INFO) -- announcefetch.py:104 -    downloads        : 28efee8047ee0a2c26ac9f785d93566fb5a45c20a794da6f972aa48db50ec35a
2016-03-09 08:16 (INFO) -- announcefetch.py:104 -    bootstrap        : b62c08932668ce162d51226135940724e90f4c71704ac936f74cc153b34cc251
2016-03-09 08:16 (INFO) -- announcefetch.py:104 -    notify           : 87fa1adcd555be83a71b4f5935a6d4f85178ccbf5043531fdd71432b57d127ca
2016-03-09 08:16 (INFO) -- announcefetch.py:104 -    changelog        : 1c01304b876de3e75672c8b13d9a00157556b86612afac1c88ffc40a8d7dfb90
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2736 - loadWalletsAndSettings
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2790 - Loading wallets...
2016-03-09 08:16 (WARNING) -- ArmoryQt.py:2816 - ***WARNING: Duplicate wallet detected, walletID
2016-03-09 08:16 (WARNING) -- ArmoryQt.py:2826 - Second wallet is more useful than the first one...
2016-03-09 08:16 (WARNING) -- ArmoryQt.py:2827 -      Wallet 1 (skipped): /home/USERSAYSHELLO/.armory/armory_walletID__WatchOnly.wallet
2016-03-09 08:16 (WARNING) -- ArmoryQt.py:2828 -      Wallet 2 (loaded):  /home/USERSAYSHELLO/.armory/armory_walletID_.wallet
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2849 - Number of wallets read in: 1
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2854 -    Wallet (walletID,hehe):   "Wallet                          "   (Encrypted)
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2298 - Setting up networking...
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2327 - Internet status: 2
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2525 - loadBlockchainIfNecessary
2016-03-09 08:16 (INFO) -- ArmoryQt.py:2546 - Setting netmode: 1
2016-03-09 08:16 (INFO) -- ArmoryQt.py:1514 - setupUriRegistration
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:600 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:600 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin
2016-03-09 08:16 (INFO) -- ArmoryUtils.py:600 - Executing popen: find /home/USERSAYSHELLO -type f -name "mimeTypes.rdf"
2016-03-09 08:16 (INFO) -- ArmoryQt.py:664 - Usermode: Standard
2016-03-09 08:16 (INFO) -- ArmoryQt.py:1810 - Changing usermode:
2016-03-09 08:16 (INFO) -- ArmoryQt.py:1811 -    From: Standard
2016-03-09 08:16 (INFO) -- ArmoryQt.py:1819 -      To: Standard
2016-03-09 08:16 (INFO) -- ArmoryQt.py:6010 - Dashboard switched to "Scanning" mode
2016-03-09 08:16 (INFO) -- Networking.py:65 - Connection initiated.  Start handshake
2016-03-09 08:16 (INFO) -- ArmoryQt.py:6010 - Dashboard switched to "Scanning" mode
2016-03-09 08:16 (INFO) -- Networking.py:156 - Received version message from peer:
2016-03-09 08:16 (INFO) -- Networking.py:157 -    Version:     70012
2016-03-09 08:16 (INFO) -- Networking.py:158 -    SubVersion:  /Satoshi:0.12.0/
2016-03-09 08:16 (INFO) -- Networking.py:159 -    TimeStamp:   1457529367
2016-03-09 08:16 (INFO) -- Networking.py:160 -    StartHeight: 401870
2016-03-09 08:16 (INFO) -- Networking.py:350 - Handshake finished, connection open!

Quote
-INFO  - 1457490239: (BlockUtils.cpp:918) blkfile dir: /home/USERSAYSHELLO/.bitcoin/blocks
-INFO  - 1457490239: (BlockUtils.cpp:919) lmdb dir: /home/USERSAYSHELLO/.armory/databases
-INFO  - 1457490239: (lmdb_wrapper.cpp:478) Opening databases...
-INFO  - 1457490240: (BlockUtils.cpp:1250) Executing: doInitialSyncOnLoad
-INFO  - 1457490240: (BlockUtils.cpp:1321) Total number of blk*.dat files: 465
-INFO  - 1457490240: (BlockUtils.cpp:1322) Total blockchain bytes: 62,287,983,238
-INFO  - 1457490240: (BlockUtils.cpp:1695) Reading headers from db
-INFO  - 1457490246: (BlockUtils.cpp:1721) Found 401772 headers in db
-DEBUG - 1457490246: (Blockchain.cpp:211) Organizing chain w/ rebuild
-WARN  - 1457494242: (BlockUtils.cpp:1351) --- Fetching SSH summaries for 106 registered addresses
-ERROR - 1457494250: (BlockUtils.cpp:639) Next block header found at offset 8916024
-WARN  - 1457494252: (BlockUtils.cpp:246) Couldn't find top block hash in last seen blk file. Searching for it further down the chain
-ERROR - 1457494252: (BlockUtils.cpp:639) Next block header found at offset 8916024
-ERROR - 1457494660: (BlockUtils.cpp:639) Next block header found at offset 40761367
-ERROR - 1457494663: (BlockUtils.cpp:639) Next block header found at offset 132797432
-ERROR - 1457494665: (BlockUtils.cpp:639) Next block header found at offset 133943175
-ERROR - 1457494842: (BlockUtils.cpp:639) Next block header found at offset 8916024
-WARN  - 1457494842: (BlockUtils.cpp:304) Inconsistent headers DB, attempting repairs
-INFO  - 1457494842: (BlockUtils.cpp:1364) Left off at file 0, offset 0
-INFO  - 1457494842: (BlockUtils.cpp:1367) Reading headers and building chain...
-INFO  - 1457494842: (BlockUtils.cpp:1368) Starting at block file 0 offset 0
-INFO  - 1457494842: (BlockUtils.cpp:1370) Block height 322367
-ERROR - 1457495410: (BlockUtils.cpp:639) Next block header found at offset 25210158
-ERROR - 1457495616: (BlockUtils.cpp:639) Next block header found at offset 133943175
-ERROR - 1457495617: (BlockUtils.cpp:639) Next block header found at offset 132797432
-ERROR - 1457495618: (BlockUtils.cpp:639) Next block header found at offset 40761367
-ERROR - 1457495979: (BlockUtils.cpp:639) Next block header found at offset 8916024
-DEBUG - 1457495979: (Blockchain.cpp:211) Organizing chain w/ rebuild
-INFO  - 1457499116: (BlockUtils.cpp:1405) Looking for first unrecognized block
-INFO  - 1457499134: (BlockUtils.cpp:1556) Loading block data... file 0 offset 0
-INFO  - 1457502310: (BlockUtils.cpp:589) Reading raw blocks finished at file 286 offset 134208565
(goes on for a while on reading raw blocks)
-ERROR - 1457502313: (BlockUtils.cpp:561) Next block header found at offset 133943175
-INFO  - 1457502313: (BlockUtils.cpp:589) Reading raw blocks finished at file 287 offset 134193060
-ERROR - 1457502315: (BlockUtils.cpp:561) Next block header found at offset 132797432
-INFO  - 1457502315: (BlockUtils.cpp:589) Reading raw blocks finished at file 288 offset 134027960
-ERROR - 1457502316: (BlockUtils.cpp:561) Next block header found at offset 40761367
-INFO  - 1457502318: (BlockUtils.cpp:589) Reading raw blocks finished at file 289 offset 133793553
(goes on for another while on reading raw blocks)
-ERROR - 1457502863: (BlockUtils.cpp:561) Next block header found at offset 8916024
-INFO  - 1457502867: (BlockUtils.cpp:589) Reading raw blocks finished at file 464 offset 131945882
-INFO  - 1457502867: (BlockUtils.cpp:1422) Wrote blocks to DB in 3733s
-INFO  - 1457502867: (BlockUtils.cpp:1439) Checking dupIDs from 322366 onward
-WARN  - 1457502867: (BlockUtils.cpp:1140) Scanning from 0 to 322367
-ERROR - 1457502867: (BlockWriteBatcher.cpp:279) Dup requested is not the main branch for the given height!
-WARN  - 1457502869: (BlockWriteBatcher.cpp:1133) Finished applying blocks up to 2500
(repeats for a while of blocks being applied
-INFO  - 1457503845: (BlockUtils.cpp:1518) Scanned Block range in 850.407s
-INFO  - 1457503845: (BlockUtils.cpp:1521) Finished loading at file 464, offset 131945882
-INFO  - 1457503845: (BlockDataViewer.cpp:157) Enabling zero-conf tracking
-DEBUG - 1457503846: (Blockchain.cpp:211) Organizing chain

Any help would be wonderful!

Thanks!
Havilly
1714932989
Hero Member
*
Offline Offline

Posts: 1714932989

View Profile Personal Message (Offline)

Ignore
1714932989
Reply with quote  #2

1714932989
Report to moderator
1714932989
Hero Member
*
Offline Offline

Posts: 1714932989

View Profile Personal Message (Offline)

Ignore
1714932989
Reply with quote  #2

1714932989
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714932989
Hero Member
*
Offline Offline

Posts: 1714932989

View Profile Personal Message (Offline)

Ignore
1714932989
Reply with quote  #2

1714932989
Report to moderator
1714932989
Hero Member
*
Offline Offline

Posts: 1714932989

View Profile Personal Message (Offline)

Ignore
1714932989
Reply with quote  #2

1714932989
Report to moderator
1714932989
Hero Member
*
Offline Offline

Posts: 1714932989

View Profile Personal Message (Offline)

Ignore
1714932989
Reply with quote  #2

1714932989
Report to moderator
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
March 09, 2016, 08:02:34 PM
 #2

Try the testing builds for 0.94

Havilly1960 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 10, 2016, 03:40:25 AM
 #3

Try the testing builds for 0.94

Got it up and running. Very nice indeed! Took only an hour-ish to get the database up and running and now starting-up is a breeze. Ahhhh progress! Thank you much goatpig!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!