[bug]: could not populate the graph cache: invalid edge key xxxx encountered #10181
Replies: 6 comments
-
Thank you for reporting this issue, we are investigating and will reach out to your for further instructions. |
Beta Was this translation helpful? Give feedback.
-
Did you recently update to 15.1 or did you do something special or just a restart ? Or did your node crash for some reason ? Diagnosis: Data CorruptionThis error strongly suggests corruption in your local channel graph data. The Lightning Network daemon is designed to never write edge keys that are not exactly 41 bytes - this is a fundamental constraint in the codebase. Since you're encountering an edge key that doesn't meet this requirement, it indicates the underlying data has been corrupted after it was Recommended SolutionWe recommend using the chantools utility to recover from this state:
|
Beta Was this translation helpful? Give feedback.
-
Error when using dropchannelgraph
|
Beta Was this translation helpful? Give feedback.
-
channel.db file here |
Beta Was this translation helpful? Give feedback.
-
seems like your channel.db is corrupted, which means you need to go ahead and trigger the SCB backup recovery process. |
Beta Was this translation helpful? Give feedback.
-
you could try compacting the db via chantools and see whether this can recover the state, but I think the db is corrupted and cannot be recovered. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
Your environment
lnd
uname -a
on *Nix)btcd
,bitcoind
, or other backendSteps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
logs
lnd.log
ERRs
WRNs
lit.conf
Beta Was this translation helpful? Give feedback.
All reactions