-
Notifications
You must be signed in to change notification settings - Fork 145
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: Unable to run CLN on macOS Vetura (13.5.2) #779
Comments
I've been digging a bit into this trying to figure out what was going on. Looking at the node error, looks like the following command is failing:
That seemed odd to me, why would
I checked that the file was there, and it indeed was, but something is odd with the file:
So I figured it may be worth trying to run without
This, to my understanding, is part of the entrypoint script to CLN, but that's as far as I've been able to get. Not sure what is causing the issue :/ |
Thank you for all of these troubleshooting details you've provided. I'm not sure exactly what changed that would cause this to break. I suspect it's either MacOS or Docker, but hard to tell for sure. I'm not sure when I'll have the bandwidth to troubleshoot this myself. If you gather any more info on this, please do share as it'll be helpful in getting to the bottom of this. |
After specifying the rpc socket file to another path in container, it works. Seems some issues between socket files and docker's volume. However, i have no idea about tracing the root of this issue. Here is a temporary solution:
If you got multiple networks, just change the last number with the biggest one. alice:
environment:
USERID: ${USERID:-1000}
GROUPID: ${GROUPID:-1000}
stop_grace_period: 2m
image: polarlightning/clightning:23.05.2
container_name: polar-n1-alice
hostname: alice
command: >-
lightningd --alias=alice --addr=alice --addr=0.0.0.0:9735
--network=regtest --bitcoin-rpcuser=polaruser
--bitcoin-rpcpassword=polarpass --bitcoin-rpcconnect=polar-n1-backend1
--bitcoin-rpcport=18443 --log-level=debug --dev-bitcoind-poll=2
--dev-fast-gossip --grpc-port=11001 --log-file=-
--log-file=/home/clightning/.lightning/debug.log
--plugin=/opt/c-lightning-rest/plugin.js --rest-port=8080
--rest-protocol=http --rpc-file=../../lightning-rpc
Maybe, on Polar sides, we can change the templates of CLN's configure to avoid this issue. |
Nice workaround! You can also do this from the GIU, simply editing the configuration of the CLN node and modifying the |
Thanks a bunch for sharing the workarounds. It looks like we can no longer mount the unix socket via the Docker volumes. This seems like an easy fix to implement directly in the codebase. I'll work on this when time permits. |
To add to the workarounds, it may be worth to also define a simlink to where
|
My initial thought was to just update the
|
That works, but it may break things outside the container that expect to find the I'm not saying that is a good practice, but I bet some projects do rely on it. |
That's cool, cause i'm just new to Polar, not noticed this feature. It's better than editing One thing I forget to mention is that you can not specify the absolute path with |
Yeah I think this is happening for me. I am trying to run polar alongside Im getting |
Just FYI, the patch to fix the default |
Trying to run any network including a CLN node (of any of the available versions for Polar 2.0.0) results in the CLN node not bootstraping.
Checking the logs of any of the CLN nodes, the same error pops up:
This seems to be related to
c-lightning-rest
, but that's as far as I can go.As a side note, I updated to Vetura (13.5.2) yesterday, and Polar was working fine with CLN nodes before that.
The text was updated successfully, but these errors were encountered: