Stuck backing up after failed OS update

Keep us posted, good luck! :partying_face:

Am back into the GUI with same account (good), but while the blockchain is 100% synced (also good) - bitcoin and lightning wallets have not yet… just downloaded the logs (which ive attached)umbrel-1641374153850-debug.log (38.5 KB)

also kind of weird i flashed the sd with 0.4.8 but it showed 0.4.1 as the new release to install (which i did) and it hasn’t suggested updated further yet.

I’m not sure if there are things still catching up.
It is known that the electr server needs up to 24hrs to catch up with the blockchain. But I don’t know if that’s the reason it can’t find your lnd-wallet:

lnd | 2022-01-05 09:14:55.391 [ERR] RPCS: [/lnrpc.Lightning/PendingChannels]: wallet not created, create one to enable full RPC access

So we have 3 choices I think

  1. Wait a few more hours, keep an eye on this debug log and check whether things are changing in the LND and electr section
  2. Reflash the SD card via and try the update process again (do a graceful shutdown via UI, remove the SD, flash, reinsert it and boot => check the logfiles)
  3. Tinker with the wallet via lncli (most advanced stuff)

I’d move from 1-3 in the ranked order.
Hope this helps

1 Like

very much appreciate your help. noticed that in the logs too. will do as you have suggested and update afterwards… will give it a few more hrs incase before continuing

Waited a few hrs. no dice
Reflashed 0.4.9 after a graceful shutdown

new logs umbrel-1641443197067-debug.log (34.2 KB)

Same issue still on LND with no wallet found.

I’m still confused as to why it shows umbrel V 0.4.1 when i flashed the SD with 0.4.9
It this normal ? Screenshot 2022-01-06 at 15.30.27
Screenshot 2022-01-06 at 15.31.02

moving to step 3 now…

Did you ever do a restart? Logfile shows some containers running for 5 weeks already, is that true?

For the wallet pondering in Step 3, you may want to check out this help-entry:
Wallet is locked. How to unlock it in command line

Credits to @Hakuna that helps writing it.

How to verify: login to the Umbrel dashboard page > settings > Debug log and look out for the LND section. If you find a repetitive entry like the below, your wallet is locked and LND can’t start properly:
RPCS: [/lnrpc.Lightning/GetInfo]: wallet locked, unlock it to enable full RPC access

Part 1)
Login to your node with an SSH client / Power terminal via

ssh -t umbrel@umbrel.local

The prompted password is your dashboard password.
Then execute:

cd ~/umbrel && docker-compose exec lnd /bin/bash


lncli unlock

When prompted, enter the password you have used logging into your Umbrel user interface.
Done. Now open Umbrel dashboard page and login. Verify like above if that was successful.

Part 2)
In case the above doesn’t work and your wallet is still locked, add the following steps

Login to your node with an SSH client / Power terminal via

ssh -t umbrel@umbrel.local

Make a backup of your current lnd.conf

cp ~/umbrel/lnd/lnd.conf ~/umbrel/lnd/lnd.bak

Delete your current lnd.conf, re-configure Umbrel and restart the node

rm ~/umbrel/lnd/lnd.conf && ~/umbrel/scripts/configure && sudo reboot

After restart, your LND will take a few minutes to catch up again.
Go into the Umbrel Dashboard > Settings > Debug again and validate the wallet is unlocked this time.

In case of success, carefully add the lines of customization from your lnd.bak and copy those into your lnd.conf. Don’t copy the whole file, as it may contains a wrong configuration which caused your wallet to be locked in the first place.

1 Like

have done multiple restarts. have reflashed the sd 4 seperate times trying different os versions…

Okay, so I guess a restart and reflash is not sufficient.
What about the wallet adjustments I shared above, did you move on to this?

just tried lncli unlock, but password not working… onto part 2

part 2 done, but still no change. LND wallet not found…

umbrel-1641979244756-debug.log (37.9 KB)

Could you copy and paste the results of the commands please, from step 1 and 2 again:

  1. cd ~/umbrel && docker-compose exec lnd /bin/bash


lncli unlock
and especially
2) for every single command, instead of one in a row

  • rm ~/umbrel/lnd/lnd.conf
  • ~/umbrel/scripts/configure

I’m particulary interested what it states when you kick off the configure command

  1. Last login: Thu Jan 13 01:13:40 2022 from fe80::1837:41e7:6326:7b20%eth0
    umbrel@umbrel:~ $ cd umbrel
    umbrel@umbrel:~/umbrel $ docker-compose exec lnd /bin/bash
    bash-5.1$ lncli unlock
    Input wallet password:
    [lncli] rpc error: code = Unknown desc = wallet not found
    bash-5.1$ cp ~/umbrel/lnd/lnd.conf ~/umbrel/lnd/lnd.bak
    cp: can’t stat ‘/data/umbrel/lnd/lnd.conf’: No such file or directory

lncli unlock = (password does not work)

umbrel@umbrel:~ $ cp ~/umbrel/lnd/lnd.conf ~/umbrel/lnd/lnd.bak
umbrel@umbrel:~ $
umbrel@umbrel:~ $ rm ~/umbrel/lnd/lnd.conf
umbrel@umbrel:~ $ ~/umbrel/scripts/configure

=========== RECONFIGURING ============
========= UMBREL (mainnet) ===========

Configuring permissions…

chown: changing ownership of ‘/home/umbrel/umbrel/events/signals/shutdown’: Operation not permitted
Configuration successful
You can now start Umbrel by running:
sudo ./scripts/start

umbrel@umbrel:~ $ sudo reboot

@Hakuna I’m kind of confused at this point, as to what the issue is, and how best to solve ?

If i have LN channel backup and seed, would it not be easiest just to restore from seed?

Wait - not yet. A channel backup would trigger a force-close of all your channels, let’s try to keep that as a last resort.

Could be the file user permissions are off. This one threw me off, even though I never done the reconfig myself, I fear the configuration isn’t successfully completed, hence you’re stuck.
chown: changing ownership of ‘/home/umbrel/umbrel/events/signals/shutdown’: Operation not permitted

Could you try the 3, but especially the last command ~/umbrel/scripts/configure with sudo please
sudo ~/umbrel/scripts/configure

ah OK. I did not realise it triggered forced closure of channel. That is sub-optimal.

umbrel@umbrel:~/umbrel $ sudo ~/umbrel/scripts/configure
[sudo] password for umbrel:

=========== RECONFIGURING ============
========= UMBREL (mainnet) ===========

Skipping lnd.conf update to preserve user changes…
Configuring permissions…

Configuration successful
You can now start Umbrel by running:
sudo ./scripts/start

umbrel@umbrel:~/umbrel $

Okay, so what does it say? Did you sudo ./scripts/start and sudo reboot, I’d be curious what your debug says 10’ after the restart

I’m doing a similar process, how long did that loading screen take for you?

yeah i did… didn’t notice any change to the logs

LND just says no wallet. create wallet. Not sure if anything of interest on bitcoin side… ?

Yo. hrmm… it took me many days to get the system back online

Honestly, i don’t even recall exactly what did it. i reflashed the SD multiple times and i think that eventually worked… but am still having issues with bitcoin and lnd wallets stuck synchronizing

Sorry mate I was pre-occupied. What’s the current state in your logs?