Wipe LN history & start over

To keep my lightning activity more private, I want to use coinjoined sats only. But I have already funded my lightning node with KYC, non-coinjoined sats in the past, so this LN node is already linked to my identity.

Is there a way to start over with a clean slate with my lightning node? Right now I have only an on-chain balance.

Thanks! Any help is much appreciated.

I am about to do the same thing. You’ll need to completely reset the specific user data on your node, this includes your private key.

You can do this without having to download all of the blockchain data again, but you have to clean the node otherwise.

  1. Remove all of your on-chain funds from the node to another wallet (presumably where you wish to coinjoin)
  2. Use the “user reset” instructions on this page via SSH to reset all user data
  3. generate a new wallet seed on your umbrel
  4. Return coinjoined funds and open channels

What is your preferred coinjoin method here? I am trying to work out how to do this easily. I wish i could use Whirlpool, but I don’t have an android device on hand.

1 Like

Thanks. That helps a lot!

I intend to use Whirlpool as well. I have been listening a lot to Citadel Dispatch in the recent weeks, and that seemed to be the best choice for me currently. I guess other options are JoinMarket (which is imo a bit too technical to start with for a noob like me) or Wasabi.

Thanks again for your help.

No worries at all. Happy to help.

Cant get it working…the command triggers this error all the time -
ssh -t umbrel@umbrel.local “sudo systemctl stop umbrel-startup && sudo rm -rf ~/umbrel/lnd/!(lnd.conf) && sudo rm ~/umbrel/db/user.json && sudo rm ~/umbrel/db/umbrel-seed/seed && sudo systemctl start umbrel-startup”
-bash: !: event not found
I can’t figure out what is wrong with my system…drives me crazy. wrote to Umbrel guys and several users. It can’t be that hard… :slight_smile:

Well that’s pretty confusing. I got an error with these commands once, but it was because I was missing one of the files being removed. All I had to do was remove that part of the command and proceed.

It sounds like you’re getting stopped at “sudo systemctl stop umbrel-startup“

If you ash into umbrel and run these commands one at a time, is it the first one that is kicking up the error?

please tel me how to split them up…commands ? first etc…new command stuff completely

ssh -t umbrel@umbrel.local this goes in and asks for password…not sure how to proceed.

I think I see the issue. You need to finish establishing the connection to your umbrel before you run the other commands. If you do ssh -t umbrel@umbrel.local

Enter your password (this is the password you use to enter the umbrel web GUI), the terminal should return with an indication you’re now connected to the umbrel via SSH, something like “umbrel@umbrel.local:”

Now try the rest:

sudo systemctl stop umbrel-startup && sudo rm -rf ~/umbrel/lnd/!(lnd.conf) && sudo rm ~/umbrel/db/user.json && sudo rm ~/umbrel/db/umbrel-seed/seed && sudo systemctl start umbrel-startup

The result should be really boring.

If you now go to umbrel.local in a browser, you should be presented with the start screen.

Linux umbrel 5.10.17-v8+ #1421 SMP PREEMPT Thu May 27 14:01:37 BST 2021 aarch64

The programs included with the Debian GNU/Linux system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Thu Aug 19 13:27:34 2021 from 192.168.0.143

umbrel@umbrel:~ $ “sudo systemctl stop umbrel-startup && sudo rm -rf ~/umbrel/lnd/!(lnd.conf) && sudo rm ~/umbrel/db/user.json && sudo rm ~/umbrel/db/umbrel-seed/seed && sudo systemctl start umbrel-startup”

-bash: sudo systemctl stop umbrel-startup && sudo rm -rf ~/umbrel/lnd/!(lnd.conf) && sudo rm ~/umbrel/db/user.json && sudo rm ~/umbrel/db/umbrel-seed/seed && sudo systemctl start umbrel-startup: No such file or directory

umbrel@umbrel:~ $

logged in as you see…but it didn’t work…this time no error…could be my vpn from machine I’m executing from ? Of course I logged in using old password and Node is still running fine :slight_smile:

Did you enter that string with the quotes at the beginning and end? Remove those.

Like this.

umbrel@umbrel :~ $ sudo systemctl stop umbrel-startup && sudo rm -rf ~/umbrel/lnd/!(lnd.conf) && sudo rm ~/umbrel/db/user.json && sudo rm ~/umbrel/db/umbrel-seed/seed && sudo systemctl start umbrel-startup

1 Like

Got it…I removed the quotes…and now I’m at starting page will set up new user account…what is funny the node is still running as I look at it. will let you know…do You think I should use a different user name and a different password? anyway…I fought a few days with this. Thank you!! I knew it was a simple thing…and Thank you!!! @fireworksurprise

No problem at all. Your username and password aren’t part of your public details at all, so it is up to you if you want these to change.

1 Like