-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Migration error from 0.7.1 to 0.8.0 #3760
Comments
How is the node shutdown before y'alls updated process? Based on that fragment, it looks like the freelist was corrupted. Within 0.8, we stopped syncing the free list to disk by default which was done in order to take advantage of performance improvements, but also since it seemed that may of the disk corruption instances we saw were related to the free list. The latest version will no longer write the free-list to disk, but will instead reconstruct it from scratch. If you boot with If the SCB file wasn't present, then that may indicate partial data loss. |
Closing due to inactivity. |
Finally got back around to this,
|
Background
Casa Nodes updated from 0.7.1 to 0.8.0 and a half dozen didn't make it. We have been receiving reports that lnd doesn't start back up. After reviewing two sets of logs, they both look like the error message listed below. It leads me to believe there was a wallet corruption during the migration process.
Unfortunately, I just jumped onto a customer node and found that the SCB file was missing. Somehow, during the migration, the backup file must have been deleted. I suppose this user could have been migrating from pre 0.6.0 (I didn't ask), but it seems unlikely.
Is there any way to extract an SCB file from the wallet.db file? I have access to wallet.db.
Your environment
lnd
0.8.0
uname -a
on *Nix)Linux v1-casa-node-develop 4.14.70-v7+ Fixing some README typos #2 SMP Wed Sep 19 07:49:26 UTC 2018 armv7l GNU/Linux
btcd
,bitcoind
, or other backendbitcoin ~0.18.0
Running everything in docker containers on a Casa Node.
Steps to reproduce
Lnd is constantly restarting with similar errors listed below.
I think this relates to #3550
Expected behaviour
LND should start up properly.
Actual behaviour
Lnd is crashing at boot up.
The text was updated successfully, but these errors were encountered: