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?
Upgrade Issue with Core Lightning 24.02: Errors and Solutions
4 replies 474 views
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?
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.
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.
Just opened an issue on GitHub about this. Seems like a good place to get further help. Anyone else experiencing similar problems?