Workaround to removing a watchtower with postgres backend #6727
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
So? I'm kinda still waiting for an official reply on this matter :-) |
Beta Was this translation helpful? Give feedback.
-
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
lnd
0.15uname -a
on *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=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.
Beta Was this translation helpful? Give feedback.
All reactions