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
[Discussion] installing c-lightning: need some help #857
Comments
Great initiative, it'd be awesome to have a guide for c-lightning (and later related add-ons) somewhere in the guide. The bonus section seems the easiest choice for now. If it were to become part of the main guide we would probably have to think about to deal with the split between LND and c-lightning... dual-install? (probably unnecessary for most users), either-or choice (nice but requires a very clear presentation to avoid risks of confusion for new users..). Anyways, just my 2 sats, looking forward to hear what others have to say! :)
Nice! I'll give it a try in the next few days/weeks.
Could it be because you run |
I run the For the the Tor cookie auth check in your
are present. |
@real-doman did you get c-lightning working yet? Would be really good to see a guide on this, would be happy to contribute. |
@openoms no. I gave the installation a new try and updated the guide a bit. (edit: My error (output) can be found in the guide) |
unfortunately the error you ran into is because you are installing from the zip file. This will be sorted for the next CL release, but until then install from source. See: raspiblitz/raspiblitz#2936 and ElementsProject/lightning#4962 (comment) |
Thats sad, because I am more familiar with this way. I can stick to the current lnd installation guide more easily. How ever, I tried to clone the repository now, unfortunately the error still appears. And for now I skipped the verification part because I don't know exactly how to do so :(
I looked into it and did these steps in my guide aswell:
The "missing file" error is fixed, but I got a new one now :/ |
I was able to fix my issues and afaik the installation of c-lightning was successful. For now the verification process is still missing in my guide. that needs to be added aswell. |
@real-doman It seems like I am getting some permission errors when trying to run
How can I trace where the permissions are breaking down? It seems like I'm not able to open the config file. I tried changing the file ownership using
|
@kendricng Will probably need to symlink the bitcoin direcrory to the default path in In the raspiblitz we kept C-lightning under the |
@openoms This is what I found when running
Will I need to recursively change access to 755 (i.e. rwxr-xr-x)? I think what happened was that I installed Checked
Quickly: I can seem to run
|
@kendricng be aware of the |
@openoms Yup. I'm aware. Also double checking the Raspibolt guide that I followed when I initially installed |
LND has nothing to do with this. |
I understand. What I mean is that I mirrored the guide from Raspibolt from the instructions there and followed @real-doman 's test guide for https://github.com/real-doman/RaspiBolt/blob/c-lightning/c-lightning.md I don't see the
Edit: It makes sense now. I went through the symlinking again using @real-doman I'll probably propose a few tweaks to your guide so it points properly. |
@real-doman in the Data Directory portion of your guide, instead of moving over the binary files for
I propose this change because the |
Agree, that part needs to be changed. Using But I can't say anything to the permisson denied errors... For me the guide worked if I run everything in exactly same order as in the guide. I don't run into permisson denied error on my raspibolt for some reason. |
did a cleaned script with which you can run line by line and use for reference to install CLN on raspibolt: https://gist.github.com/openoms/ef2d71f98d0f6ee6441e91f840b89e4c For example simplified the symlinks I would use:
then there are things like:
which are automated in the raspiblitz and can be tackled one by one after the basic installation is working. |
@real-doman I would suggest to open a PR on to the raspibolt repo (can make it a draft until it is ready to be merged) then your guide becomes visible, people can review, comment on the code and will get there soon |
Note the introduction of poetry for the pyhton depandencies and other changes: https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-ubuntu The install script will need to be refactored, see changes in: raspiblitz/raspiblitz#3054 |
note #1005 fixes this so can be closed |
Fixed with #1005, will now close the Issue. |
What & why
Add installation of c-lightning to give have more choises on which LN implementation you want to use on your raspibolt
I don't know if this should be a part of the bonus section or if it should be put elsewhere
I am far from being a system expert, nevertheless I started the guide.
The current guide is still in progress, because I run into an issue while the initial setup. You can find the draft guide here
I have tried to install c-lightning on the raspibolt, but unfortunately I don't get it running properly. To get an idea of the installation process I used the raspiblitz c-lightning installation file
The installation worked well for me, but I have troubles with the
config
file. When I try to run c-lightning for the first time I get a permisson error:My
cl
user is part of thedebian-tor
group and should have read permisson. So I don't know why the permisson is denied :(The text was updated successfully, but these errors were encountered: