Repository navigation
Workaround to removing a watchtower with postgres backend #6727
Unanswered
GordianLN
asked this question in
Troubleshooting
Replies: 4 comments 4 replies
|
I converted this into a discussion as the actual issue is #4420 Let me confirm if deleting the watchtower Postgres table will have the same effect as deleting the wt.db file and if it’s ok to do it as a workaround. I’ll get back to you asap. |
0 replies
|
Hi, are there news about this? What's the official stance for postgres, can you force-remove a watchtower by deleting the table in database? |
0 replies
|
towerclientdb_kv These are the two tables you'd need to delete. Theoretically, it should have the same effect as deleting wt.db, and it should be safe, but we'd prefer to test it first before actually recommending it, just to make sure. |
1 reply
|
So? I'm kinda still waiting for an official reply on this matter :-) |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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=falsein lnd.conf out of desperation.Your environment
lnd0.15uname -aon *Nix) raspios bullseyebtcd,bitcoind, or other backend .22Steps 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=falsein 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.
All reactions