Bitcoin Forum
September 08, 2024, 04:20:58 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Fatal Error When Downloading BTC Block Chain (Help Needed)  (Read 123 times)
Mists (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 10


View Profile
August 19, 2024, 08:54:13 PM
Merited by vapourminer (1), ABCbits (1)
 #1

Bitcoin Core 27.1 (linux tgz 64bit)
Linux Mint Cinnamon 22
Intel Core i5-7300U CPU @ 2.60GHz × 2, memory 15.5 GiB, Hardrive 512.5GB (plus external samsung T7 SSD for Bitcoin core installation).
The BTC core GUI threw up a fatal error with roughly 7hrs of DL left of the block chain! Plus my external SSD was no longer visible on the computer (so I yanked it out and re-connected and then it became visible again).
Beginning of debug.log: https://pastebin.com/Zg8ZCDQ6

FYI: I am a novice at Linux and a journeyman at best with IT  Grin
Thanks
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3486
Merit: 6824


Just writing some code


View Profile WWW
August 19, 2024, 09:10:51 PM
Merited by LoyceV (8), ABCbits (2), vapourminer (1), DireWolfM14 (1)
 #2

USB is not always reliable. The error likely occurred when the drive could no longer be reached.

Mists (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 10


View Profile
August 19, 2024, 09:15:54 PM
 #3

Thanks for the quick reply! Do I just relaunch btc core and start again then? Or could it be that I can pick up the dl where it left off? Not sure how to proceed…
DireWolfM14
Copper Member
Legendary
*
Online Online

Activity: 2282
Merit: 4415


Join the world-leading crypto sportsbook NOW!


View Profile WWW
August 19, 2024, 09:33:37 PM
Merited by vapourminer (1)
 #4

As long as the most recent block didn't get corrupted it should pick up where it left off.  If it doesn't work you can try deleting the most recent block and chainstate (.ldb) files, and it should be able to recover after that.

The files are most likely in the directory paths below:

/home/<USER>/.bitcoin/blocks/
/home/<USER>/.bitcoin/chainstate/

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
Mists (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 10


View Profile
August 19, 2024, 09:37:33 PM
Merited by philipma1957 (1)
 #5

Thanks very much, when I saw the word “fatal” I feared the worst. But I will try your suggested actions and report back.
philipma1957
Legendary
*
Offline Offline

Activity: 4242
Merit: 8482


'The right to privacy matters'


View Profile WWW
August 19, 2024, 11:30:58 PM
 #6

Thanks very much, when I saw the word “fatal” I feared the worst. But I will try your suggested actions and report back.

Follow up and let us know please.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
LoyceV
Legendary
*
Offline Offline

Activity: 3430
Merit: 17343


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 20, 2024, 06:26:31 AM
 #7

USB is not always reliable.
I only recently found out there's a huge difference in cables used: I have some old external drives that already disconnect when I look at them, and I have other drives that work totally fine.
But still, I wouldn't use an external disk for continuous reading and writing. If at all possible, OP should install an internal disk.

nc50lc
Legendary
*
Offline Offline

Activity: 2534
Merit: 6030


Self-proclaimed Genius


View Profile
August 20, 2024, 06:38:02 AM
Merited by vapourminer (1)
 #8

(so I yanked it out and re-connected and then it became visible again)
Quote from: Mists
Not sure how to proceed…
First step should be: replace the USB Cable and/or USB port. If it happened once, it may happen again.
Frequent unexpected removal of your external drive could cause data corruption at some point.

(LoyceV beats me to it, about the cable)

Or could it be that I can pick up the dl where it left off?
It will, but if there's a corruption, Bitcoin Core will detect it and will suggest you to reindex which wont be as slow as IBD.

It's a good thing that your blockchain isn't "pruned":
Code:
2024-08-18T19:02:25Z Setting NODE_NETWORK on non-prune mode
Otherwise, a corrupted chainstate or block will require you to start from scratch.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Mists (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 10


View Profile
August 21, 2024, 04:33:20 AM
Merited by LoyceV (4), vapourminer (1), ABCbits (1), nc50lc (1)
 #9

Thanks all for the advice. I really appreciate all your responses. I'm kind of committed at this point to the external SSD but I will make it a priority to upgrade in the future. So the problem did repeat itself a few more times (luckily there was no corruption), but i have now managed to DL the chain and BTC core is running happily at the moment. The issue may have been (bear in mind I'm no expert) that the USBC connection was letting me down thanks to the UAS protocol... because when I switched to a old style USB connection the rest of the DL went fine and my node is running fine at the moment. I wonder if the heightened demand of the DL also played a part? Suffice to say that using an external drive may be more trouble than its worth.
odolvlobo
Legendary
*
Offline Offline

Activity: 4424
Merit: 3326



View Profile
August 26, 2024, 10:10:45 AM
Merited by vapourminer (1)
 #10

Another possibility is insufficient power. As an example, I learned the hard way that a RPi 4 is not able to power 2 Samsung T7s. To fix the problem, I had to get a powered USB hub.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
LoyceV
Legendary
*
Offline Offline

Activity: 3430
Merit: 17343


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 26, 2024, 10:33:11 AM
Merited by vapourminer (1)
 #11

Another possibility is insufficient power. As an example, I learned the hard way that a RPi 4 is not able to power 2 Samsung T7s. To fix the problem, I had to get a powered USB hub.
USB sometimes just doesn't make sense: I have old HDD cases that have a very hard time getting the disk spinning, and when I put the same disk in a new case it works just fine (on the same USB port's power).

I'm kind of committed at this point to the external SSD but I will make it a priority to upgrade in the future.
I've used external drives when dealing with Fork claiming. Let me put it this way: I'd rather prune the blockchain than running it from an external disk long-term.

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!