ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.84k stars 901 forks source link

Plugin-sql: Plugin marked as important, shutting down lightningd! #7445

Closed javiervargas closed 3 months ago

javiervargas commented 4 months ago

Issue and Steps to Reproduce

Hi, just updated to lightning-cli --version v24.05-modded and I'm getting this output.

2024-07-01T14:52:51.216Z INFO    plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2024-07-01T14:52:51.216Z DEBUG   lightningd: io_break: plugin_config_cb
2024-07-01T14:52:51.216Z DEBUG   lightningd: io_loop_with_timers: config_plugin
2024-07-01T14:52:51.216Z DEBUG   lightningd: All Bitcoin plugin commands registered
2024-07-01T14:53:47.743Z DEBUG   lightningd: Adding block 850036: 00000000000000000001c662a00047bd0922150c1dda2311348bda759cb1d825
2024-07-01T14:53:47.743Z DEBUG   lightningd: io_break: maybe_completed_init
2024-07-01T14:53:47.772Z DEBUG   lightningd: io_loop_with_timers: setup_topology
2024-07-01T14:53:47.773Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.773Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.775Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.776Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.776Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.777Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.778Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.778Z DEBUG   wallet: Loaded 0 HTLC signatures from DB
2024-07-01T14:53:47.778Z DEBUG   wallet: Loaded 8 channels from DB
2024-07-01T14:53:47.778Z DEBUG   wallet: Loading in HTLCs for channel 119
2024-07-01T14:53:47.811Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.811Z DEBUG   wallet: Loading in HTLCs for channel 17024
2024-07-01T14:53:47.820Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.820Z DEBUG   wallet: Loading in HTLCs for channel 19095
2024-07-01T14:53:47.820Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.820Z DEBUG   wallet: Loading in HTLCs for channel 19349
2024-07-01T14:53:47.820Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.820Z DEBUG   wallet: Loading in HTLCs for channel 16540
2024-07-01T14:53:47.820Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.820Z DEBUG   wallet: Loading in HTLCs for channel 5218
2024-07-01T14:53:47.820Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.820Z DEBUG   wallet: Loading in HTLCs for channel 19377
2024-07-01T14:53:47.852Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.852Z DEBUG   wallet: Loading in HTLCs for channel 10307
2024-07-01T14:53:47.853Z DEBUG   wallet: Restored 0 incoming HTLCS
2024-07-01T14:53:47.853Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.902Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.902Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.903Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.903Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.903Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.903Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.903Z DEBUG   wallet: Restored 0 outgoing HTLCS
2024-07-01T14:53:47.903Z DEBUG   lightningd: Increasing file descriptor limit to 65536 (8 channels, max is 1048576)
2024-07-01T14:53:47.914Z DEBUG   gossipd: pid 22254, msgfd 53
2024-07-01T14:53:47.914Z DEBUG   hsmd: Client: Received message 28 from client
2024-07-01T14:53:47.914Z DEBUG   hsmd: Client: Received message 28 from client
2024-07-01T14:53:47.914Z DEBUG   hsmd: new_client: 0
2024-07-01T14:53:55.596Z DEBUG   gossipd: Store compact time: 7469 msec
2024-07-01T14:53:55.597Z DEBUG   gossipd: gossip_store: Read 51038/96554/12893/0 cannounce/cupdate/nannounce/delete from store in 43297080 bytes, now 43297058 bytes (populated=false)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849111x1441x0/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 691565x1069x1/0 has silly values, disabling (cltv=40, fee=0+2755359744)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 848148x1546x0/1 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849177x3514x1/1 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849184x2508x1/1 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 734491x992x3/1 has silly values, disabling (cltv=40, fee=60293120+2)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849230x2620x1/1 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849288x2179x0/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849294x2463x0/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 841534x366x1/0 has silly values, disabling (cltv=80, fee=1000+4294967295)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 848047x2464x1/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849330x2149x1/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849331x904x1/1 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 849375x1743x0/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.597Z DEBUG   gossipd: Update for 783389x1205x1/0 has silly values, disabling (cltv=40, fee=1000+10000000)
2024-07-01T14:53:55.598Z DEBUG   gossipd: Update for 698902x1859x1/0 has silly values, disabling (cltv=40, fee=0+2755359744)
2024-07-01T14:53:55.598Z DEBUG   gossipd: Update for 849388x349x0/0 has silly values, disabling (cltv=72, fee=2147483647+2147483647)
2024-07-01T14:53:55.598Z DEBUG   gossipd: Update for 807323x2016x1/0 has silly values, disabling (cltv=210, fee=0+2500000000)
2024-07-01T14:53:55.598Z DEBUG   gossipd: Update for 842844x2277x1/0 has silly values, disabling (cltv=18, fee=20000000+2500000)
2024-07-01T14:53:55.598Z DEBUG   gossipd: REPLY WIRE_GOSSIPD_INIT_REPLY with 0 fds
2024-07-01T14:53:55.598Z DEBUG   lightningd: io_break: gossipd_init_done
2024-07-01T14:53:55.598Z DEBUG   lightningd: io_loop: gossip_init
2024-07-01T14:53:58.160Z DEBUG   lightningd: Looking for [autoclean,succeededforwards,num]
2024-07-01T14:53:58.166Z DEBUG   lightningd: Looking for [autoclean,failedforwards,num]
2024-07-01T14:53:58.174Z DEBUG   lightningd: Looking for [autoclean,succeededpays,num]
2024-07-01T14:53:58.174Z DEBUG   hsmd: Client: Received message 27 from client
2024-07-01T14:53:58.178Z DEBUG   lightningd: Looking for [autoclean,failedpays,num]
2024-07-01T14:53:58.184Z DEBUG   lightningd: Looking for [autoclean,paidinvoices,num]
2024-07-01T14:53:58.188Z DEBUG   lightningd: Looking for [autoclean,expiredinvoices,num]
2024-07-01T14:53:58.739Z DEBUG   hsmd: Client: Received message 27 from client
2024-07-01T14:53:59.251Z INFO    plugin-sql: Killing plugin: exited before replying to init
2024-07-01T14:53:59.251Z **BROKEN** plugin-sql: Plugin marked as important, shutting down lightningd!
2024-07-01T14:53:59.251Z DEBUG   lightningd: io_break: lightningd_exit
2024-07-01T14:53:59.251Z DEBUG   connectd: REPLY WIRE_CONNECTD_START_SHUTDOWN_REPLY with 0 fds
2024-07-01T14:53:59.251Z DEBUG   lightningd: io_break: connectd_start_shutdown_reply
2024-07-01T14:53:59.252Z DEBUG   lightningd: io_break: destroy_plugin
2024-07-01T14:53:59.252Z DEBUG   connectd: Shutting down
2024-07-01T14:53:59.256Z DEBUG   gossipd: Shutting down
2024-07-01T14:53:59.256Z DEBUG   hsmd: Shutting down

getinfo output

vincenzopalazzo commented 4 months ago

You can solve it (if you are not using it) with lightningd --disable-plugin=sql, in the mean while thank for the report :)