lightninglabs / pool

Lightning Pool: a non-custodial batched uniform clearing-price auction for Lightning Channel Leases (LCL). An LCL packages up inbound channel liquidity (ability to receive funds) as a fixed income asset with a maturity date expressed in blocks.
MIT License
253 stars 47 forks source link

Lightning Terminal Pool Account Recovery #469

Open bpedreira opened 1 year ago

bpedreira commented 1 year ago

Hello

I am trying to recover my Pool account at Lightning Terminal, following the instructions from Troubleshooting - Builder’s Guide (lightning.engineering), but I am getting this error:

[pool] rpc error: code = Unknown desc = error performing recovery: could not recover account xxxxxx: error during authentication, before sending subscribe: server sent unexpected error

If I repeat the procedure the error changes to:

[pool] rpc error: code = Unknown desc = error performing recovery: could not recover account xxxx: account xxxx is already subscribed, cannot recover

I am afraid of loosing my funds! Can you help me complete the recovery? Thanks.

positiveblue commented 1 year ago

It looks like you already have an instance of pool (or lit) running. You need to shut it down before starting a new one (and the recovery process)

bpedreira commented 1 year ago

I have already deleted the Lightning Terminal app from Umbrel and reinstalled many times.

positiveblue commented 1 year ago

@bpedreira did you double check that there was no other litd/poold terminal running in the machine?

Does removing your Lightning terminal app from Umbrel delete the pool.db file? That may be the reason why the recovery process is failing.