Improves readability in both the rendered and raw formats. Also, mention that `doas` is enabled only via the `secure-node.nix` template.
1.1 KiB
-
Q: The clightning service is running but when I try to use it (f.e. by running
lightning-cli getinfoas user operator) all I get islightning-cli: Connecting to 'lightning-rpc': Connection refused.
A: Check your clightning logs withjournalctl -eu clightning. Do you see something likebitcoin-cli getblock ... falsefailed? Are you using pruned mode? That means that clightning hasn't seen all the blocks it needs to and it can't get that block because your node is pruned.
If you're just setting up a new node you cansystemctl stop clightningand wipe your/var/lib/clightningdirectory. Otherwise you need to reindex the Bitcoin node. -
Q: My disk space is getting low due to nix.
A: runnix-collect-garbage -d -
Q: Where is
sudo?
A: After CVE-2021-3156, we've replacedsudowith OpenBSD'sdoasfor users of thesecure-node.nixtemplate. It has greatly reduced complexity and is therefore less likely to be a source of severe vulnerabilities in the future.