Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: canyalos1 on April 07, 2021, 12:09:52 PM



Title: I need help, core app crashed
Post by: canyalos1 on April 07, 2021, 12:09:52 PM
Hi, I try to install bitcoin core to my windows computer.  I install core to external disk. When installation %99.01 I accidently put out external and directly put on but app was closed. After that when ı try to open app I got error message.

Error opening block database, do you want to rebuild the block database now ( Ok / Abort )


I am waiting about of 10 days to install core. I dont want to wait again . I want to know.  İs there have any solution to continue from 99.01 ?

I really need help, thank you all..


Title: Re: I need help, core app crashed
Post by: 20kevin20 on April 07, 2021, 12:26:36 PM
It probably got corrupted. There might be a way to solve this depending on what the log file says, do you see any errors in the debug.log file (should be in the bitcoin data directory)?


Title: Re: I need help, core app crashed
Post by: HCP on April 07, 2021, 07:07:03 PM
"rebuilding" the block database will not necessarily redownload everything... it will start by processing the block data you already have on disk until it finds an invalid/corrupt block... and then it will continue to "sync" from that point (downloading/processing blocks as "normal").

If you're lucky, the corrupted block file(s) will be one of the most recent file that was being written to when you disconnected the drive, so it should reindex using mostly just the data you already have on disk.

If you restart Bitcoin Core and then click "OK" on the "rebuild the block database" prompt, it should reindex automatically. Alternatively, you can start Bitcoin Core with the -reindex commandline argument and it will begin the reindex without the prompt.



Title: Re: I need help, core app crashed
Post by: nc50lc on April 09, 2021, 02:31:30 AM
I am waiting about of 10 days to install core. I dont want to wait again . I want to know.  İs there have any solution to continue from 99.01 ?
Rebuilding the database wont take that long and wont cost you any bandwidth.
At worst it'd take about a day or hours to complete depending on your hardware, you should also consider increasing your "dbcache" setting to speed up the verification.
Before starting Bitcoin core: find/create a bitcoin.conf file in the default data directory (https://en.bitcoinwiki.org/wiki/Data_directory#Default_Location) and add a line dbcache=size
(size = depending on how much RAM you're willing to spare).


Title: Re: I need help, core app crashed
Post by: canyalos1 on April 10, 2021, 10:42:11 AM
Thanks for all. I already solved my problem.