Skip to content

plugin-sql BROKEN #9024

@Lagrang3

Description

@Lagrang3

Running v26.04rc2, after paying an invoice in Zeus wallet plugin-sql fails.

2026-04-02T10:29:45.779Z DEBUG   plugin-sql: sendpays: records created, inserting from 1
2026-04-02T10:29:45.779Z TRACE   lightningd: waiting on sendpays created 6074
2026-04-02T10:29:45.779Z TRACE   lightningd: waiting on sendpays updated 6074
2026-04-02T10:29:45.779Z TRACE   lightningd: waiting on sendpays deleted 1
2026-04-02T10:29:45.932Z DEBUG   plugin-sql: Time to call listsendpays: 0.098392951 seconds
2026-04-02T10:29:45.932Z DEBUG   plugin-sql: Time to refresh sendpays: 0.137310484 seconds (last=6073)
2026-04-02T10:29:45.932Z DEBUG   plugin-sql: Time to refresh + create indices for sendpays: 0.140120043 seconds
2026-04-02T10:29:46.373Z INFO    plugin-clnrest: Authorized rune_id:`0` access to method: `listfunds`, params: `{}`
2026-04-02T10:29:53.954Z TRACE   gossipd: Too-old update for 923888x1305x0
2026-04-02T10:30:10.537Z INFO    plugin-clnrest: Authorized rune_id:`0` access to method: `sql`, params: `{"query":"select sp.payment_hash, sp.groupid, min(sp.status) as status, min(sp.destination) as destination, min(sp.created_at) as created_at, min(sp.description) as description, min(sp.bolt11) as bolt11, min(sp.bolt12) as bolt12, sum(case when sp.status = 'complete' then sp.amount_sent_msat else null end) as amount_sent_msat, sum(case when sp.status = 'complete' then sp.amount_msat else 0 end) as amount_msat, max(sp.payment_preimage) as preimage from sendpays sp group by sp.payment_hash, sp.groupid order by created_index desc limit 150"}`
2026-04-02T10:30:11.850Z INFO    plugin-clnrest: Authorized rune_id:`0` access to method: `getinfo`, params: `{}`
2026-04-02T10:30:11.850Z INFO    plugin-clnrest: Authorized rune_id:`0` access to method: `listtransactions`, params: `{}`
2026-04-02T10:30:11.851Z INFO    plugin-clnrest: Authorized rune_id:`0` access to method: `sql`, params: `{"query":"SELECT account, tag, outpoint, credit_msat, debit_msat, timestamp, blockheight FROM bkpr_accountevents WHERE (tag='deposit' OR tag='to_them' OR tag='channel_open' OR tag='channel_close') ORDER BY timestamp DESC LIMIT 150"}`
2026-04-02T10:30:11.863Z TRACE   lightningd: waiting on channelmoves created 11985
2026-04-02T10:30:11.863Z TRACE   lightningd: waiting on channelmoves updated 1
2026-04-02T10:30:11.863Z TRACE   lightningd: waiting on channelmoves deleted 1
2026-04-02T10:30:12.381Z INFO    plugin-sql: Killing plugin: exited during normal operation
2026-04-02T10:30:12.381Z **BROKEN** plugin-sql: Plugin marked as important, shutting down lightningd!

Metadata

Metadata

Assignees

No one assigned

    Labels

    26.04 bugbug identified in the 26.04 CLN release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions