I have a number of Online and one Offline channels on my Lightning Node, what is the best way to close these channels and return the Stats to my Lightning Node Bitcoin wallet so I can transfer BTC offline?
Any updates to this. I have a lightning channel in “Closing” status for a week now. I see all the info and my Sats in the LC, but my Lightning wallet is decreased to 0 Sats and it hasn’t showed up in my BTC wallet. I can’t do anything else to the LC either.
This one might help. Try force-closing them.
Hi Hakuna, thank you for the guide. However, I’m still unable to recover my Sats, as I’m probably not following the directions correctly I bet. Do you provide one on one assistance virtually, maybe via Google meets? I’m in U.S. Central time zone and am willing to pay 125K Sats for an hour of your time. I’ve tried Chantools and still no luck, because my peer has an onion address. Below is the output when I ran pending channels. Please advise, thank you.
umbrel@umbrel:~$ sudo ~/umbrel/scripts/app compose lightning exec lnd lncli pendingchannels
[sudo] password for umbrel:
{
“total_limbo_balance”: “0”,
“pending_open_channels”: ,
“pending_closing_channels”: ,
“pending_force_closing_channels”: ,
“waiting_close_channels”: [
{
“channel”: {
“remote_node_pub”: “02e0d304ea61db67dcee3c3c4b53b1c43e3ed0a52e369cc86fe6e3562579739aa7”,
“channel_point”: “f540a1042bbe18a00d81e58b97e80f045b34f4738b0a06f91a8334b423c36fc2:1”,
“capacity”: “5009000”,
“local_balance”: “0”,
“remote_balance”: “0”,
“local_chan_reserve_sat”: “0”,
“remote_chan_reserve_sat”: “0”,
“initiator”: “INITIATOR_LOCAL”,
“commitment_type”: “ANCHORS”,
“num_forwarding_packages”: “0”,
“chan_status_flags”: “ChanStatusRestored”,
“private”: true,
“memo”: “”
},
“limbo_balance”: “0”,
“commitments”: {
“local_txid”: “”,
“remote_txid”: “”,
“remote_pending_txid”: “”,
“local_commit_fee_sat”: “0”,
“remote_commit_fee_sat”: “0”,
“remote_pending_commit_fee_sat”: “0”
},
“closing_txid”: “”
Thank you for the offer, but I have to gently decline a meets-session.
Don’t give up, your situation is not straight forward and wouldn’t be solved by the guide apparently. Bit of an edge case. If you have Telegram, you can hook me up there, chat is fine with me.
But before, let’s get some context: Do you have any open channels remaining, or is that the only channel and you’re missing the onchain sats? If so, here is one who had the same issue.
And what happened before, did you initiate an umbrel rescue / restore? I’m not super familiar with umbrel restore, but I would assume that you initiate an SCB / umbrel restore, the channel got closed / lost the status, you already have the sats onchain, but your umbrel wallet doesn’t know about it. A rescan might help, but let’s take it step by step.
Appreciate the quick response and guidance. That was the only channel and I’m missing the onchain Sats. I already tried the steps from goliath77 a couple times and it didn’t work, actually got worse because my total_limbo_balance, local_balance, local_commit_fee_sat, and remote_commit_fee_sat all went to 0. Also, the local_txid and closing_txid disappeared and the chan_status_flags changed.
Below was the output before I deleted and reinstall the lightning app/node using the Umbrel Automatic Channel Recovery method on X. It was a unilateral force close by me because I couldn’t get it online. I’ve researched on github and here without any luck, so thanks a million for the assistance.
“total_limbo_balance”: “5005530”,
“pending_open_channels”: ,
“pending_closing_channels”: ,
“pending_force_closing_channels”: ,
“waiting_close_channels”: [
{
“channel”: {
“remote_node_pub”: “02e0d304ea61db67dcee3c3c4b53b1c43e3ed0a52e369cc86fe6e3562579739aa7”,
“channel_point”: “f540a1042bbe18a00d81e58b97e80f045b34f4738b0a06f91a8334b423c36fc2:1”,
“capacity”: “5009000”,
“local_balance”: “5005530”,
“remote_balance”: “0”,
“local_chan_reserve_sat”: “50090”,
“remote_chan_reserve_sat”: “50090”,
“initiator”: “INITIATOR_LOCAL”,
“commitment_type”: “ANCHORS”,
“num_forwarding_packages”: “0”,
“chan_status_flags”: “ChanStatusBorked|ChanStatusCommitBroadcasted|ChanStatusLocalCloseInitiator”,
“private”: false,
“memo”: “”
},
“limbo_balance”: “5005530”,
“commitments”: {
“local_txid”: “85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac”,
“remote_txid”: “0a4c9a9e083c3380132dfd1d530a0db34030f66bcc1e02d4a71a724953b9fb72”,
“remote_pending_txid”: “”,
“local_commit_fee_sat”: “2810”,
“remote_commit_fee_sat”: “2810”,
“remote_pending_commit_fee_sat”: “0”
},
“closing_txid”: “85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac”
Okay, thanks for the context. We need to dissect a couple of possibilities then. I’ll refer to the sections in The Guide where your Lightning close-transaction can’t get the channel closed what to do so probably good to have this open in a second window.
Scenario 1, I can’t find “closing_txid”: “85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac”
in mempool.space, so we can assume it was never broadcasted by your node. Presumably because a too low commitment fee when you force-closed it.
I’d assume you won’t find it in your local mempool, but let’s check, so we move over to
Solution 5:
- Let’s check if you have it in your local mempool:
~/umbrel/scripts/app compose bitcoin exec -it bitcoind bitcoin-cli getrawtransaction 85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac
- if no, let’s see if LND has it in it’s UTXO set:
~/umbrel/scripts/app compose lightning exec -it lnd lncli listchaintxns --start_height 829489 --end_height -1
- assuming it’s listed there, look for the corresponding amount of sats. You’ll have the RAWTX, a very long string, listed there. Copy it away into a notepad, it’s one long line
- we’ll ask LND to broadcast it again (mempool fees are lower), let’s see if it works:
~/umbrel/scripts/app compose lightning exec -it lnd lncli wallet publishtx RAWTX
Let’s wait a few minutes, then ask your bitcoin-cli again if your local mempool has it
~/umbrel/scripts/app compose bitcoin exec -it bitcoind bitcoin-cli getrawtransaction 85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac
- check if mempool.space has it: https://mempool.space/tx/85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac
If none of the above is true, you’ll need to repeat Solution 5, but before need to increase your local mempool. That is, because at 300MB size, it auto-purges transactions below a certain limit, and perhaps your FC commit was so low, it can’t get through.
=> Follow Solution 4 to increase your maxmempool=600
=> Repeat Steps in Solution 5
Let me know how you’ll get along with those and we can then check further.
Generally advise to follow the guide, for instance having a second Terminal window open to keep an eye on the lnd.logs while you do the above will give you much more verbosity on what’s happening.
Hope this helps and eventually already resolves your situation
My maxmempool size was already set at 1000MB before the recovery. See below screenshot, getting the same messages for both commands, don’t know why. Hopefully I’m inputting it correctly. Would the closing_txid still be there, since it disappeared after I deleted and reinstalled the lightning app/node? Thank you…
Likely I’ve made a mistake here with the command, it’s not about the transaction. Could you try the same but without the -it
flag
~/umbrel/scripts/app compose bitcoin exec bitcoind bitcoin-cli
may need to append sudo
to the start too
this or check whether your containers are running at all
sudo docker ps
and look for the container name bitcoin
Weird, it seems your LND doesn’t know about this transaction Do you have any utxo listed here?
sudo ~/umbrel/scripts/app compose lightning exec -it lnd lncli listchaintxns --end_height -1
or list allsudo ~/umbrel/scripts/app compose lightning exec -it lnd lncli listchaintxns
See below UTXO’s, I don’t see the closing_txid.
umbrel@umbrel:~$ sudo ~/umbrel/scripts/app compose lightning exec lnd lncli listchaintxns --end_height -1
[sudo] password for umbrel:
{
“transactions”: [
{
“tx_hash”: “f540a1042bbe18a00d81e58b97e80f045b34f4738b0a06f91a8334b423c36fc2”,
“amount”: “-5017968”,
“num_confirmations”: 5888,
“block_hash”: “00000000000000000000f92c5150b050d2f661597aa4f342e67f9de45a7a650a”,
“block_height”: 824257,
“time_stamp”: “1704339704”,
“total_fees”: “8968”,
“dest_addresses”: [
“bc1pw5dddzhan3rp4a7q79g4dc0qydwh4hksxazup3hvfc5gctghz3hqp3xak8”,
“bc1quq3v2attrc6k9ynzf7dkysj8djtc72kkam2quqn9gmv5hhzrx6nsfsglmw”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_WITNESS_V1_TAPROOT”,
“address”: “bc1pw5dddzhan3rp4a7q79g4dc0qydwh4hksxazup3hvfc5gctghz3hqp3xak8”,
“pk_script”: “5120751ad68afd9c461af7c0f15156e1e0235d7aded03745c0c6ec4e288c2d17146e”,
“output_index”: “0”,
“amount”: “32393”,
“is_our_address”: true
},
{
“output_type”: “SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH”,
“address”: “bc1quq3v2attrc6k9ynzf7dkysj8djtc72kkam2quqn9gmv5hhzrx6nsfsglmw”,
“pk_script”: “0020e022c5756b1e356292624f9b6242476c978f2ad6eed40e026546d94bdc4336a7”,
“output_index”: “1”,
“amount”: “5009000”,
“is_our_address”: false
}
],
“raw_tx_hex”: “02000000000104fa2294b313b548f285438edbf90d31bbb2d23444f27492c0ecadc9d50d68c52e000000000000000000d4e8711cd438ffe46972c96e775f300b9fe23b5adf7ff1d6ce2a59764bd98645010000000000000000edaae8fc7dbec1e2b0067be4ec8e61e9d68c6438c49060d335949144d56acfac000000000000000000b36f7825adcaa964ddbdbdd5b6f7cf8d5c6467a909481df91dc9cd40fb84c9fc00000000000000000002897e000000000000225120751ad68afd9c461af7c0f15156e1e0235d7aded03745c0c6ec4e288c2d17146e686e4c0000000000220020e022c5756b1e356292624f9b6242476c978f2ad6eed40e026546d94bdc4336a70247304402203497d51cd86bf0c6c23905aecb04aa54cff8b1cd2609e755b652e59e9e29f60302203a44bb32e9645b2d381341235b727393c7d84cd460bdf378dc3a6dca34f80763012103ee3a4c63424257a59fcfd2e38dde234a188feb2c670b234e65c8fc934fe113ea0247304402204dbdad462458c0bd6b70e56f235aae538bf643bb54667e8c6a3b7e7202f1ff6302207092c2b3a911eacd53d14b77ccb4df9f08ee46167d21adca0214e06b89cf544f012103cbb09f1ca9660c47d27c03c5d3362c2e22c787afd798407d465a74f7eb804376014071f4e81e9933a385d9cedb9dc29419d9f8a0a4edf11ca5af7c2a69ee1da4bdd306c95d6890865913a8b8c4c2b9dd9b141621c0d0cfd29b16002c4bdf228c394002473044022015822f2f549069d606176c23e92e1248f84a48bd3e76dff328a9b48e4cac67f70220641114004a1f5c04811e68dae197a12631e964ae88e11f38ebd6cb579dddcdfc01210215930e50be5b274eab6bdec9bae455c98a8a651d94b19d8cf5856e8a7966b2d100000000”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “2ec5680dd5c9adecc09274f24434d2b2bb310df9db8e4385f248b513b39422fa:0”,
“is_our_output”: true
},
{
“outpoint”: “4586d94b76592aced6f17fdf5a3be29f0b305f776ec97269e4ff38d41c71e8d4:1”,
“is_our_output”: true
},
{
“outpoint”: “accf6ad544919435d36090c438648cd6e9618eece47b06b0e2c1be7dfce8aaed:0”,
“is_our_output”: true
},
{
“outpoint”: “fcc984fb40cdc91df91d4809a967645c8dcff7b6d5bdbddd64a9caad25786fb3:0”,
“is_our_output”: true
}
]
},
{
“tx_hash”: “6b31d4893cd95faa88c7f74133b6db484b562b4af0a76b84551c0634dec54664”,
“amount”: “-12237”,
“num_confirmations”: 5888,
“block_hash”: “00000000000000000000f92c5150b050d2f661597aa4f342e67f9de45a7a650a”,
“block_height”: 824257,
“time_stamp”: “1704339704”,
“total_fees”: “12237”,
“dest_addresses”: [
“bc1pmfrxlzyka3e2cp33x9r8ukjcmn5hrxvvh65pcwnf22rcx8y7543qka9asa”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_WITNESS_V1_TAPROOT”,
“address”: “bc1pmfrxlzyka3e2cp33x9r8ukjcmn5hrxvvh65pcwnf22rcx8y7543qka9asa”,
“pk_script”: “5120da466f8896ec72ac063131467e5a58dce971998cbea81c3a695287831c9ea562”,
“output_index”: “0”,
“amount”: “20156”,
“is_our_address”: true
}
],
“raw_tx_hex”: “02000000000101c26fc323b434831af9060a8b73f4345b040fe8978be5810da018be2b04a140f500000000000000000001bc4e000000000000225120da466f8896ec72ac063131467e5a58dce971998cbea81c3a695287831c9ea5620140281c8696b100f8cfff889f5b7fd83b066635c1231255eeba4be96dcfbbebe8964004efd863a9a49897cdc08071c847eac8ada08993747d37f2deb0482ed59f2a5a8a0c00”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “f540a1042bbe18a00d81e58b97e80f045b34f4738b0a06f91a8334b423c36fc2:0”,
“is_our_output”: true
}
]
},
{
“tx_hash”: “fcc984fb40cdc91df91d4809a967645c8dcff7b6d5bdbddd64a9caad25786fb3”,
“amount”: “4025000”,
“num_confirmations”: 9367,
“block_hash”: “000000000000000000032c841e103b8f5d57bd78672494a4c59ce89425142282”,
“block_height”: 820778,
“time_stamp”: “1702338445”,
“total_fees”: “0”,
“dest_addresses”: [
“bc1qyy0382eef686r8lwks7lu7z4ex27a7aysv6w42”,
“3HVXgzwYSyek8zfK4LG3qnPLXcuAE3z5bo”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH”,
“address”: “bc1qyy0382eef686r8lwks7lu7z4ex27a7aysv6w42”,
“pk_script”: “0014211f13ab394e8fa19feeb43dfe7855c995eefba4”,
“output_index”: “0”,
“amount”: “4025000”,
“is_our_address”: true
},
{
“output_type”: “SCRIPT_TYPE_SCRIPT_HASH”,
“address”: “3HVXgzwYSyek8zfK4LG3qnPLXcuAE3z5bo”,
“pk_script”: “a914ad55de6a32b5de8a2bdc390023dbec51bb7ee95287”,
“output_index”: “1”,
“amount”: “438158121”,
“is_our_address”: false
}
],
“raw_tx_hex”: “02000000000101d4e8711cd438ffe46972c96e775f300b9fe23b5adf7ff1d6ce2a59764bd986450000000017160014e71b9c064a8693a80649fef1c1e011c254fdd99afdffffff02a86a3d0000000000160014211f13ab394e8fa19feeb43dfe7855c995eefba429c31d1a0000000017a914ad55de6a32b5de8a2bdc390023dbec51bb7ee95287024730440220662f996196ff89e85a7276f9aae7e1b9eee396bfe8b0f1e819e192b77e6900b20220439012d02048b319ec595be34b89cb24820fefe84697026c7c50dea3d21a80d5012103cf006823ab1dec71f0fc8535337b0251c678567916ba53df04ca953e6caae6de28860c00”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “4586d94b76592aced6f17fdf5a3be29f0b305f776ec97269e4ff38d41c71e8d4:0”,
“is_our_output”: false
}
]
},
{
“tx_hash”: “4586d94b76592aced6f17fdf5a3be29f0b305f776ec97269e4ff38d41c71e8d4”,
“amount”: “802000”,
“num_confirmations”: 9539,
“block_hash”: “00000000000000000003df771363b23b01c26f8f87f586438d72caf3db06a8ef”,
“block_height”: 820606,
“time_stamp”: “1702241611”,
“total_fees”: “0”,
“dest_addresses”: [
“3E7F3SUJzQYirUMTRTQvcpc24DzkUydHPe”,
“bc1qg8f4q7j0sdez9yhl8pr2wh7aze5snehhw78f5m”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_SCRIPT_HASH”,
“address”: “3E7F3SUJzQYirUMTRTQvcpc24DzkUydHPe”,
“pk_script”: “a9148836718f6c898b9b0df7bfc5a5a015082cd3dabb87”,
“output_index”: “0”,
“amount”: “442189911”,
“is_our_address”: false
},
{
“output_type”: “SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH”,
“address”: “bc1qg8f4q7j0sdez9yhl8pr2wh7aze5snehhw78f5m”,
“pk_script”: “001441d3507a4f83722292ff3846a75fdd166909e6f7”,
“output_index”: “1”,
“amount”: “802000”,
“is_our_address”: true
}
],
“raw_tx_hex”: “02000000000101fb0dd37473632cfdf410fd288cc342084ed13360e61e3d6da5ebdd4bab912f5b010000001716001404c85ec4e24bb60c62564b13c8fa82b6b7bfe5e6fdffffff0257485b1a0000000017a9148836718f6c898b9b0df7bfc5a5a015082cd3dabb87d03c0c000000000016001441d3507a4f83722292ff3846a75fdd166909e6f70247304402200ba6fcc6b38daa537685098906765ee1d132e7a2bf06cdc10a9bdb58acbd8624022042b7ddf1cd21dfb1b5a96ab5b89081f23b4c38dd935a70c9eadb5152add392b40121027e987d50f03ef7309b7b00c339654dc9e15fb7781d0bb5ebe429e62f7c6015c876850c00”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “5b2f91ab4bddeba56d3d1ee66033d14e0842c38c28fd10f4fd2c637374d30dfb:1”,
“is_our_output”: false
}
]
},
{
“tx_hash”: “accf6ad544919435d36090c438648cd6e9618eece47b06b0e2c1be7dfce8aaed”,
“amount”: “-241120”,
“num_confirmations”: 9837,
“block_hash”: “000000000000000000039e7e9bff6e2449b7414d4821cb6fec1225ac7ff16977”,
“block_height”: 820308,
“time_stamp”: “1702066050”,
“total_fees”: “6120”,
“dest_addresses”: [
“bc1p37v7uned7x2hfcj9c6cvky59p2u4yr3qswrh430046dq5cjxdr8qzehhvh”,
“bc1q4288myg7sdjsqj9w0fx75r4w9je564m5wgwnz3”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_WITNESS_V1_TAPROOT”,
“address”: “bc1p37v7uned7x2hfcj9c6cvky59p2u4yr3qswrh430046dq5cjxdr8qzehhvh”,
“pk_script”: “51208f99ee4f2df19574e245c6b0cb12850ab9520e2083877ac5efae9a0a624668ce”,
“output_index”: “0”,
“amount”: “8880”,
“is_our_address”: true
},
{
“output_type”: “SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH”,
“address”: “bc1q4288myg7sdjsqj9w0fx75r4w9je564m5wgwnz3”,
“pk_script”: “0014aa8e7d911e83650048ae7a4dea0eae2cb34d5774”,
“output_index”: “1”,
“amount”: “235000”,
“is_our_address”: false
}
],
“raw_tx_hex”: “010000000001010f3e84752976fd6cddd4c67b55e548b70f65c79b9d7b51639d1c643bb92d92b40000000000ffffffff02b0220000000000002251208f99ee4f2df19574e245c6b0cb12850ab9520e2083877ac5efae9a0a624668cef895030000000000160014aa8e7d911e83650048ae7a4dea0eae2cb34d577402483045022100d66d22cfe5972f7081d6214a30cad143825aacc394298249de4a3856cdcd9a2002200abad349c281677f70456d1b706de1ebd6c9f210e7099965226a1b0d790d4c0b012103b0a3d11ad7e6f5d517f95e75856283bb7e637f0ccf0e70b82aa85ff70363739b00000000”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “b4922db93b641c9d63517b9d9bc7650fb748e5557bc6d4dd6cfd762975843e0f:0”,
“is_our_output”: true
}
]
},
{
“tx_hash”: “2ec5680dd5c9adecc09274f24434d2b2bb310df9db8e4385f248b513b39422fa”,
“amount”: “214481”,
“num_confirmations”: 10059,
“block_hash”: “00000000000000000001cfc2f3e800a50f3382f55e7915220c6c2ec7a9181559”,
“block_height”: 820086,
“time_stamp”: “1701916860”,
“total_fees”: “0”,
“dest_addresses”: [
“bc1q3qv763zkwtjshs59tam2vqw949ewtkg0mkp0v4”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH”,
“address”: “bc1q3qv763zkwtjshs59tam2vqw949ewtkg0mkp0v4”,
“pk_script”: “00148819ed445672e50bc2855f76a601c5a972e5d90f”,
“output_index”: “0”,
“amount”: “214481”,
“is_our_address”: true
}
],
“raw_tx_hex”: “020000000001010f3e84752976fd6cddd4c67b55e548b70f65c79b9d7b51639d1c643bb92d92b40100000023220020cfdc2a6084c95375ac29e8c3e793cf6faae882c9dd95ad9cd136411bb4afc1fdfdffffff01d1450300000000001600148819ed445672e50bc2855f76a601c5a972e5d90f03473044022067bc5b986c41e2fe540d957ed94e42c465e126341b9d7636d9a5a09d204491720220037f667a427e4527b6b8b0910ded0c944bbe49f589660ccc36fa339f6efd58d801473044022065838f730b6c5f238a679af24fcc69a9dea323ac3ae3b84f09d7944afbe8751d02201761630894707e9af9853ae2d33236f7fa92ac257d7723dd9ed0f671715b0072014e210283880639749e3df09e0395e20194ef1a69d484c2fca57befc1a39a4493fc552cad21020d2beeacc6c864c9aca7fbccf6e4398acabb54a74f24df0cc0a32a54b860147cac73640380ca00b2686e830c00”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “b4922db93b641c9d63517b9d9bc7650fb748e5557bc6d4dd6cfd762975843e0f:1”,
“is_our_output”: false
}
]
},
{
“tx_hash”: “b4922db93b641c9d63517b9d9bc7650fb748e5557bc6d4dd6cfd762975843e0f”,
“amount”: “250000”,
“num_confirmations”: 10343,
“block_hash”: “00000000000000000000a442eb94bc828ad6bfc9515df2e434edc4d6ce49281a”,
“block_height”: 819802,
“time_stamp”: “1701733551”,
“total_fees”: “0”,
“dest_addresses”: [
“bc1qj8lqewz3f9c3rcl6ddu4ggdr054gpd9laa530s”,
“37WSPH9T5quLVnLNEuJ6TFyynhkWaQ33Rc”
],
“output_details”: [
{
“output_type”: “SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH”,
“address”: “bc1qj8lqewz3f9c3rcl6ddu4ggdr054gpd9laa530s”,
“pk_script”: “001491fe0cb851497111e3fa6b795421a37d2a80b4bf”,
“output_index”: “0”,
“amount”: “250000”,
“is_our_address”: true
},
{
“output_type”: “SCRIPT_TYPE_SCRIPT_HASH”,
“address”: “37WSPH9T5quLVnLNEuJ6TFyynhkWaQ33Rc”,
“pk_script”: “a9143fd0991d1eec2636dafec77e84bcd9636243504887”,
“output_index”: “1”,
“amount”: “228481”,
“is_our_address”: false
}
],
“raw_tx_hex”: “02000000000101fb0dd37473632cfdf410fd288cc342084ed13360e61e3d6da5ebdd4bab912f5b0000000023220020cd45870278ca2acb11896d5c7a09f8366a320f87d0f4976e18e9d3283f7ea78bfdffffff0290d003000000000016001491fe0cb851497111e3fa6b795421a37d2a80b4bf817c03000000000017a9143fd0991d1eec2636dafec77e84bcd96362435048870347304402203b7a24281f80b5e0676e6a0ee1bfddab610f4ef5bde427cd980ae652d2d8c7760220078a1d5c9ff6bd9166b350960367c8fd886f5ad082d6979bf10a12e9a2633c110147304402204a05b848dbba04cf027c7dde9aae48af455f949765c09f23b6b46ebcfab0ad6602204e8315332644198132716f677d3db3a67f370cba423e3026362249ec47f3dd10014e21036a845c6b5de9121430da7f18aeb1bb6c46d149ca6f01f070ffc57bf1f30bdc13ad2102b7afe225bb86b35612ccb8b050452d04d0315ee33993a2c150cdaaaf7cadd7d9ac73640380ca00b26832820c00”,
“label”: “”,
“previous_outpoints”: [
{
“outpoint”: “5b2f91ab4bddeba56d3d1ee66033d14e0842c38c28fd10f4fd2c637374d30dfb:0”,
“is_our_output”: false
First off the bad news, I am not running an umbrel nor do I know how their recovery process works. So my recommendations or ideas will soon come to an end.
Secondly, I’m not sure where it came from, but de- and reinstalling LND is never a good idea. Important data gets lost in the process, and I suspect that this might be what’s causing you missing out on some sats.
The good news is: As long you have the seed, things can be recovered. On your utxo set, one could not find the closing tx, but only the opening one
“output_type”: “SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH”,
“address”: “bc1quq3v2attrc6k9ynzf7dkysj8djtc72kkam2quqn9gmv5hhzrx6nsfsglmw”,
“pk_script”: “0020e022c5756b1e356292624f9b6242476c978f2ad6eed40e026546d94bdc4336a7”,
“output_index”: “1”,
“amount”: “5009000”,
“is_our_address”: false
}
],
“raw_tx_hex”: “02000000000104fa2294b313b548f285438edbf90d31bbb2d23444f27492c0ecadc9d50d68c52e000000000000000000d4e8711cd438ffe46972c96e775f300b9fe23b5adf7ff1d6ce2a59764bd98645010000000000000000edaae8fc7dbec1e2b0067be4ec8e61e9d68c6438c49060d335949144d56acfac000000000000000000b36f7825adcaa964ddbdbdd5b6f7cf8d5c6467a909481df91dc9cd40fb84c9fc00000000000000000002897e000000000000225120751ad68afd9c461af7c0f15156e1e0235d7aded03745c0c6ec4e288c2d17146e686e4c0000000000220020e022c5756b1e356292624f9b6242476c978f2ad6eed40e026546d94bdc4336a70247304402203497d51cd86bf0c6c23905aecb04aa54cff8b1cd2609e755b652e59e9e29f60302203a44bb32e9645b2d381341235b727393c7d84cd460bdf378dc3a6dca34f80763012103ee3a4c63424257a59fcfd2e38dde234a188feb2c670b234e65c8fc934fe113ea0247304402204dbdad462458c0bd6b70e56f235aae538bf643bb54667e8c6a3b7e7202f1ff6302207092c2b3a911eacd53d14b77ccb4df9f08ee46167d21adca0214e06b89cf544f012103cbb09f1ca9660c47d27c03c5d3362c2e22c787afd798407d465a74f7eb804376014071f4e81e9933a385d9cedb9dc29419d9f8a0a4edf11ca5af7c2a69ee1da4bdd306c95d6890865913a8b8c4c2b9dd9b141621c0d0cfd29b16002c4bdf228c394002473044022015822f2f549069d606176c23e92e1248f84a48bd3e76dff328a9b48e4cac67f70220641114004a1f5c04811e68dae197a12631e964ae88e11f38ebd6cb579dddcdfc01210215930e50be5b274eab6bdec9bae455c98a8a651d94b19d8cf5856e8a7966b2d100000000”,
So where does this leave us? I’d hope for umbrel support / @smolgrrr probably has some pointers on the umbrel recovery. Meanwhile, couple of thoughts and ideas:
I think your current installed LND doesn’t know that the channel is closed, because it doesn’t show the closing tx 85c5fbeca40f0a5b94805299919d0eedf3b50f7247aeb48e4c186dbef357e0ac
- quickest idea: republish the opening tx and see what happens.
lncli wallet publishtx 02000000000104fa2294b313b548f285438edbf90d31bbb2d23444f27492c0ecadc9d50d68c52e000000000000000000d4e8711cd438ffe46972c96e775f300b9fe23b5adf7ff1d6ce2a59764bd98645010000000000000000edaae8fc7dbec1e2b0067be4ec8e61e9d68c6438c49060d335949144d56acfac000000000000000000b36f7825adcaa964ddbdbdd5b6f7cf8d5c6467a909481df91dc9cd40fb84c9fc00000000000000000002897e000000000000225120751ad68afd9c461af7c0f15156e1e0235d7aded03745c0c6ec4e288c2d17146e686e4c0000000000220020e022c5756b1e356292624f9b6242476c978f2ad6eed40e026546d94bdc4336a70247304402203497d51cd86bf0c6c23905aecb04aa54cff8b1cd2609e755b652e59e9e29f60302203a44bb32e9645b2d381341235b727393c7d84cd460bdf378dc3a6dca34f80763012103ee3a4c63424257a59fcfd2e38dde234a188feb2c670b234e65c8fc934fe113ea0247304402204dbdad462458c0bd6b70e56f235aae538bf643bb54667e8c6a3b7e7202f1ff6302207092c2b3a911eacd53d14b77ccb4df9f08ee46167d21adca0214e06b89cf544f012103cbb09f1ca9660c47d27c03c5d3362c2e22c787afd798407d465a74f7eb804376014071f4e81e9933a385d9cedb9dc29419d9f8a0a4edf11ca5af7c2a69ee1da4bdd306c95d6890865913a8b8c4c2b9dd9b141621c0d0cfd29b16002c4bdf228c394002473044022015822f2f549069d606176c23e92e1248f84a48bd3e76dff328a9b48e4cac67f70220641114004a1f5c04811e68dae197a12631e964ae88e11f38ebd6cb579dddcdfc01210215930e50be5b274eab6bdec9bae455c98a8a651d94b19d8cf5856e8a7966b2d100000000
- LND fund recovery document: Check the umbrel guides
on reset-wallet-transactions
. Usually, you set this in your lnd.conf, or start lnd withlnd --reset-wallet-transactions
, but since lnd runs in a container, you may need to check in the troubleshooting / guides how to add manual variable settings. This is my biggest bet: It’ll trigger LND to go through the whole blockchain and look for your UTXOs. I suspect the closing tx is missing, and hence you don’t see those sats. - Darthcoin has a good indepth article on SHTF scenarios for umbrel here.
Sorry I can’t be of more help, but since umbrel is super specific, we’d need someone who really runs one
One more thing, not sure if this ever got suggested here: But how about reaching out to your Channel-Peer and asking them to force-close the channel? Might be quite easy if you are able to reach someone
I have reached out to the channel peer a couple times, but no response and have also reached out to Umbrel support, so we’ll see. I’ll look into the articles you suggested to learn more. Below is the output when I republished the opening tx, it just showed the original tx. Thanks for everything so far, really appreciate it.
id.
so once your broadcasted it, your local mempool and your LND are in-sync again and have the transaction in memory. That’s your desired state, from there you can bump the closing fee.