My lnd won’t start and in order to troubleshoot it I need to modify umbrel-lnd.conf directly (web GUI unavailable when LND doesn’t start).
But the file is rewritten by what’s configured in the web GUI, overwriting any changes I make to it.
How can I make my modifications to the file persist?
You have to edit the lnd.conf instead of the generated umbrel-lnd.conf:
- ssh into umbrel: ssh umbrel@umbrel.local
- edit lnd.conf: nano umbrel/app-data/lightning/data/lnd/lnd.conf
- restart lnd
Tried it but that doesn’t seem to work. I put in that log file “sync-freelist=true” but the umbrel-lnd.conf file still has “sync-freelist=false”, and when lnd starts, it’s showing it as “false” indeed, not using my lnd.conf file.
Stuck in this loop when starting lnd:
2024-07-24 22:32:38.627 [WRN] LTND: Config ‘bitcoin.active’ is deprecated, please remove it
2024-07-24 22:32:38.627 [INF] LTND: Version: 0.18.0-beta commit=v0.18.0-beta, build=production, logging=default, debuglevel=info
2024-07-24 22:32:38.649 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2024-07-24 22:32:38.650 [INF] RPCS: RPC server listening on 0.0.0.0:10009
2024-07-24 22:32:38.661 [INF] RPCS: gRPC proxy started at 0.0.0.0:8080
2024-07-24 22:32:38.662 [INF] LTND: Opening the main database, this might take a few minutes…
2024-07-24 22:32:38.716 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2024-07-24 22:32:38.693 [ERR] RPCS: [/lnrpc.Lightning/GetInfo]: waiting to start, RPC services not available
2024-07-24 22:32:38.719 [INF] LTND: Shutdown complete