Skip to content

Unable to startup: account alraedy exists #372

@kornpow

Description

@kornpow

I have recently recovered a Pool account and was attempting to fund it.
I think I attempted to fund it once (pool account new), but had no balance in my Lightning node, so I added coins to my node and attempting the funding process again, pool account new.

It gave me an error saying that a funding event was already in progress. Which I then looked at using CLI

{
	"accounts": [
		{
			"trader_key": "{my_trader_key}",
			"outpoint": "0000000000000000000000000000000000000000000000000000000000000000:0",
			"value": 10000000,
			"available_balance": 10000000,
			"expiration_height": 745017,
			"state": "PENDING_OPEN",
			"latest_txid": "0000000000000000000000000000000000000000000000000000000000000000"
		}
	]
}

I thought it was weird, so I stopped pool, and restarted and then this error started to occur, preventing me from starting the daemon.

rpc error: code = Unknown desc = account alraedy exists

Expected behavior

Actual behavior

The daemon does not start up

To reproduce

System information

Standalone

0.5.6-alpha commit=v0.5.6-alpha
self-compiled

x86 linux

ubuntu 20.04

2022-06-14 09:20:21.391 [INF] POOL: Version: 0.5.6-alpha commit=v0.5.6-alpha
2022-06-14 09:20:21.391 [INF] LNDC: Creating lnd connection to {connect url}
2022-06-14 09:20:21.392 [INF] LNDC: Connected to lnd
2022-06-14 09:20:21.536 [INF] LNDC: Waiting for lnd to unlock
2022-06-14 09:20:21.672 [INF] LNDC: Wallet state of lnd is now: Lnd main server is ready for requests
2022-06-14 09:20:21.827 [INF] LNDC: lnd version: v0.14.3-beta, build tags 'experimental,monitoring,autopilotrpc,chainrpc,invoicesrpc,routerrpc,signrpc,walletrpc,watchtowerrpc,wtclientrpc'
2022-06-14 09:20:21.827 [INF] LNDC: Using network mainnet
2022-06-14 09:20:21.827 [INF] LNDC: Waiting for lnd to be fully synced to its chain backend, this might take a while
2022-06-14 09:20:22.045 [INF] LNDC: lnd is now fully synced to its chain backend
2022-06-14 09:20:22.118 [INF] POOL: Auction server address: pool.lightning.finance:12010
2022-06-14 09:20:22.118 [INF] CLDB: Checking for schema update: latest_version=1, db_version=1
2022-06-14 09:20:22.118 [INF] RPCS: Starting trader server
2022-06-14 09:20:22.254 [INF] RPCS: Connected to lnd node {node_alias} with pubkey {pubkey}
2022-06-14 09:20:22.538 [ERR] AUCT: [/poolrpc.ChannelAuctioneer/InitAccount]: rpc error: code = Unknown desc = account alraedy exists
2022-06-14 09:20:22.538 [DBG] LNDC: Closing lnd connection
2022-06-14 09:20:22.538 [DBG] LNDC: Wait for client to finish
2022-06-14 09:20:22.538 [DBG] LNDC: Wait for chain notifier to finish
2022-06-14 09:20:22.538 [ERR] ACCT: Unable to receive block notification: rpc error: code = Canceled desc = grpc: the client connection is closing
2022-06-14 09:20:22.538 [DBG] LNDC: Wait for invoices to finish
2022-06-14 09:20:22.538 [DBG] LNDC: Wait for router to finish
2022-06-14 09:20:22.538 [DBG] LNDC: Lnd services finished
2022-06-14 09:20:22.538 [DBG] LNDC: Lnd services finished
2022-06-14 09:20:22.538 [INF] AUCT: Shutting down auctioneer client
unable to start server: unable to start account manager: unable to resume account {account hex}: rpc error: code = Unknown desc = account alraedy exists

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