# I have one unusable channel

**URL:** <https://community.umbrel.com/t/i-have-one-unusable-channel/9323>\
**Category:** Support and Troubleshooting\
**Created:** [September 5, 2022, 6:53pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323 "2022-09-05T18:53:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![satoshinaka069](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/satoshinaka069/32/3219_2.png) [@satoshinaka069](https://community.umbrel.com/u/satoshinaka069)\
**Post date:** [September 5, 2022, 6:53pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/1 "2022-09-05T18:53:13Z")

</div>

Just starting with my lightning node and I needed some inbound liquidity, so I opened a 1,000,000 Sat channel with [mainnet.lightningconductor.net](https://amboss.space/node/03c436af41160a355fc1ed230a64f6a64bcbd2ae50f12171d1318f9782602be601) and they promptly opened one back to me with 500,000 Sats. Great!

I now have two channels open with Lightning Conductor (see image of my channels below). One channel has 0.4M INBOUND liquidity, the other has 1.1M outbound liquidity.

**Problem is:** when I try to send a payment using this channel Thunderhub only lets me choose the peer, not the specific channel. So I can’t figure out how to use the 1.1M outbound liquidity in the 2nd channel. If I attempt to send a payment over 50k using this peer, Thunderhub tells me there isn’t enough liquidity.

How do I move the 1.1M of outbound liquidity over to the other channel? Or am I thinking about this all wrong?

 ![Screen-Shot-2022-09-05-at-2.33.03-PM (1)](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/6/6949be38a36ce7b24328b5eebe333cbbbe7f509e.png)

---

<div class="post-metadata">

**Author:** ![Szek](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/szek/32/40_2.png) [@Szek](https://community.umbrel.com/u/Szek)\
**Post date:** [September 6, 2022, 5:03am UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/2 "2022-09-06T05:03:31Z")

</div>

In order to do this, you’ll want to do what’s called a rebalance - you’ll see it over in ThunderHub’s sidebar there. What this’ll do is send sats from the channel where your sats are (the one you opened) to lightningconductor’s node and bring your sats back into the other channel. Cool, huh?

So you’ll go over into the Rebalance screen (right under channels).

- For Outgoing, you’ll select the channel where more sats are on your side - in this case, one of the lightning channels for lightningconductor will have 100% next to it - that will be the one, since 100% of the sats on your side.

- For incoming, you’ll select the one where all the sats are on _their_ side - in this case, well, the other one, since TH doesn’t let you rebalance into the same channel.

- You want your channel balances somewhat balanced so your peers can route payments through your channels. This said, I’d start with 200,000 sats and see how you look then. Your channel you opened should have a little inbound liquidity with them and the one they opened should be pretty even.

However, keep in mind that you can’t fit a gallon of milk into a quart jug. Same goes for Lightning channels. A channel cannot grow in size after it’s created. So, ultimately, that 500k sats channel _can’t_  
get any bigger (well, not without closing and re-opening the channel). This said, if it was me? I’d move my outbound to their channel (as much as I could) then co-op close the smaller channel. Then you end up with one fairly balanced, 1m sat channel.

Hope this helped.

---

<div class="post-metadata">

**Author:** ![satoshinaka069](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/satoshinaka069/32/3219_2.png) [@satoshinaka069](https://community.umbrel.com/u/satoshinaka069)\
**Post date:** [September 6, 2022, 7:27pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/3 "2022-09-06T19:27:57Z")

</div>

Thanks for the reply @Szek. This is all really helpful information. However, when I try to rebalance, Thunderhub only let’s me choose the Mainnet channel for Outgoing. For incoming, the other Mainnet channel isn’t an available option. At least when I attempt to rebalance, it appears that both Mainnet channels are being added together and considered as one single channel. See screenshots below…

**Rebalance screen:**

 ![Screen-Shot-2022-09-06-at-3.08.52-PM](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/8/83d46143f416d985f83d4b37c6302e9496cc2c26.png)

**Open Channels screen:**

 ![Screen-Shot-2022-09-06-at-3.12.01-PM](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/7/7c63c1ad1935c5216a4ea631087c8af05a60de95.png)

---

<div class="post-metadata">

**Author:** ![Szek](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/szek/32/40_2.png) [@Szek](https://community.umbrel.com/u/Szek)\
**Post date:** [September 6, 2022, 9:56pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/4 "2022-09-06T21:56:18Z")

</div>

Ah, I see the problem. Looks like we might need to have some fun in shell then.

Before we get started, open a text doc in whatever text editor you use. Copy and paste this into it:

> –outgoing\_chan\_id
> 
> –last\_hop
> 
> Invoice:

Try this!

1. Open your OS’s terminal and SSH into Umbrel.

2. Since ThunderHub won’t rebalance automatically, you’ll probably have to do it manually. To do this, you’ll have to start by getting your channels’ public keys. To do this, you write:

`lncli listchannels --active_only`

Your terminal might write _War and Peace_ for you, but you need to take note of a couple things in the chaos.

“chan\_id” - You can get this in ThunderHub as well. The number with all the numbers and “x”s, you’ll need this for the channel you move your local sats **out** of.

“remote\_pubkey” - this is longer and more complicated than the chan\_id. You’ll need this for the channel you move local sats **into**.

Keep your terminal open, and bring back up your text doc. Write your chan\_id next to “outgoing\_chan\_id” and your remote\_pubkey you found next to “last\_hop”.

1. Now that we have these, we can get into the nitty gritty. In your trusty terminal, write:

`lncli addinvoice <however many sats you want to rebalance>`

This should respond with an invoice you can use to rebalance the channel. Copy this and put it in the text doc next to “invoice”.

Almost there.

1. Now we bring it all together. Copy and paste this into your text editor and copy and paste the info we wrote down into it.

```auto
    lncli payinvoice \
    --allow_self_payment \
    --fee_limit 30 \
    --outgoing_chan_id *your chan_id* \
    --last_hop *your remote_pubkey* \
    *your invoice*

```

Copy and paste the whole thing into your terminal. If needed, hit enter and (hopefully) the channel rebalances.

1. Report this to ThunderHub on their GitHub because this sounds like one hell of a bug.

Let me know if this works.

---

<div class="post-metadata">

**Author:** ![satoshinaka069](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/satoshinaka069/32/3219_2.png) [@satoshinaka069](https://community.umbrel.com/u/satoshinaka069)\
**Post date:** [September 6, 2022, 11:36pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/5 "2022-09-06T23:36:44Z")

</div>

Thanks @Szek. I get an error every time I enter `lncli`. It returns: `-bash: lncli: command not found`

**I tried…**  
`cd ~/umbrel/bin`

**and then…**  
`sudo docker exec lnd lncli addinvoice 1100000`

**but still get the same error…**  
`-bash: lncli: command not found`

Sorry, I’m a dunce when it comes to shell commands :-/

---

<div class="post-metadata">

**Author:** ![Szek](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/szek/32/40_2.png) [@Szek](https://community.umbrel.com/u/Szek)\
**Post date:** [September 6, 2022, 11:47pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/6 "2022-09-06T23:47:20Z")

</div>

Do you have Lightning Shell installed on your Umbrel, @satoshinaka069? If you boot that up and run the commands in there, it should work.

---

<div class="post-metadata">

**Author:** ![satoshinaka069](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/satoshinaka069/32/3219_2.png) [@satoshinaka069](https://community.umbrel.com/u/satoshinaka069)\
**Post date:** [September 7, 2022, 4:21am UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/7 "2022-09-07T04:21:28Z")

</div>

Ah! You are very smart, indeed. I did not have **Lightning Shell** installed. Now I do.

Incidentally, I also just installed **Lightning Terminal** and with that I decided to try to do a loop out with the offending channels. It worked and was surprisingly easy, even for me! With Thunderhub you can now see those two channels are balanced (or at least more balanced than previously)…

 ![Screen Shot 2022-09-07 at 12.12.11 AM](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/9/9578d42a14c3d653968fe2ec8d68421fc6ee7b94.png)

So do you think this indicates a bug with Thunderhub? I’m wondering if anyone else has run into this issue. Surely I must not be the first. It’s a nice little app otherwise.

---

<div class="post-metadata">

**Author:** ![Szek](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/szek/32/40_2.png) [@Szek](https://community.umbrel.com/u/Szek)\
**Post date:** [September 7, 2022, 4:27am UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/8 "2022-09-07T04:27:28Z")

</div>

Excellent! Lightning Shell is a nice app and so is Terminal.

Regarding ThunderHub - I would at least mention it. It may not be a bug and there could be a great reason it didn’t work - but telling them and having _them_ say that (and possibly a workaround for next time as well) would be a good thing, because then we’d both find that out.

---

<div class="post-metadata">

**Author:** ![satoshinaka069](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/satoshinaka069/32/3219_2.png) [@satoshinaka069](https://community.umbrel.com/u/satoshinaka069)\
**Post date:** [September 7, 2022, 3:33pm UTC](https://community.umbrel.com/t/i-have-one-unusable-channel/9323/9 "2022-09-07T15:33:42Z")

</div>

Absolutely. I will contact him and post any details to this thread. Thanks again @Szek!
