Bitcoin Forum
November 11, 2024, 07:17:15 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [FIXED!] Stuck building database 99% [FIXED!]  (Read 2448 times)
LeMiner (OP)
Member
**
Offline Offline

Activity: 139
Merit: 10


View Profile
June 15, 2014, 06:39:03 PM
Last edit: June 16, 2014, 11:50:43 AM by LeMiner
 #1

Hey,

So I have been attempting to build the database on this PC for a while now, have tried re-downloading the entire blockchain twice now and the database 4 times. It's stuck on 99% (1.5 minutes left). It's still hogging CPU resources like it'd still be doing something. I've checked my clock and it's properly synced.

On my other pc's it seems to work fine but this one simply cannot get it running.

I've checked the log file and it comes back with a lot of these:

Code:
-ERROR - 1402809854: (..\leveldb_wrapper.cpp:1787) Invalid txIndex at height 0 index 394
-ERROR - 1402809854: (..\leveldb_wrapper.cpp:1787) Invalid txIndex at height 0 index 351
-ERROR - 1402809855: (..\leveldb_wrapper.cpp:1787) Invalid txIndex at height 0 index 193

Any ideas? I got the full log file available if need be.

edit; Windows 8.1 64bit, 4gb of ram. Armory  0.91.2-beta
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 15, 2014, 09:44:59 PM
 #2

https://bitcoinarmory.com:8443

Make a ticket, add in your full log.

LeMiner (OP)
Member
**
Offline Offline

Activity: 139
Merit: 10


View Profile
June 16, 2014, 12:07:14 PM
 #3

Managed to fix it myself, here's what I did.


(I am not responsible for any loss of wallets, coins what so ever in any way shape or form)
(Please backup your wallets before doing any of these steps and have a paper backup)



Here's what I did to solve this;

REMOVE ARMORY
REMOVE BITCOIN-QT

After that's done go into the appdata folders of both and remove everything. (blockchain, database, everything)

REINSTALL BITCOIN-QT, do NOT start BITCOIN-QT
REINSTALL ARMORY

now,

Start Armory, do NOT create a wallet (tell it that you want to import one and it'll tell you you'll have to wait for the full syncing process)
Allow everything to sync (this can take nearly forever)
Enjoy armory

--------------

For me it had been building the database for 14 hours until it finally worked.



goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 16, 2014, 07:43:26 PM
 #4

For me it had been building the database for 14 hours until it finally worked.

Glad to hear it went well, although it wasnt database building for that long per say. Most of it was spent downloading the blockchain. Database building is around 1-2h with the current blockchain size.

LeMiner (OP)
Member
**
Offline Offline

Activity: 139
Merit: 10


View Profile
June 17, 2014, 09:52:57 AM
 #5

For me it had been building the database for 14 hours until it finally worked.

Glad to hear it went well, although it wasnt database building for that long per say. Most of it was spent downloading the blockchain. Database building is around 1-2h with the current blockchain size.

Hey mate,

Thanks for you reply, the current version of armory uses the torrent way of downloading the blockchain and it was blazing fast (was downloading around 30MB/s) for the entire blockchain. It finished downloading in around 20 minutes, then the newer part of the block chain took another 30 minutes or so. It really was just the database build that took incredibly long. And I'm still not quite sure why....
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 18, 2014, 02:22:12 AM
 #6

Are you using some really damaged HDD? Or a USB 2.0 external drive? Maybe a network drive over a 100BASE-T? It sounds painfully slow and nothing close to what I have experienced. I built Armory's DB in 4-5 hours on an old HDD (160GB sata 1) a couple months ago. Takes shy of 1h30 on my SSD RAID0 currently.

varChar
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
June 29, 2014, 11:31:33 AM
 #7

Make sure that your clock (down right corner) is synced with internet.
Right click -> adjust date and time -> Internet time -> Change settings -> Update now
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!