[bug]: LND crashes on channel.db compact attempt - after file system crash #8033
-
After a hardware crash due to disk failure I cannot get lnd running again Should I perhaps try to start without compacting? Environment
Steps to reproduceStarting up with automatic compact - the previous working lnd.conf setup - gives this stack trace: 2023-09-19 19:32:19.916 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=true goroutine 1 [running]: I can provide more |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can try a manual |
Beta Was this translation helpful? Give feedback.
-
Moving this to a discussion thread, as the ask is only for guidance. |
Beta Was this translation helpful? Give feedback.
You can try a manual
compactdb
with chantools https://github.com/lightninglabs/chantools/blob/master/doc/chantools_compactdb.md. If that doesn't work you probably need to go through the recovery process (https://github.com/lightningnetwork/lnd/blob/master/docs/recovery.md).