-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No funds after restoring with seed. #278
Comments
@jetlagv1 please check out the LND Slack for that question: https://lightningcommunity.slack.com .. on-chain funds should get recovered when you restore by seed. If they dont that is an LND error I cannot give deeper support on. About restoring old bitcoin/lnd folders on the raspiblitz .. that could be an action of last resort. Its risky, because if you have an "old state" in the lnd backup, the channel counterparty could see this as you trying to cheat and claim the whole channel fundings. But for on-chains funds that should be of no risk to try. Please report your experience if you do. |
The risk of the old channel state is indeed limited because most of the balance was not in channels. And this is also the balance I would like to restore most. I'll go over to slack.... |
I cannot get into that channel. I don't have an account in that workspace |
@jetlagv1 follow the SLACK invite link on this page to register: https://dev.lightning.community |
admin@DMN737:~ $ sudo journalctl -u lnd -b --no-pager -n20 |
Can you see something fishy here? |
im having the same issue. After a new setup the onchain funds are gone (LND wallet was restored with the right seed) |
I had the same issue - Luckily was able to get backups from HDD of .Bitcoin and .LND folders and once the rebuild was completed (took 2 attempts) - Restored the .LND folder back, waited 24hrs to sync and funds started to appear in both off & on-chain wallets. LND restarting was problematic, I think due to some differences in permissions. Started manually with Bitcoin account and it works. I feel like it's a house of cards though and could collapse at anytime!! I get RPC errors when trying to access channels & balance info or remove funds but I'm patient and will sort that I'm sure. At least I can see funds are there... Phew! |
@OfficialBigAl if you restore LND folder manually the macaroons/TLS are in mismatch with admin user. In the 1.0 release there will be a option to RESET those macaroons/TLS in the EXPORT menu point. And yes - using lightning at this point in time is still #reckless. One idea of the RaspiBlitz is to have a early home-run lightning node to find all the weakspots to get them fixed and let the LND developers know. So please report that you also were not able to recover your funds in the normal way over at the LND Dev Slack, so LND devs put priority to fix this: https://dev.lightning.community |
Same for me. My old v.96 raspiblitz blew up somehow so I started over. Channels have been closed. No opportunity to release funds with the raspiblitz, as it was all kinds of messed up, but since no open channels I figured no big deal. Started fresh, and used the recovery seed when asked... no funds present now. |
Did anybody get a response on that from the LND Slack channel? They are doing a great job, but this is really something that needs to be improved and cannot be the status quo. https://dev.lightning.community |
Posted to LND Slack with hope to get some more details on this issue. |
|
Just to chip in here... I've had a similar issue and have used recovery window up to 5000 to no avail. Hopefully there is some attention in Slack soon, as although it's not large amount of satoshis for me, recovery is certainly an important issue!! |
It's a little more complicated than just running that command, but the link above should walk the user through the issue. |
I updated the FAQ doc to recover coins from seed, to set look-ahead/scan window to 250000 |
Ok. I tried this but still no funds...... The slack didn't get me any further than increasing the look ahead time and replacing the lnd directory with the backup I have. Both to no result. The look ahead time recovers the node without funds, the lnd backup won't let the node start...... |
@jetlagv1 To make sure we have a "cannot recover" not a "funds stolen" scenario ... can you check if you are seeing any transaction history by lnd after the recover. Can you post the funding transaction, so we can investigate on a blockchainexplorer the flow of on-chain funding. @jetlagv1 Did you use passwordD to encrypt the seed words? Have you tried to recover the funds in another wallet that accepts BIP39 seed words like electrum? If its a "cannot recover" scenario there should be more support/feedback from the lnd slack on this. |
I don't know anymore which transaction was the funding transaction for the on chain wallet on my raspiblitz. The details of my raspiblitz are here: https://1ml.com/node/0217b5c4691c811b14a9221921edf585a5259963523049060eedee2fd81b5c171f As for the seed, yes I did use a password on the seed and I used this same password when trying to recover. As you mentioned yourself in my other closed issue #205 the seed does not seem to work in a bip39 wallet. It does work when recovering the node because it re-generates the node with the same address atc.. |
This is really something to look into more deeply - will mark this for after the weekend. Any help on the community in investigating this is much welcome. |
I consider the funds almost lost. I can give you the seed and I can even send you the backup I have of the lnd directory or only the wallet.db and channels.db files if that helps. |
I've got this weekend set aside to look into this thoroughly myself. I've followed all of my on-chain funds from closed channels and can see everything is unspent in addresses that i'm certain my Blitz LND should have keys to, which is somewhat reassuring. My funds have been "lost" for a few months now, but I wasn't sure LND had implemented recovery fully, so never looked into it thoroughly. I've got a fresh BTC blockchain downloaded on a separate device so will hopefully be able to create a new LND instance and run a few tests to see if I can get to the bottom of the issues a few of us have had! |
@jetlagv1 maybe share your seed & lnd data with @mr-dakota for deeper investigation :) |
I've managed to successfully get my funds back, although I'm not certain what element actually worked. I started the node with a larger recovery-window, but there were still no funds initially, which was a little annoying. I then set about generating a series of new addresses to try and hit some old ones to find the funds. I sent fresh btc to a couple of the new addresses too but still nothing, so I sent those new funds away from LND with the intention to spin up another Blitz with an even larger recovery window. I then shut down the original node, and rebooted. The LND rescan as the Blitz rebooted actually managed to successfully find the old funds, so I can confirm success in restoring from seed, albeit with a few extra random steps!! |
@mr-dakota so much thank to going into so much deep research - it would be great if you can discuss this findings over at LND Dev Slack to get more details what might happens in the background and why. Now that you see this funds back on the RaspiBlitz can you check transaction history to see if there might have been some transactions (closing channels, etc.) waiting a long time for confirmation or something like that. |
@mr-dakota Thanks for the post on your successful recovery. I will try to copy your solution as soon as I have the time and update here on the outcome! |
@rootzoll Not a problem! Recovery is clearly an important element, and I actually had "lost" funds, so was a good excuse to investigate! I plan to discuss a bit further on the LND Slack, and perhaps submit an issue on the LND github, as although funds can be recovered, it's far from seamless and it seems that a fair few people have had troubles with it. All of the previous channel close transactions were successful, and confirmed way back at the end 2018 in my case, so it seemed to purely a case of LND not scanning addresses thoroughly enough. Thanks for all your work on the Raspiblitz by the way @rootzoll - I wouldn't be using Lightning without this great project! |
The wallet of bitcoind is disabled, you cannot recover anything from the bitcoin dir. |
this is the same thing. but explained by rootzoll: https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md#2-lnd-channel-state-backup |
Thanks for all your contributions on this... I spoke too soon. On Jan22 all funds were correct but I went away for 3 weeks and on return, the PI was sickly. No funds showing and refusing to co-operate. Wouldn't even show menu, just looping LND service and falling over. Rebuilt it over a couple of days - and got the PI to a stable state. Since I royally screwed this up, I placed a issue with the LND team to see if they can help |
... Drastic times call for Drastic measures. Backed-up and built a new V1.0 on a different SD card. In the morning it was showing 1 channel and a few Sats On and Off Chain but not as much as expected. Wasn't able to use the option to "Move fund Off-Chain" - Parameter missing...so had to do it manually. Can anyone advise? |
... The Sage Continues ... Waited 4 days and no more channels recovered or funds appeared. Decided to try something radical, I had a copy of both .Bitcoin and .LND folders from original V0.98 from back in Nov/Dec. So thought "What the hell!" Took 2 days to finally catch up...but then wallet was 0, Zero - Zitlch. :( Bugger... But then ... Of course, all the Channels are still live!! Used the Services->Admin/Macaroon function to rectify the permissions issue and proceeded to force close the channels. 2 Days later, I can say 50% of the channels have closed and the fund are safely back in the wallet and was able to move away. Just waiting for the remainder to close out. 👍 |
Interesting detail here: https://twitter.com/ShrimpCapital/status/1105664775822798848 |
I confirm that it helped to copy the lnd directory.
|
@Himbeergeld version v1.1 has now the script |
I might have ran into the same issue. I had to do a re-install of the whole raspiblitz setup after some issues.
There are some sats on that wallet. Should I refund with some more sats and everything will re-appear? Or should I just have started with a new wallet? Or what are other options I could try? So far I only tried Sorry for tagging along on this issue. Let me know if I should ask somewhere else. |
@escapedcat Check out the conversation here: #632 TL;DR: restore with the desktop Lightning App to get the on-chain funds back. Pay attention that the autopilot is on by default in the app, so switch it off in settings asap. |
@openoms thx! I tried it but also getting the |
Don`t use it further as it is demonstrated that you cannot restore it! Are you sure that your seed and passphrase is recorded correctly? I would cash out, make a final backup for future research and start a new one. |
Problem is that lightning-app isn't asking for a passphrase only for the seed. |
I assume my sats are save though. I'll try to recover it with another wallet and the seed. Maybe I try exodus. |
@escapedcat you can only cashout if there is a balance onchain . Also need to force-close all the channels first to get the funds there (if there are any channels open) . |
@openoms alright. I didn't know it's a different seed. Can't use lightning-app for now because it can't handle passphrases (yet) if I understand correctly. |
pls close this. Rootzoll added recover description in the README and FAQ and Openoms already explained solved the issue here. |
Hm, maybe I missed something and I think #632 is solving it for the future, but I'm still unsure of how to recover the sats from 2019. Maybe someone knows if this is possible by now and how. |
@escapedcat Did you recover with only seed option and you dont have any other backup files? |
Closed issue #205 was mine.
I didn't have time for a while but got around to restoring the raspiblitz with the use of the seed and password. It is running again but the funds are not showing. Not just the funds locked in channels but also the funds in the wallet. Everything shows 0 balance. Most of the funds where on chain and not in channels so how do I get acces to the wallet balance again? I also have a backup of the bitcoin and lnd folder from the original install if that is of any use.
The text was updated successfully, but these errors were encountered: