My Bitcoin node will be completely synched and lightning node working fine and then it will hang and then when I log back in and look at bitcoin node, it has to re synch from 3 days ago. Doesn’t make any sense. It’s happening over and over again and my channel partners are bummed that my lightning node seems to be offline so much. Any ideas?
Have you ever followed these steps before? As you may have forgot to finish the last part.
You may see an error in your log that looks like this:
LevelDB read failure: Corruption: block checksum mismatch: /data/.bitcoin/chainstate/1066593.ldb
*The digits may be different, or there may be another issue requesting you to reindex.
Resolving a corrupted blockchain is a time-consuming process. Depending on the size of the blockchain and the speed of your device, this process can take several days. It is important to be patient and not interrupt the process, as interrupting it may result in needing to restart the process from the beginning.
Connect to your Umbrel device by following the instructions in
How to SSH into umbrelOS on Umbrel Home or Rasberry Pi or by accessing a terminal on your Linux machine. Run the following command to open bitcoin.conf in a nano text editor. If you are on a Linux machine, you may need to replace
~/umbrel with the path to your installation directory, as described in
Troubleshooting on Linux:
sudo nano ~/umbrel/app-data/bitcoin/data/bitcoin/bitcoin.conf
Add the following line to the file:
Save and exit the file by pressing
Y, and then
Restart your Bitcoin node by running the following command:
sudo ~/umbrel/scripts/app restart bitcoin
Your Bitcoin node will now start the process of reindexing. You can monitor the reindexing progress of your node by accessing your Bitcoin Node app through the browser.
After your node is fully synced, follow the same steps to remove
reindex=1 from the
bitcoin.conf file and restart your Bitcoin Node. If you do not do this, then the lengthy process of reindexing will occur again the next time your node restarts.
Note: It may also take some time for dependant apps like Electrs to resume functioning after the reindex is the complete.
Otherwise, what SSD/HDD are you using?
Thanks I’ll investigate that. In the meantime, I deleted Tailscale and it seems to have resolved the issue. I did notice that whenever I started a new Tailscale session this issue would happen. Does that ring a bell?
Interesting, no haven’t seen Tailscale link to this kind of issue before.
Otherwise I should have mentioned before
~/umbrel/scripts/app compose bitcoin logs --tail 250
are great ways to try investigate these kind of issues too.