Repository navigation
Server patching: package exclusions and an optional minimum release age for automatic security updates #12486
imryanthedev
started this conversation in
Improvement Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
Automatic security updates (server patching, beta since v4.5.0) hand the whole job to the OS: Coolify writes a config for
unattended-upgrades(apt) ordnf-automatic(dnf), and the OS picks and installs packages on its own schedule.ConfigureAutomaticSecurityUpdates.php#L73-L90ConfigureAutomaticSecurityUpdates.php#L132-L150This is robust (it works even when Coolify is down), but Coolify has no say in what gets installed.
Problem
CheckUpdates.php#L94-L120), but there is no way to keep them out of the automatic run. Today the only option is to hand-editUnattended-Upgrade::Package-Blackliston each server.ServerPatchCheckJob.php#L105-L113), so Coolify cannot tell how long an update has been available.Proposal (small steps, each one useful alone)
Unattended-Upgrade::Package-Blacklist(apt) andexclude(dnf). The Docker packages from the existing risky list could be suggested, but not excluded by default.0= current behavior), done with version pins so it keeps working when Coolify is down. Open to a different design.Out of scope
Questions
I'm happy to implement steps 1 and 2 (PRs to
next, with Pest tests).All reactions