Skip to content

Unable to start loop in integrated mode: sql: Scan error on column index 20, name "publication_deadline" #615

@MButcho

Description

@MButcho

When I loop out, I get green confirmation windows, but nothing shows as initiated.

Expected behavior
I expect:
image

Actual behavior
No loop out is showing. I opened loop_sqlite.db and checked data:
image

To reproduce
Every time I loop out, I receive weird date in DB. LND and all is running well.

System information
I am using Lightning Terminal standalone with this in litd.conf:
lnd-mode=integrated
Running v0.10.4-alpha downloaded lightning-terminal-linux-amd64-v0.10.4-alpha.tar.gz from https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.10.4-alpha
Running local node with Ubuntu 22.04 and SSD

When I restart a service with wrong date, this is the error in litd.log:
2023-08-05 12:07:26.324 [INF] LOOPD: Opening sqlite3 database at: /home/litd/.loop/mainnet/loop_sqlite.db
2023-08-05 12:07:26.445 [WRN] GRPC: [core] grpc: addrConn.createTransport failed to connect to {swap.lightning.today:11010 swap.lightning.today:11010 0 }. Err: connection error: desc = "transport: Error while dialing dial tcp: lookup swap.lightning.today: operation was canceled". Reconnecting...
2023-08-05 12:07:26.447 [ERR] LITD: Error starting Lightning Terminal: could not start subservers: unable to start loop in integrated mode: sql: Scan error on column index 20, name "publication_deadline": unsupported Scan, storing driver.Value type string into type *time.Time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions