[bug]: Waiting Close Channel - ChansStatusDataLoss #7187
Replies: 5 comments 14 replies
-
It sounds to me like the power outage caused data corruption in the channel DB and lnd noticed on startup that its commitment height didn't match the remote node's height and went into safe mode for that channel (
The above should ask the remote node to force close the channel from their end. But in cases with data corruption to the channel.DB I recommend to start with a fresh DB just to make sure there aren't other areas affected. If you decide to go with that option, you can simplify the steps somehow. Just close all normally operating channels cooperatively (that should save on fees compared to using the backup), then stop lnd and remove the |
Beta Was this translation helpful? Give feedback.
-
I'm also going to convert this to a discussion as this is the current expected behavior of |
Beta Was this translation helpful? Give feedback.
-
Hello Guggero, I had my password here reset... I sent you some tweets asking for help... That same situation has hapenned to my node, Had a surge, channel.db corrupt, deleted channel.db broght lnd back up, used lncli restorechanbackup and managed to get funds back from all channels except one that's with bcash_is_trash node. I tried this: And I got: [lncli] unable to restore chan backups: rpc error: code = Unknown desc = unable to unpack single backups: could not derive private key for legacy channel revocation root format: unable to derive private key Can you help me with that? |
Beta Was this translation helpful? Give feedback.
-
I was trying to get the a close channel signal on bcash side, because on their end I still show as active node since i'm getting forward reports on LNDg, I sent them a message through lightningnetworkplus website, but Idk if they are ever going to read it... |
Beta Was this translation helpful? Give feedback.
-
I got it, ok. My last dumb question: Just as soon as CLN updates, should I use the whole multichan backup (and close all the channels again) or there is a way to retrieve just bcash (CLN) channel from the multifile and initiate the recover from there? Because I didnt backup single channel file just for bcash then! |
Beta Was this translation helpful? Give feedback.
-
Background
it happened that there was a power failure and subsequently it appeared that there was a "waiting close channel". The node is synchronized and I tried to perform the forced closure command as read in other posts:
lncli closechannel – force “channel_points” 1
but the following message appears
rpc error appears: code = Unknown desc = cannot close channel with state: ChanStatusLocalDataLoss
Other user resolved by contacting the other node forcing closure. In this case the node is Kraken, and I imagine it is not easy to contact and solve the issue. I wonder if there is a software solution to solve the problem?
Thanks for your advices
Your environment
Umbrel Version 0.5.3 on a Raspberry 4b 8GB HDD 2TB.
Steps to reproduce
lncli closechannel – force “channel_points” 1
Expected behaviour
closure of channel
Actual behaviour
rpc error appears: code = Unknown desc = cannot close channel with state: ChanStatusLocalDataLoss
Beta Was this translation helpful? Give feedback.
All reactions