Skip to content

[bug]: No idea why lnd is stuck - could it be compacting for 18+ hours? #8532

@bensig

Description

@bensig

Background

lnd stuck for 18+ hours

Your environment

  • version of lnd: lncli version 0.17.3-beta commit=v0.17.3-beta
  • which operating system (uname -a on *Nix): Linux 4.19.0-26-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux
  • version of btcd, bitcoind, or other backend Bitcoin Core RPC client version v26.0.0
  • any other relevant environment details

Steps to reproduce

Just updated from 16 to 17.3 and restarted...
Bitcoin fully sync'd and I can create addresses and bitcoin txs just fine.

bitcoin-cli getblockcount
833658

Expected behaviour

Should have some idea of why it is not loading... all it says is that RPC services are not avail:

lncli getinfo 
[lncli] rpc error: code = Unknown desc = waiting to start, RPC services not available

Actual behaviour

log shows:

2024-03-07 00:00:08.534 [INF] CHDB: Compacting database file at /home/bitcoin/.lnd/data/graph/mainnet/channel.db
...
2024-03-07 18:51:05.068 [ERR] RPCS: [/lnrpc.Lightning/LookupInvoice]: waiting to start, RPC services not available
2024-03-07 18:51:06.768 [ERR] RPCS: [/lnrpc.Lightning/GetInfo]: waiting to start, RPC services not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions