Closed hakonamatata closed 6 years ago
This issue has been fixed in master, you're running a pretty old release, and we'll cutting 0.5 pretty soon here. Check out this issue for the current work around for older nodes: https://github.com/lightningnetwork/lnd/issues/1476#issuecomment-402299584
Thanks @Roasbeef, see that there has been a lot of commits since my version. Installed the latest version from the master branch.
admin@RaspiBolt:/home/bitcoin/.lnd $ lncli -v
lncli version 0.4.2 commit=90cdc9da8f60dd94d99d61fd9e86a7ffd39b3b1b
admin@RaspiBolt:/home/bitcoin/.lnd $ sudo journalctl -f -u lnd
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Aug 16 15:02:29 RaspiBolt systemd[1]: Started LND Lightning Daemon.
Aug 16 15:02:30 RaspiBolt systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Aug 16 15:02:30 RaspiBolt systemd[1]: lnd.service: Unit entered failed state.
Aug 16 15:02:30 RaspiBolt systemd[1]: lnd.service: Failed with result 'exit-code'.
Aug 16 15:03:30 RaspiBolt systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Aug 16 15:03:30 RaspiBolt systemd[1]: Stopped LND Lightning Daemon.
Aug 16 15:03:30 RaspiBolt systemd[1]: Started LND Lightning Daemon.
Aug 16 15:03:30 RaspiBolt systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Aug 16 15:03:30 RaspiBolt systemd[1]: lnd.service: Unit entered failed state.
Aug 16 15:03:30 RaspiBolt systemd[1]: lnd.service: Failed with result 'exit-code'.
But this resulted in a new error message :/
Your latest comment doesn't show this new error message. Did you apply the patch from the PR I linked to?
I pulled the latest version from master.
I was able to make it work finally. I removed everything except lnd and lncli in the .lnd folder Also changed the config to contain rpcuser and rpcpass then i generated a new cert manually..
rm tls.*
openssl ecparam -genkey -name prime256v1 -out tls.key
openssl req -new -sha256 -key tls.key -out csr.csr -subj '/CN=localhost/O=lnd'
openssl req -x509 -sha256 -days 36500 -key tls.key -in csr.csr -out tls.cert
Background
My lightning node / service keep crashing. I get this output:
Your environment
lnd
lnd-linux-arm-v0.4.2-beta
uname -a
on *Nix)Linux RaspiBolt 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l GNU/Linux
btcd
,bitcoind
, or other backendbitcoin-0.16.2-arm-linux
Steps to reproduce
Everything worked fine.
Tried to manually create a channel with lightning gem's node https://testnet.lightninggem.com/
03ad367178e939a68a7c88711788e431c39496f14b6bdd8356dcf60be0c97b8a16@35.185.13.214:9736.
This seem to work, but I think I got a channel id = 0
After this it keep crashing.
Can I reset and restart everything somehow?