Upgrade Issue with Core Lightning 24.02: Errors and Solutions

4 replies 474 views
n1ck_f0rkNewbie
Posts: 4 · Reputation: 34
#1Aug 15, 2021, 12:42 PM
I'm on Core Lightning v23.08 and trying to upgrade to v24.02.1, but I'm getting a failure when I run 'make'. The error says there's no module named 'grpc_tools'. I checked with 'python3 -m pip list' and... nothing shows up. I tried installing grpc-tools manually with 'python3 -m pip install grpc-tools', but that didn't work either. My setup's a Pi 4B. Is there something I'm clearly missing here?
5 Reply Quote Share
gang2015Member
Posts: 269 · Reputation: 62
#2Aug 17, 2021, 12:27 AM
From what I see, you're not on the right path. I don't mess with Core Lightning myself, but their setup guide mentions using poetry for package installs instead of pip. You should check that out. Plus, grpc-tools isn’t listed in their poetry.lock, so you might be installing something unnecessary. Did you actually follow their setup steps?
3 Reply Quote Share
n1ck_f0rkNewbie
Posts: 4 · Reputation: 34
#3Aug 17, 2021, 02:13 AM
Appreciate the input! I did follow the RaspiBolt guide to install it, but now that you mention it, I see some potential conflict with the Elements docs. I know the c-lightning-REST plugin got merged into the main codebase around v23.08. I installed poetry, but it didn't fix the build issue right away. I’ll dig into that more and keep you posted if I find a solution.
3 Reply Quote Share
n1ck_f0rkNewbie
Posts: 4 · Reputation: 34
#4Aug 17, 2021, 07:26 AM
Sounds like part of the issue is how RaspiBolt handles user permissions. I ran the grpcio-tools install with the user flag as 'admin', but when upgrading as user 'lightningd', it might not have had the right access. Switching to run as lightningd for that command fixed the grpc-tools issue. Now lightning-cli shows v24.02. But when I tried to restart the service, it failed. Got some error messages in the logs about that.
1 Reply Quote Share
n1ck_f0rkNewbie
Posts: 4 · Reputation: 34
#5Aug 17, 2021, 09:31 AM
Just opened an issue on GitHub about this. Seems like a good place to get further help. Anyone else experiencing similar problems?
4 Reply Quote Share

Related topics