Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 01:51:25 PM |
|
Hi, As you can see in the screenshot below I'm running v0.8.5 in Windows 8.1 Enterprise I did hard shutdown yesterday while the bitcoin-qt was running and I released that I've some database corruption or something How can I solve this please ? Thank you.
|
|
|
|
Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 05:35:04 PM |
|
Is it that hard ?
|
|
|
|
Raoul Duke
aka psy
Legendary
Offline
Activity: 1358
Merit: 1002
|
|
October 25, 2013, 05:44:27 PM |
|
Start it from the command line with the -reindex flag.
|
|
|
|
Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 05:45:32 PM |
|
Could you please guide me how to do this, as I can't figure how to work with command lines.
Thank you
|
|
|
|
Raoul Duke
aka psy
Legendary
Offline
Activity: 1358
Merit: 1002
|
|
October 25, 2013, 05:48:35 PM |
|
I don't use windows, sorry, I don't know.
|
|
|
|
dserrano5
Legendary
Offline
Activity: 1974
Merit: 1029
|
|
October 25, 2013, 07:14:42 PM |
|
Could you please guide me how to do this, as I can't figure how to work with command lines.
Is it that hard? (sorry couldn't resist)
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
|
October 25, 2013, 07:14:59 PM Last edit: October 25, 2013, 07:53:15 PM by grue |
|
Could you please guide me how to do this, as I can't figure how to work with command lines.
Thank you
1. go to the folder where bitcoin is installed 2. shift + right-click -> open command window here 3. type "bitcoin-qt -reindex" into the command window (without quotes) and hit enter 4. wait for bitcoin to rescan. this may take 30 minutes. edit: correction by Raoul Duke
|
|
|
|
Raoul Duke
aka psy
Legendary
Offline
Activity: 1358
Merit: 1002
|
|
October 25, 2013, 07:34:50 PM |
|
Could you please guide me how to do this, as I can't figure how to work with command lines.
Thank you
1. go to the folder where bitcoin is installed 2. shift + right-click -> open command window here 3. type "bitcoin-qt -rescan" into the command window (without quotes) and hit enter 4. wait for bitcoin to rescan. this may take 30 minutes. The command is -reindex, not -rescan. -reindex is a full replay of the blockchain. It will take longer than 30min.
|
|
|
|
Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 08:03:44 PM |
|
Well,
It was "reindexing" successfully, but now, it's downloading or "syncing" with the network.
Is this because it's downloading the remaining chain blocks as I've also deleted blk00000 and blk00001 files OR there is something wrong happening ?
The file size of C:\Users\Hesham_3del\AppData\Roaming\Bitcoin is 7.84 GB, so any comments about the file size ?
The bitcoin-qt is syncing now at 124 weeks behind
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
|
October 25, 2013, 08:14:19 PM |
|
Is this because it's downloading the remaining chain blocks
yes. the blockchain is currently 12.8 gb.
|
|
|
|
Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 08:39:32 PM |
|
Thanks.
So if I'm not mistaken, sometimes it will "sync" and sometimes it will "reindex", am I right ?
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
|
October 25, 2013, 08:44:38 PM |
|
Thanks.
So if I'm not mistaken, sometimes it will "sync" and sometimes it will "reindex", am I right ?
reindex only occurs if the stored data is corrupt.
|
|
|
|
Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 08:49:53 PM |
|
- I don't think that with 120 weeks behind and I was at 24 weeks behind that it will still download that from the beginning and I'm at 7.88 GB, did you got my point ? - Another question, if you don't mind , if I'm going to format my PC, what is the CORRECT way to have a backup of the chain blocks ? As it's impossible everytime I'm going to download 12+ GB. Thank you
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
|
October 25, 2013, 09:07:46 PM |
|
- I don't think that with 120 weeks behind and I was at 24 weeks behind that it will still download that from the beginning and I'm at 7.88 GB, did you got my point ? - Another question, if you don't mind , if I'm going to format my PC, what is the CORRECT way to have a backup of the chain blocks ? As it's impossible everytime I'm going to download 12+ GB. Thank you copy these folders: %appdata%\Bitcoin\blocks %appdata%\Bitcoin\chainstate %appdata%\Bitcoin\database after you restore the folders, run "bitcoin-qt.exe -rescan"
|
|
|
|
Hesham_3del (OP)
Member
Offline
Activity: 69
Merit: 10
|
|
October 25, 2013, 09:35:16 PM |
|
Thank you, what about my 1st question, forgive me but I'm afraid and this is time-consuming.
"- I don't think that with 120 weeks behind and I was at 24 weeks behind that it will still download that from the beginning and I'm at 7.88 GB, did you got my point ?"
|
|
|
|
|
|