Skip to content

Workaround to removing a watchtower with postgres backend #6725

@GordianLN

Description

@GordianLN

Background

Cannot remove watchtower (duh). One of several and known different errors (latest is I cannot do it while session is being negotiated).
Have postgres backend, and not be able to recur to the usual workaround of stop all services > delete wt.db > restart all services, as I do not have a wt.db file (duh II).
Restart lnd with wtclient.active=false in lnd.conf out of desperation.

Your environment

  • version of lnd 0.15
  • which operating system (uname -a on *Nix) raspios bullseye
  • version of btcd, bitcoind, or other backend .22
  • any other relevant environment details //

Steps to reproduce

Decide to remove watchtower as that is the last viable suspect for all issues of slow lnd start and high latency during rebalances. Notice you cannot do it.
Restart lnd with wtclient.active=false in lnd.conf out of desperation.

Expected behaviour

Being able to remove watchtower normally, but let's not be hasty. Being able to enact a workaround like boltdb operators can would be fine for now.

Actual behaviour

What's explained above.

I would like to get an official statement that will confirm, or not, that deleting the whole watchtower postgres table while all services are stopped, is a good working solution exactly like deleting boltdb file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions