In May 2024 I installed Knots (by sideloading it). Also installed Core Lightning from Community Registry. Knots expired a couple of days ago, so had to uninstall it (because no option to change expiry in GUI) and then I installed Knots 29.2 from Community Registry. After 18 hour IBD Knots is now running OK. I then updated Core Lightning, but it will not start.
Log shows:
2026-01-11T21:30:18+01:00 Starting Wait for Bitcoin Start
2026-01-11T21:30:18+01:00 Cleaning old lightning rpc
2026-01-11T21:30:18+01:00 Starting lightningd
2026-01-11T21:30:18+01:00 Waiting for lightning rpc to start…
2026-01-11T21:30:18+01:00 2026-01-11T20:30:18.287Z INFO lightningd: v25.09.3-modded
2026-01-11T21:30:18+01:00 2026-01-11T20:30:18.366Z UNUSUAL plugin-bookkeeper: topic ‘utxo_deposit’ is not a known notification topic
2026-01-11T21:30:18+01:00 2026-01-11T20:30:18.366Z UNUSUAL plugin-bookkeeper: topic ‘utxo_spend’ is not a known notification topic
2026-01-11T21:30:18+01:00 2026-01-11T20:30:18.398Z INFO lightningd: Updating database from version 256 to 277
2026-01-11T21:30:19+01:00 Cannot migrate account database version 15
2026-01-11T21:30:48+01:00 lightningd has stopped, exiting container
Knots doesn’t cause other services to fail to install/upgrade.
I’d be interesting to know more about CLN. You provide some unrelated Knots details, then say CLN doesn’t work, when it is CLN we need more details about.
What version of CLN were you running, what did you update to?
It looks like you were upgrading a very old version to a very recent version and the migration failed.
I am getting help in the Telegram “Core Lightning (CLN)” group:
“With the review done on our system, it occurred that the failure is due to a bookkeeper (accounts) database migration error in Core Lightning as a result of bug inflation when upgrading from v24.05 to v25.09.3.”
CLN devs will provide a rectifying server and a guide for me to use on my CLN node. Waiting for that.
Got help in Discord group “core-lightning”, they sent me here:
Solution for me was renaming the file accounts.sqlite3 like so:
sudo podman exec -it c-lightning.embassy bash
mv /root/.lightning/bitcoin/accounts.sqlite3 /root/.lightning/bitcoin/xxaccounts.sqlite3.bak
This is a better solution than what I used (I didn’t know how to get to the accounts file outside the container, which was stopping and restarting every 20 seconds or so).