# Help Recovering Lightning Channel (Linux)

**URL:** <https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993>\
**Category:** Support and Troubleshooting\
**Created:** [May 18, 2021, 8:25pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993 "2021-05-18T20:25:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![chearmstrong](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/chearmstrong/32/475_2.png) [@chearmstrong](https://community.umbrel.com/u/chearmstrong)\
**Post date:** [May 18, 2021, 8:25pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/1 "2021-05-18T20:25:08Z")

</div>

OK, so in playing around, I think I may have messed up.

My node failed on me, just after creating a new Lightning channel - I don’t think my channel had synced to the chain either (was pending), but I was able to add it to Zap (I have a backup from there but I’m not sure what use that is).

I’ve been able to recover my BTC using Blue Wallet. However, I’m having some issues on the Lightning side of things.

This is the transaction moving my BTC to the Lightning channel:

> **[mempool - Bitcoin Explorer](https://mempool.space/tx/1c70e3b7bb470d2bbeef895df684e37927130d53ec9c2551526d4a0ffb99f657)**
>
> Explore the full Bitcoin ecosystem with mempool.space™

I copied the `channel.backup` from Zap to my Linux machine (Ubuntu) but I can’t restore it. I’m trying:

`docker-compose exec lnd lncli restorechanbackup --multi_file ~/lnd/channel.backup`

But this is the error:

```auto
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

```

I have created a new node and it’s syncing now.

Is there anything I can do or are the fund I sent to Lightning lost?

---

<div class="post-metadata">

**Author:** ![chearmstrong](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/chearmstrong/32/475_2.png) [@chearmstrong](https://community.umbrel.com/u/chearmstrong)\
**Post date:** [May 18, 2021, 9:31pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/2 "2021-05-18T21:31:26Z")

</div>

Just to add - I have managed to run the command using:

`sudo docker exec -it lnd lncli restorechanbackup --multi_file ~/lnd/channel.backup`

However, I get the following error:

`[lncli] unable to decode multi packed backup: open /home/ubuntu/lnd/channel.backup: no such file or directory`

It is there though:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/1X/8d203975f08265126924ed500dbc7f50abdcf78b.png)

Please help.

---

<div class="post-metadata">

**Author:** ![lukechilds](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/lukechilds/32/4381_2.png) [@lukechilds](https://community.umbrel.com/u/lukechilds)\
**Post date:** [May 20, 2021, 10:05am UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/3 "2021-05-20T10:05:40Z")

</div>

> Is there anything I can do or are the fund I sent to Lightning lost?

The funds are not lost, they are recoverable.

> I was able to add it to Zap

> I copied the `channel.backup` from Zap

You need the original `channel.backup` from Umbrel, not the new one from Zap. Do you have a copy of it?

> I can’t restore it

You’re passing the LND container the path to your channel backup on the host, the file doesn’t exist at that path inside the container.

You can follow these instructions to recover a channel backup:

#### Step 1: Copy over the channel backup file from your computer to your Umbrel.

Open the “Terminal” app on Mac/Linux, or “PowerShell” on Windows and run this:

```auto
scp <path/to/your/channel/backup/file> umbrel@umbrel.local:/home/umbrel/umbrel/lnd/channel.backup

```

_(Replace `<path/to/your/channel/backup/file>` with the exact path to channel backup file on your computer)_

You will be asked for a password which will be your Umbrel dashboard password, or if you haven’t set one up yet, enter `moneyprintergobrrr`.

#### Step 2: Recover the channel backup in LND

Run

```auto
ssh -t umbrel@umbrel.local "cd ~/umbrel && docker-compose exec lnd lncli restorechanbackup --multi_file /data/.lnd/channel.backup"

```

Use the same password you used above.

After you run this, wait for 1 minute. You should now be able to see your channels being closed on [http://umbrel.local/lightning](http://umbrel.local/lightning).

---

<div class="post-metadata">

**Author:** ![chearmstrong](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/chearmstrong/32/475_2.png) [@chearmstrong](https://community.umbrel.com/u/chearmstrong)\
**Post date:** [May 20, 2021, 1:37pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/4 "2021-05-20T13:37:26Z")

</div>

Hi @lukechilds - thanks for the reply.

Unfortunately, I only have the Zap backup - I mistakingly thought it could do the same thing. Without an Umbrel backup am I screwed?

As for the commands you gave - I’m running Umbrel on Ubuntu. Do I run the commands from that Linux machine? I assume yes?

---

<div class="post-metadata">

**Author:** ![lukechilds](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/lukechilds/32/4381_2.png) [@lukechilds](https://community.umbrel.com/u/lukechilds)\
**Post date:** [May 20, 2021, 1:55pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/5 "2021-05-20T13:55:30Z")

</div>

> Without an Umbrel backup am I screwed?

No, Umbrel has automatic encrypted backups built in. So there will be an encrypted version of your channel backup on our backup server. The recovery process is not yet automated yet but I can talk you through it.

I’ll DM you so I can send you the file privately.

> I’m running Umbrel on Ubuntu. Do I run the commands from that Linux machine? I assume yes?

Ah in that case you need to log in to the machine Umbrel is installed on and copy the channel.backup file to:

```auto
$wherever_you_installed_umbrel/lnd/channel.backup

```

Then run:

```auto
cd $wherever_you_installed_umbrel
docker-compose exec lnd lncli restorechanbackup --multi_file /data/.lnd/channel.backup

```

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 23, 2021, 8:09am UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/7 "2021-05-23T08:09:16Z")

</div>

> [@lukechilds](#):
>
> `docker-compose exec lnd lncli restorechanbackup --multi_file /data/.lnd/channel.back`

Getting the below error:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/1X/3f64de15355ee1ce8e981f6ab458c4a07a19a54f.jpeg)

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 23, 2021, 9:51am UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/9 "2021-05-23T09:51:26Z")

</div>

Yes, up and running and 100% synced.  
I recovered my Umbrel using the 24 word seed phrase a few days ago.

 ![Screenshot 2021-05-23 at 11.57.43](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/1X/48c8725b2c025120bd1f3e66758cf1fd72d424ce.jpeg)

I noticed this in the logs:

 ![Screenshot 2021-05-23 at 11.49.13](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/1X/93fdf1e9160c5e8b6890542d176a202dab50e709.jpeg)

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 23, 2021, 1:29pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/11 "2021-05-23T13:29:37Z")

</div>

Will share via DM.

It seems that something went wrong while recovering my Umbrel from an existing 24 word seed phrase. My old SD got corrupted so I changed to a new SD and also to a new SSD. I still have the old SSD as well with all data.

Interestingly this is what stands out:

> **Seed**  
> May 23 08:43:34 umbrel umbrel startup[1102]: Missing derivation parameter, this is unsafe, exiting.  
> May 23 08:43:34 umbrel umbrel startup[1102]: cat: /home/umbrel/umbrel/db/umbrel-seed/seed: No such file or directory

> **btc-rpc-explorer**  
> Starting app btc-rpc-explorer…  
> cat: /home/umbrel/umbrel/db/umbrel-seed/seed: No such file or directory

> **LND**  
> lnd | 2021-05-23 08:43:17.360 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 23, 2021, 2:26pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/13 "2021-05-23T14:26:25Z")

</div>

Thanks! Just ran the command you provided, running the recover again using the 24 word seed phrase. Wish me luck 🙂

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 23, 2021, 2:37pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/14 "2021-05-23T14:37:22Z")

</div>

That went well, looking a lot better now. I don’t see any funds in my wallet however.  
Do I need to run the below?

> lnd --reset-wallet-transactions

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 23, 2021, 3:21pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/15 "2021-05-23T15:21:25Z")

