Skip to content
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

update nixpkgs #753

Merged
merged 1 commit into from
Dec 18, 2024
Merged

update nixpkgs #753

merged 1 commit into from
Dec 18, 2024

Conversation

jonasnick
Copy link
Member

Pkg updates in nixpkgs stable:
btcpayserver: 1.13.5 -> 1.13.7
nbxplorer: 2.5.7 -> 2.5.16

Pkg updates in nixpkgs unstable:
clboss: 0.14.0 -> 0.14.1
clightning: 24.08.2 -> 24.11
electrs: 0.10.6 -> 0.10.7
elementsd: 23.2.1 -> 23.2.4

Pkg updates in nixpkgs stable:
btcpayserver: 1.13.5 -> 1.13.7
nbxplorer: 2.5.7 -> 2.5.16

Pkg updates in nixpkgs unstable:
clboss: 0.14.0 -> 0.14.1
clightning: 24.08.2 -> 24.11
electrs: 0.10.6 -> 0.10.7
elementsd: 23.2.1 -> 23.2.4
@erikarvstedt
Copy link
Collaborator

I ran into ElementsProject/lightning#7763 while updating our nixbitcoin.org node.
This has also been reported to our repo before: #747.
I'll later add a more detailed bug report to the clightning issue.

Summary: clightning creates an oversized gossip_store file (8.5 GiB in our case) which gets processed with gossip_store_compact during startup. This takes > 20 min, causing a systemd service startup timeout.

This issue is pretty annoying because the cause for clightning hanging at startup is not visible to the user. The logs show no relevent info.
And with default systemd startup timeouts clightning enters an infinite timout-restart loop.

Maybe we should pin clightning to the previous version (i.e. nixpkgs-stable) for now, including hints how to switch to the latest version.

@erikarvstedt erikarvstedt mentioned this pull request Dec 17, 2024
@jonasnick
Copy link
Member Author

I'll later add a more detailed bug report to the clightning issue.

Thanks!

Maybe we should pin clightning to the previous version (i.e. nixpkgs-stable) for now, including hints how to switch to the latest version.

Does that help? According to the issues, v24.8.1 is affected as well. What would be the downside of temporarily increasing the startup timeout?

@erikarvstedt
Copy link
Collaborator

v24.8.1 is affected as well

Ah, you're right. Let's go ahead with merging then.

Copy link
Collaborator

@erikarvstedt erikarvstedt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 64bfc3f

@jonasnick jonasnick merged commit 33dbb41 into fort-nix:master Dec 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants