-
Notifications
You must be signed in to change notification settings - Fork 11
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]: Fresh Install stuck in Waiting for system cert key file...
#130
Comments
Update, after fiddling around I've discovered that the cert directory in startos is:
Then: cp /embassy-data/package-data/volumes/c-lightning/data/main/bitcoin/server-key.pem /var/lib/embassy/ssl/c-lightning/rest/rest.key.pem
cp /embassy-data/package-data/volumes/c-lightning/data/main/bitcoin/server.pem /var/lib/embassy/ssl/c-lightning/rest/rest.cert.pem seems to fix. |
@storopoli I've stopped maintaining this package, but I'm sure @Dominion5254 would accept a PR to fix :) |
FTR this is probably an edge case on your particular hardware, I haven't ever seen this on any of my installs. But yeah I'm sure my code is not watertight :) |
I don't believe I have seen this before. Is there anything unique about your setup that might give us some clues as to why It is also worth mentioning that c-lightning-REST is slated to be deprecated in the near future in favor of clnrest, cln-grpc, commando, etc. So it might not make sense to add a find and patch a seemingly remote edge case for a soon to be deprecated connection interface. |
Start9 Server One 2023 with Celeron N4505 This started happening after I've I've also added the following lines to
|
Ahh yeah that's definitely a hack. I can't immediately think of a reason that would break the container, but doing stuff like that definitely 'voids your warranty" :p Have you tried just turning that off and seeing if it works? The container is not expecting the |
Yes tried restoring from a backup, wiping the Feel free to close this if you cannot reproduce it. |
It's doing the same thing from a fresh node with nothing in the datadir? That doesn't make any sense... |
Yes, because it does not have the |
The direct cause isn't immediately apparent to me either, but the clearnet hack almost certainly seems to be the culprit for the original issue. While it is great to see users doing cool DIY hacks, going under the hood to make changes such as this or resolving resulting issues is of course not something Start9 can officially support. But I am confused by why this would occur with "a brand new node" - by this do you mean re-installing CLN on the same box that you had |
I mean this is an OS issue if the cert volume isn't getting mounted on a fresh new install of CLN on a brand new start-os server. |
Agreed, if that is the case it warrants opening an issue on the StartOS repo, but I want to make sure that is in fact what @storopoli meant by "a brand new node". |
Prerequisites
Device
Laptop/Desktop
Device OS
Other
Device OS Version
startos
Browser
Firefox
Browser Version
127
Current Behavior
Installed CLN from scratch and now it is stuck in
Waiting for system cert key file...
I did a search and found that I am hitting this line:
cln-startos/docker_entrypoint.sh
Lines 106 to 111 in 29f0fe7
I have no idea what's going on. My start9
/mnt
dir does not have anything.Shouldn't CLN generate a system cert key file?
Cc @chrisguida since 48e6bbb introduce these lines.
Expected Behavior
CLN should start from a fresh install in StartOS and not be stuck in a infinite loop.
Steps to Reproduce
Anything else?
The text was updated successfully, but these errors were encountered: