Oddbean new post about | logout
 Anyone know where to start on troubleshooting... I had to turn off my node. I think I shut it down properly but when I turned it back on, the bitcoin node connects fine but lightning node shows no lightning balance. My channels seem to be there but they don't look to be connected? 
 How long ago? It will take a little longer for the lightning node to reconnect. 
 I had it sat there for the day and none connected. 😭 
 It’s taken mine multiple days in the past. First the bitcoin node connects and has to sync rhe blockchain. Then the lightning node has to sync to the bitcoin node, then the lightning node needs to connect to peers, then the channels connect.

I might be wrong but that was my non technical pleb point of view of why it took so long 
 Hrmm makes sense. I've had it on for a day and the bitcoin node is connected. Now that you mention it, when I first looked after a couple hrs I had no peers. Looking at it 30 min ago I realize now that my peers were all there, just not connected. 

Of course I rebooted my node OS (not the machine) right before I made the note. I prob have to start the process over... doh! Maybe I just need more patience.  
 Well it won’t have to “start over” in that it’s already caught up on a lot of the chain but yah, give it more patience. Check back in 3-4days to see if you’re still having issues. In the meantime you might need to use a custodial or other solution for transactions. 
 Yeah I think I just need more patience. I just realized that it's running on ancient onboard wifi from like 2010. I might not have plugged in the ethernet 🙈 
 Yup, give it more time - I just went through this same scary scenario with MyNode. Stressed for a day - moved on to another project and couple days later it was fine.  
 What typically happens is that the bitcoin node needs to catch up on all the transactions before the lightning node comes online. 
 I think the bitcoin side is all synced and running. But I also didn't look closely, but I'm sure it's fine... right?! In any case it had only been offline for maybe 5 hrs and I have had the node back up and running for at least a day.

In any case,I rebooted the software not too long ago... so I'll check back shortly... 
 Worse case scenario, you can recover with seed. I did that with my umbrel. You will be fine. 
 Oh speaking of... I've got another node that I can't access. Umbrel won't start because I can't get it to sync. All the channels have been closed except one according to amboss. I know I can recover onchain funds w seed but what to do abt the lightning channel? How do I force it to close so the funds return onchain, it without being able to access the node? Let's assume the channel partner is also mia...? 
 See this: https://docs.lightning.engineering/lightning-network-tools/lnd/disaster-recovery

 
 Thanks! Sounds like invoking scb is the way to go for me. I meant to wipe that drive and start over with start9 anyways 
 you are still dealing with this node?! sorry to hear. 🫂  
 you are still dealing with this node?! sorry to hear. 🫂  
 Yeah... it's ok. By "dealing with it" it's more like 99% given up on it and have been simply ignoring it and my problems lol 
 What happens if you sync a new node and tried to recover with the seed? 
 Check if your bitcoin node is fully synched. Then check status for your lnd. 

> lncli getinfo

Look at the values for synced_to_chain and synced_to_graph 
 Thanks ill try that. 

At a glance the bitcoin node seemed to be fully connected and machine had been running at least a day. in the past, mynode won't start until the blockchain is synced in the first place. But idk, I only glanced at the bitcoin node...

Either way I rebooted mynode right before I made the note so I'll check on it shortly... 
 If using bitcoind, then yes, it might be going into automatic `--reindex-chainstate`  Depending on your internet connection and drive type it could take between 3 days to a month to `--reindex-chainstate` Once bitcoind is finished, then your lightning node will connect.
 
 Oh you know what.... The machine the node is running on has onboard wifi from a board that prob came out around 2010... And I just realized, I may have forgotten to plug in the ethernet. This machine is ancient, its running DDR3. Last hardware update was probably 2015.  
 Ah, yep, that machine is a bit "long in the tooth" as they say. 
 I originally built that machine in 2004. It had a floppy disk drive. I've still got that drive in a box somewhere 🤷🏻‍♂️ probably... by 2015 the only original part was the case. I figure it's survived so long, would be a shame to let it go to waste.  
 Ah, yes. It seems you have got some great work out of that box. Well, yes, as the internet gets back to full power, you might be alright.  
 Fingers crossed! 
 Also, thank you for the zap! That was very kind of you.  
 Bless you