</div>

Executed

> **Channel Backup**  
> docker-compose exec lnd lncli restorechanbackup --multi\_file /data/.lnd/channel.backup

Running

> **Finishing Sync**  
> 2021-05-23 14:58:46.365 [INF] LTND: Waiting for chain backend to finish sync, start\_height=684671

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 24, 2021, 6:29pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/16 "2021-05-24T18:29:51Z")

</div>

Backend sync complete.

I don’t see any fund back into my wallet, still at 0 ☹

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 25, 2021, 6:51pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/18 "2021-05-25T18:51:19Z")

</div>

Rescan completed, I can see 2 transactions now.

Channels are not recovered.

How do I get my funds back into my BTC wallet?

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 27, 2021, 8:24pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/20 "2021-05-27T20:24:11Z")

</div>

Thanks for your continued help, really appreciated.

Unfortunately I’m unable to get my channels back, I’ve tried all command and get nothing.  
I even used my old SSD again and made new backups, ran the above commands and no success.  
I made channel backups in RTL and tried to restore them also, no success.

What bothers me is that there’s 0 feedback executing the above commands, it’s just loading for 1-2 seconds and then it goes to a new line: **umbrel@umbrel** : **~/umbrel/bin**

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [May 28, 2021, 5:58pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/21 "2021-05-28T17:58:38Z")

</div>

@aarondewes is there any way I can copy some files from my old SSD to get my channels back?

---

<div class="post-metadata">

**Author:** ![venturemedia](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/venturemedia/32/574_2.png) [@venturemedia](https://community.umbrel.com/u/venturemedia)\
**Post date:** [June 4, 2021, 6:10am UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/22 "2021-06-04T06:10:50Z")

</div>

I have a very similiar problem and cannot close / access my channels. Had to recover with the seedwords, but the channels are not showing. If you find any solution, please post it. Thank you!

---

<div class="post-metadata">

**Author:** ![MasterYoda](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/masteryoda/32/168_2.png) [@MasterYoda](https://community.umbrel.com/u/MasterYoda)\
**Post date:** [June 5, 2021, 8:54pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/23 "2021-06-05T20:54:05Z")

</div>

I have similar issue. I had a power outage and wifi outage…restarted the Umbrel node. The Bitcoin Core is synced up but LND is showing no channels and balance is zero. I am told I may have to restore from backup —- which means all channels will be force closed. How can I get the channel backup file from Umbrel backup server?

---

<div class="post-metadata">

**Author:** ![Xantoshi](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@Xantoshi](https://community.umbrel.com/u/Xantoshi)\
**Post date:** [June 30, 2021, 7:49pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/24 "2021-06-30T19:49:28Z")

</div>

If you had an outage and lost your channels you will most likely not be able to recover them. I tried for many weeks without success… You can get your funds back though using the command posted by @lukechilds above. I personally wiped my SD and my SSD and started everything from scratch using the 24 word seed phrase.

Umbrel is still in early stages therefore be careful but don’t forget to have fun and learn 🙂

---

<div class="post-metadata">

**Author:** ![mati22123](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mati22123](https://community.umbrel.com/u/mati22123)\
**Post date:** [July 1, 2021, 4:20pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/25 "2021-07-01T16:20:11Z")

</div>

I also have only a zap backup. what should I do? How can I get the Umbrel backup?

---

<div class="post-metadata">

**Author:** ![louneskmt](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/louneskmt/32/13_2.png) [@louneskmt](https://community.umbrel.com/u/louneskmt)\
**Post date:** [July 2, 2021, 4:17pm UTC](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993/26 "2021-07-02T16:17:24Z")

</div>

You can DM @lukechilds to get your encrypted channel backup and the instructions on how to restore.

[Next page](https://community.umbrel.com/t/help-recovering-lightning-channel-linux/993.md?page=2)
