getumbrel / umbrel-lightning

The official Lightning Node app for Umbrel, powered by LND.
https://umbrel.com
Other
17 stars 8 forks source link

wallet locked, unlock it to enable full RPC access #6

Closed pseudozach closed 2 years ago

pseudozach commented 2 years ago

after restart, lnd is locked.

2022-10-28 05:02:25.508 [ERR] RPCS: [/lnrpc.Lightning/ChannelBalance]: wallet locked, unlock it to enable full RPC access 2022-10-28 05:02:30.537 [ERR] RPCS: [/lnrpc.Lightning/ChannelBalance]: wallet locked, unlock it to enable full RPC access

I've tried running by running ~/umbrel/scripts/app compose lightning exec lnd lncli unlock with both default password moneyprintergobrrr and my ssh password but both give the error:

umbrel@umbrel:~ $ ~/umbrel/scripts/app compose lightning exec lnd lncli unlock "tailscale", Input wallet password: [lncli] rpc error: code = Unknown desc = invalid passphrase for master public key

pseudozach commented 2 years ago

in fact when I check the lightning_app_1 docker logs I see below error.

Checking LND status... Waiting for LND... Checking LND status... LND ready! Attempting to unlock wallet... Unlocking wallet failed: "invalid passphrase for master public key"

so am I to understand since default password is moneyprintergobrrr and that's the constant this app is trying as per https://github.com/getumbrel/umbrel-lightning/blob/c3316721c89420fcd9656d7c5b5b67b56a00e4d2/apps/backend/app.js#L98 so I don't know my own LND password?

Since this is a fresh install (after my previous upgrade from 0.4.x to 0.5 failed catastrophically and lost my 30+ channels on 2 year old node) this is the first time I'm rebooting and unlocking the node so how can I find out what actually is the correct "passphrase for master public key" ?

pseudozach commented 2 years ago

never mind, this was on me, I used a non-default password while trying to restore my previous wallet.