I’m stuck here - Bitcoin node was running perfectly fine. I stopped checking on it for a couple of weeks and when I logged back into Umbrel, the node was not loading any new information.
I’ve pulled my nodes error logs and I’m attaching here for help.
Really appreciate if anyone could help out with this one!
Logs attached.
umbrel_bitcoin_2024-07-25_15-53.log (28.3 KB)
1 Like
How long did you wait? Looks like it’s still in progress…
Did you try to restart it?
Then also look at the full bitcoin log:
Logs for bitcoind:
less +G /data/umbrel-os/home/umbrel/umbrel/app-data/bitcoin/data/bitcoin/debug.log
And also, what exactly are you trying to do that doesn’t work? What’s the error message you get? Did you make any changes to the system recently?
Are you using HDD or SSD?
I’ve waited quite a while, the node just stays on “Starting” and I’m not able to see values propagate in the Mempool, see the latest blocks, or anything, it’s just blank.
I have tried restarting it, still looks the same.
The only thing that I can think of that happened somewhat recently is that the power went out. I thought it would spin back up like normal after the power went out so I didn’t bother checking on it. I checked on it today and the Bitcoin Node app isn’t loading any of the usual info.
I’m using an SSD.
Ok, I input that command in my Umbrel terminal, is there anything I should be looking for in specific? I don’t know how to extract the output and share here.
You can upload the log file here and we’ll take a look at it.
Ok. I tried to do some more research and someone in the Discord suggested to try deleting the peers.dat file as it’s likely corrupted.
I did that and reset restarted Umbrel and now Umbrel is endlessly loading…
Unsure where it go from here
Ok, after endless loading, I did a hard shut off by removing power. Back at square one with the Bitcoin Node at “Starting” even after deleting the file but I can at least access the Umbrel UI again.
Here is the logs from debug.log after Umbrel is back up and post deletion of peers.dat
/chainstate
2024-07-26T01:13:51Z Opened LevelDB successfully
2024-07-26T01:13:51Z Using obfuscation key for /data/.bitcoin/chainstate: e12b0d678b531df5
2024-07-26T01:13:51Z [Chainstate [ibd] @ height 852964 (00000000000000000000894abc030e80efb129f515d192c394ade9a791fc0cb2
)] resized coinsdb cache to 8.0 MiB
2024-07-26T01:13:51Z [Chainstate [ibd] @ height 852964 (00000000000000000000894abc030e80efb129f515d192c394ade9a791fc0cb2
)] resized coinstip cache to 318.9 MiB
2024-07-26T01:13:51Z init message: Verifying blocks…
2024-07-26T01:13:51Z Verifying last 6 blocks at level 3
2024-07-26T01:13:51Z Verification progress: 0%
2024-07-26T01:13:56Z Verification progress: 16%
2024-07-26T01:14:00Z Verification progress: 33%
2024-07-26T01:14:03Z Verification progress: 50%
2024-07-26T01:14:09Z Verification progress: 66%
2024-07-26T01:14:16Z Verification progress: 83%
2024-07-26T01:14:27Z Verification progress: 99%
2024-07-26T01:14:27Z Verification: No coin database inconsistencies in last 6 blocks (21418 transactions)
2024-07-26T01:14:27Z block index 43362ms
2024-07-26T01:14:27Z Opening LevelDB in /data/.bitcoin/indexes/txindex
2024-07-26T01:14:27Z Opened LevelDB successfully
2024-07-26T01:14:27Z Using obfuscation key for /data/.bitcoin/indexes/txindex: 0000000000000000
2024-07-26T01:14:27Z Opening LevelDB in /data/.bitcoin/indexes/blockfilter/basic/db
2024-07-26T01:14:27Z Opened LevelDB successfully
2024-07-26T01:14:27Z Using obfuscation key for /data/.bitcoin/indexes/blockfilter/basic/db: 0000000000000000
2024-07-26T01:14:27Z Error: txindex: best block of the index not found. Please rebuild the index.
2024-07-26T01:14:27Z Shutdown: In progress…
2024-07-26T01:14:27Z scheduler thread exit
2024-07-26T01:14:28Z Flushed fee estimates to fee_estimates.dat.
2024-07-26T01:14:29Z Shutdown: done
As an update here, I’ve just gone ahead and reflashed the microSD and reformatted SSD. I’m now just re-downloading the Blockchain.
Thank you for your help. I’ll try to become more technical to be able to debug this in the future.
1 Like
I’ve personally ran into dozens of issues with bitcoind that just make it rather “unstable” imo it’s not proper “server” software, in that it requires intense admin oversight. But it seems to be the best option out there so far.
That being said I have had to remove the chain state and re-download many times. This community seems to have a lot of information to learn from in regards to btc/lightning issues.