LIGHTNING-DOWNGRADE(8)
π lightning-downgrade(8) β the girl's guide to going backwards
okay so bestie, welcome to lightning-downgrade β the manual page for the actual tool called lightning-downgrade. yes it's a whole thing, and yes it's about to be your new hyperfixation π
β¨ SYNOPSIS β¨
lightning-downgrade [ARGUMENTS]...
πΈ DESCRIPTION πΈ
lightning-downgrade un-does an upgrade by modifying the lightningd database back to the prior version. the way that it works is lowkey iconic. but β and this is the important part, so like, listen β lightningd must not be running at the time. not running. at all. not even a little bit. π
ngl, a downgrade might genuinely not be possible if some new feature got used that's incompatible with the older version. in that case the downgrade fails with a message and nothing gets changed β so like, no harm done, but also no downgrade. it's giving "we tried, we failed, we moved on" π
rule numero uno: use the latest lightning-downgrade to downgrade. fr fr. for example, the v25.12 lightning-downgrade won't know how to downgrade v26.06. like, it simply doesn't have the range, bestie.
good news though β all minor versions are compatible, so a downgrade to v25.09 will work fine with v25.09.1 or v25.09.2, etc. slay β¨
π¦ VERSIONS π¦
v25.12β downgrades tov25.09.- downgrade is not possible if
withhold truehas been used withfundchannel_complete, or ifaskrene-bias-nodehas been used. π«
- downgrade is not possible if
v25.09β downgrade is not supported. that's it. that's the whole entry. π
π OPTIONS π
okay this is the part where she pulls out the whole menu, and yes we're listing every single one π
--lightning-dir=DIRβ sets the directory for the lightning daemon we're talking to; defaults to$HOME/.lightning.--conf=PATHβ sets the configuration file (default:lightning-dir/config).--network=networkβ sets the network explicitly.--mainnetβ sets the network explicitly.--testnetβ sets the network explicitly.--testnet4β sets the network explicitly.--signetβ sets the network explicitly.--regtestβ sets the network explicitly.
yeah, those six all do the "sets network explicitly" thing. they're a little squad. π«Ά
--rpc-file=FILEβ the named pipe used to talk to the lightning daemon; default islightning-rpcin the lightning directory.wallet=DSNβ identifies the location of the wallet. for the details, go readlightningd-config(5). (note: no dashes on this one, she's built different π)--help/-hβ pretty-prints a summary of options to standard output and exits. the format can be changed using-F,-R,-J,-Hetc. cute AND customizable.--version/-Vβ prints the version number to standard output and exits.
π BUGS π
you should report bugs on our github issues page β and maybe submit a fix to gain our eternal gratitude! π like, actual eternal gratitude. we will remember you forever.
π§ AUTHOR π§
Rusty Russell <rusty@rustcorp.com.au> wrote the initial version of lightning-downgrade and this man page. main character energy fr fr π
π₯ SEE ALSO π₯
lightningd(8), lightningd-config(5)
π RESOURCES π
main web site: https://github.com/ElementsProject/lightning
π COPYING π
note: the modules in the ccan/ directory have their own licenses, but the rest of the code is covered by the BSD-style MIT license. main web site: https://github.com/ElementsProject/lightning
ok that's the whole page bestie, you ate that π«Άβ¨
π Core Lightning v26.06.9 β mwah, that's a wrap, go downgrade responsibly π
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms