4.0: install Node 24 from NodeSource - #845
Draft
antobinary wants to merge 2 commits into
Draft
Conversation
Companion to the bigbluebutton 40-nodejs-24 branch, whose debs will require nodejs (>= 24) (<< 25). Node 22 leaves maintenance 2027-04-30, mid-4.0 lifetime; Node 24 is Active LTS (maintained until 2028-04-30). Must ship together with packages built against Node 24 - old debs (nodejs << 23) are not installable once this repo change is in place.
The nodesource.list setup was guarded by a file-existence check, so on an existing server (installed with Node 22 or earlier) the block was skipped entirely: the repo stayed on node_22.x, dist-upgrade kept nodejs at 22, and installing the new packages that require nodejs (>= 24) failed with unmet dependencies. Fresh installs were unaffected, which is why CI (always a clean runner) could not catch it. Key the guard on the repo line content instead: rewrite whenever the list does not already point at node_$NODE_MAJOR.x (grep -qs also treats a missing file as a mismatch). The subsequent apt-get update + dist-upgrade then moves nodejs across the major cleanly, and the block stays idempotent on re-runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to the bigbluebutton 40-nodejs-24 branch, whose debs will require nodejs (>= 24) (<< 25). Node 22 leaves maintenance 2027-04-30, during 4.0 lifetime; Node 24 is Active LTS (maintained until 2028-04-30). Must ship together with packages built against Node 24 - old debs (nodejs << 23) are not installable once this repo change is in place.