Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: ErrorMessage { msg: "bcli info not found" } #4

Open
1 task done
addisjon opened this issue Jan 5, 2023 · 1 comment
Open
1 task done

[bug]: ErrorMessage { msg: "bcli info not found" } #4

addisjon opened this issue Jan 5, 2023 · 1 comment

Comments

@addisjon
Copy link

addisjon commented Jan 5, 2023

Prerequisites

  • I have searched for existing issues that already report this problem.

Device

Laptop/Desktop

Device OS

Linux

Device OS Version

Ubuntu 18.04

Browser

Chrome

Browser Version

86.0.4240.183

Current Behavior

After installing the plugin from source using the instructions and restarting lightningd, I receive the following error.

ErrorMessage { msg: "bcli info not found" }

This is the lightning.log

2023-01-05T15:55:20.581Z DEBUG plugin-manager: started(21723) /usr/local/libexec/c-lightning/plugins/autoclean
2023-01-05T15:55:20.766Z DEBUG plugin-manager: started(21725) /usr/local/libexec/c-lightning/plugins/chanbackup
2023-01-05T15:55:20.859Z DEBUG plugin-manager: started(21727) /usr/local/libexec/c-lightning/plugins/bcli
2023-01-05T15:55:20.949Z DEBUG plugin-manager: started(21732) /usr/local/libexec/c-lightning/plugins/commando
2023-01-05T15:55:21.029Z DEBUG plugin-manager: started(21733) /usr/local/libexec/c-lightning/plugins/fetchinvoice
2023-01-05T15:55:21.090Z DEBUG plugin-manager: started(21734) /usr/local/libexec/c-lightning/plugins/funder
2023-01-05T15:55:21.174Z DEBUG plugin-manager: started(21735) /usr/local/libexec/c-lightning/plugins/topology
2023-01-05T15:55:21.248Z DEBUG plugin-manager: started(21736) /usr/local/libexec/c-lightning/plugins/keysend
2023-01-05T15:55:21.291Z DEBUG plugin-manager: started(21737) /usr/local/libexec/c-lightning/plugins/offers
2023-01-05T15:55:21.343Z DEBUG plugin-manager: started(21738) /usr/local/libexec/c-lightning/plugins/pay
2023-01-05T15:55:21.417Z DEBUG plugin-manager: started(21739) /usr/local/libexec/c-lightning/plugins/txprepare
2023-01-05T15:55:21.500Z DEBUG plugin-manager: started(21740) /usr/local/libexec/c-lightning/plugins/spenderp
2023-01-05T15:55:21.558Z DEBUG plugin-manager: started(21742) /usr/local/libexec/c-lightning/plugins/cln-grpc
2023-01-05T15:55:21.630Z DEBUG plugin-manager: started(21743) /usr/local/libexec/c-lightning/plugins/bookkeeper
2023-01-05T15:55:21.706Z DEBUG plugin-manager: started(21747) /home/xxx/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
2023-01-05T15:55:21.770Z DEBUG plugin-manager: started(21759) /home/xxx/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin
2023-01-05T15:55:22.254Z INFO connectd: Static Tor service onion address: "xxx.onion:xxx,127.0.0.1:xxx" bound from extern port xxx
2023-01-05T15:55:22.330Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2023-01-05T15:55:22.589Z DEBUG plugin-bookkeeper: Setting up database at sqlite3://accounts.sqlite3
2023-01-05T15:55:22.596Z DEBUG plugin-chanbackup: Chanbackup Initialised!
2023-01-05T15:55:22.605Z INFO lightningd: --------------------------------------------------
2023-01-05T15:55:22.606Z INFO lightningd: Server started with public key xxx, alias xxx and lightningd v22.11.1-modded
2023-01-05T15:55:22.615Z INFO plugin-c-lightning-pruning-plugin: Killing plugin: exited during normal operation
2023-01-05T15:55:25.402Z DEBUG plugin-bookkeeper: account wallet has balance 0msat

This is my lightning config

alias=xxx
network=testnet
log-file=/home/xxx/.lightning/lightning.log
log-level=debug:plugin
http-pass=xxx
http-bind=127.0.0.1:1312
proxy=127.0.0.1:9050
bind-addr=127.0.0.1:9735
addr=statictor:127.0.0.1:9051
always-use-proxy=true
grpc-port=8001
bitcoin-datadir=/home/xxx/.bitcoin
bitcoin-rpcconnect=127.0.0.1
bitcoin-rpcuser=xxx
bitcoin-rpcpassword=xxx
bitcoin-rpcport=18332
plugin=/home/xxx/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
plugin=/home/xxx/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin

Expected Behavior

Since the bcli plugin has clearly loaded and initialized correctly from the logs, I wouldn't expect the c-lightning-pruning-plugin to throw a bcli error.

Steps to Reproduce

See above

Anything else?

No response

@KamPuc86zg
Copy link

Prerequisites

  • I have searched for existing issues that already report this problem.

Device

Laptop/Desktop

Device OS

Linux

Device OS Version

Ubuntu 18.04

Browser

Chrome

Browser Version

86.0.4240.183

Current Behavior

After installing the plugin from source using the instructions and restarting lightningd, I receive the following error.

ErrorMessage { msg: "bcli info not found" }

This is the lightning.log

2023-01-05T15:55:20.581Z DEBUG plugin-manager: started(21723) /usr/local/libexec/c-lightning/plugins/autoclean
2023-01-05T15:55:20.766Z DEBUG plugin-manager: started(21725) /usr/local/libexec/c-lightning/plugins/chanbackup
2023-01-05T15:55:20.859Z DEBUG plugin-manager: started(21727) /usr/local/libexec/c-lightning/plugins/bcli
2023-01-05T15:55:20.949Z DEBUG plugin-manager: started(21732) /usr/local/libexec/c-lightning/plugins/commando
2023-01-05T15:55:21.029Z DEBUG plugin-manager: started(21733) /usr/local/libexec/c-lightning/plugins/fetchinvoice
2023-01-05T15:55:21.090Z DEBUG plugin-manager: started(21734) /usr/local/libexec/c-lightning/plugins/funder
2023-01-05T15:55:21.174Z DEBUG plugin-manager: started(21735) /usr/local/libexec/c-lightning/plugins/topology
2023-01-05T15:55:21.248Z DEBUG plugin-manager: started(21736) /usr/local/libexec/c-lightning/plugins/keysend
2023-01-05T15:55:21.291Z DEBUG plugin-manager: started(21737) /usr/local/libexec/c-lightning/plugins/offers
2023-01-05T15:55:21.343Z DEBUG plugin-manager: started(21738) /usr/local/libexec/c-lightning/plugins/pay
2023-01-05T15:55:21.417Z DEBUG plugin-manager: started(21739) /usr/local/libexec/c-lightning/plugins/txprepare
2023-01-05T15:55:21.500Z DEBUG plugin-manager: started(21740) /usr/local/libexec/c-lightning/plugins/spenderp
2023-01-05T15:55:21.558Z DEBUG plugin-manager: started(21742) /usr/local/libexec/c-lightning/plugins/cln-grpc
2023-01-05T15:55:21.630Z DEBUG plugin-manager: started(21743) /usr/local/libexec/c-lightning/plugins/bookkeeper
2023-01-05T15:55:21.706Z DEBUG plugin-manager: started(21747) /home/xxx/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
2023-01-05T15:55:21.770Z DEBUG plugin-manager: started(21759) /home/xxx/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin
2023-01-05T15:55:22.254Z INFO connectd: Static Tor service onion address: "xxx.onion:xxx,127.0.0.1:xxx" bound from extern port xxx
2023-01-05T15:55:22.330Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2023-01-05T15:55:22.589Z DEBUG plugin-bookkeeper: Setting up database at sqlite3://accounts.sqlite3
2023-01-05T15:55:22.596Z DEBUG plugin-chanbackup: Chanbackup Initialised!
2023-01-05T15:55:22.605Z INFO lightningd: --------------------------------------------------
2023-01-05T15:55:22.606Z INFO lightningd: Server started with public key xxx, alias xxx and lightningd v22.11.1-modded
2023-01-05T15:55:22.615Z INFO plugin-c-lightning-pruning-plugin: Killing plugin: exited during normal operation
2023-01-05T15:55:25.402Z DEBUG plugin-bookkeeper: account wallet has balance 0msat

This is my lightning config

alias=xxx
network=testnet
log-file=/home/xxx/.lightning/lightning.log
log-level=debug:plugin
http-pass=xxx
http-bind=127.0.0.1:1312
proxy=127.0.0.1:9050
bind-addr=127.0.0.1:9735
addr=statictor:127.0.0.1:9051
always-use-proxy=true
grpc-port=8001
bitcoin-datadir=/home/xxx/.bitcoin
bitcoin-rpcconnect=127.0.0.1
bitcoin-rpcuser=xxx
bitcoin-rpcpassword=xxx
bitcoin-rpcport=18332
plugin=/home/xxx/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
plugin=/home/xxx/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin

Expected Behavior

Since the bcli plugin has clearly loaded and initialized correctly from the logs, I wouldn't expect the c-lightning-pruning-plugin to throw a bcli error.

Steps to Reproduce

See above

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants