Repository navigation
Release v26.5.0 - #5152
Merged
Merged
Release v26.5.0#5152
Conversation
Resolves Dependabot alert GHSA-ch52-4w7c-c8xp (CVE-2026-93748), transitive via gamedig > got > cacheable-request.
…#5097) The triage bot re-added game and engine labels a maintainer removed by hand, because removing a label triggers the job again and it re-derives them from the issue text. It also ran on closed issues. Only run the label jobs on open issues, and keep a game/engine label as a person last left it (removed or added), like the Linux support label override. The backfill job follows the same rule.
…clusions (#5100) * feat(fastdl): incremental, parallel FastDL with custom folders and exclusions The fastdl command wiped the FastDL directory on every run and then copied and bzip2-compressed every file again, one at a time. On a stock TF2 install that is several GB of work each run. It also ignored content in Source's custom/<name>/ folders and had no way to leave out paths such as maps/workshop/. The command now builds one file list, works out what changed and only touches those files: - Source content is also collected from custom/<name>/<type>/ using the same per-type extension lists, and lands at the path clients request (custom/foo/maps/x.bsp goes to maps/x.bsp). When the same path exists more than once, custom folders win over the stock folder and the first custom folder in name order wins, following the server's own search path. Skipped duplicates are logged. - The FastDL directory is kept between runs. A file is copied and compressed only when its FastDL copy is missing or its modification time differs from the source. Compressed files get their source's mtime with touch -r, because bzip2 only keeps whole seconds. Files in FastDL with no source any more are removed, along with empty folders. - Files over 150 MB are copied without compression, as Source clients will not download a larger compressed file. - Compression runs in parallel with xargs -P "$(nproc)". Each file is still logged as a pass or fail. - New fastdlexclude setting: space-separated paths relative to the FastDL directory. Defaults to maps/workshop/ for Source servers and is empty for GoldSrc. Excluded files already in FastDL are removed. - The "Overwrite existing directory?" prompt becomes "Rebuild Fastdl directory from scratch?" (default no). Yes clears the directory and rebuilds everything as before. Garry's Mod uses the same file list, mapping addons/<name>/ and lua/ content to the same paths as the previous copy-then-move steps, and the download enforcer is generated from the client paths in that list. GoldSrc keeps its directory layout and file types from #5045, copies without compression, and is now incremental too. Fixes #1521 Fixes #4138 Fixes #2873 Fixes #3153 * feat(fastdl): only remove files fastdl wrote, tracked in a record Removing every file in the FastDL directory without a source deleted files users put there on purpose, such as index.html or .htaccess, and when two servers shared one FastDL directory each run deleted the other server's files. Each run now saves a record of the files it wrote to lgsm/data/<selfname>-fastdl.txt: the FastDL path, the source path, its size and its modification time. Only files listed in the previous record and no longer expected are removed. Anything else in the directory is counted and reported as left alone. The record starts with the FastDL directory it belongs to and is ignored if webdir changes. Change detection also uses the record: a file is updated when its FastDL copy is missing or its source path, size or modification time differs. Comparing the modification time alone missed a change of winning source for a duplicate path, because files written within the same few milliseconds share a timestamp. Compressed files no longer need their mtime copied from the source. The record is saved only after a run completes. The rebuild prompt now says that it deletes everything in the directory. * refactor(fastdl): drop explanatory comments and fix log typo Keep comment density in line with other modules, ignore blank lines in the file record, and fix "filesr" in the download enforcer log line.
* feat(hlwon): add native Half-Life WON2 server * fix(hlwon): satisfy Python lint conventions * fix(hlwon): match hlds_i686 process and hide fastdl The WON server runs as hlds_i686 rather than hlds_linux, so the details port command and the HLDS PID lookup now match that binary for hlwon. FastDL is no longer offered for hlwon: protocol 46 clients predate sv_downloadurl, so the generated HTTP download setup would never be used. * refactor(hlwon): install from a single linuxgsm.download archive The WON2 server is a fixed legacy release, so it now installs like the other archived servers through fn_install_server_files. The archive bundles HLDS 3.1.1.1 with the 3.1.1.1e update, the patched hlds_run, the WON2 protection libraries and valvecomm.lst. This removes install_hlwon.sh, which carved a tarball out of a Wayback Machine copy of the 4Players installer and pulled six files from a third-party repository, and the unused WON query test script. * fix(hlwon): drop unneeded ncurses dependency on RHEL family hlds_i686, the engine and the WON2 libraries only link libc, libm, libdl and libpthread, which glibc.i686 in the base dependency list already provides. On Rocky 9 the server installed, started and answered queries with ncurses-libs.i686 removed.
* feat(hlwon): add native Half-Life WON2 server * fix(hlwon): satisfy Python lint conventions * fix(hlwon): match hlds_i686 process and hide fastdl The WON server runs as hlds_i686 rather than hlds_linux, so the details port command and the HLDS PID lookup now match that binary for hlwon. FastDL is no longer offered for hlwon: protocol 46 clients predate sv_downloadurl, so the generated HTTP download setup would never be used. * refactor(hlwon): install from a single linuxgsm.download archive The WON2 server is a fixed legacy release, so it now installs like the other archived servers through fn_install_server_files. The archive bundles HLDS 3.1.1.1 with the 3.1.1.1e update, the patched hlds_run, the WON2 protection libraries and valvecomm.lst. This removes install_hlwon.sh, which carved a tarball out of a Wayback Machine copy of the 4Players installer and pulled six files from a third-party repository, and the unused WON query test script. * feat(cswon): add native Counter-Strike WON2 server Adds Counter-Strike 1.5 on the WON2 protocol 46 stack used by hlwonserver. It installs from a single linuxgsm.download archive containing the HLDS 3.1.1.1e WON2 base plus the cstrike folder from Valve's cs_15_full.tar.gz, keeping the newer cs_i386.so from the 3111e update. The hlwon shortname checks for the update, check-update and fastdl commands, the hlds_i686 PID and port command and the UDP query port now match querytype protocol-valve-won so both WON servers share them.
fn_dl_extract could report success when nothing was extracted: - an unsupported MIME type matched no branch and the if returned 0 - in selective ZIP extraction the status came from rm, hiding unzip and cp failures Fail explicitly on unsupported archive types, chain unzip and cp so either failure is reported, clean up the temp directory only after capturing the exit code, and capture stderr so the failure reason is written to the log. Co-authored-by: Guilherme Praça <247475208+guilherme-praca@users.noreply.github.com>
#5113) * fix(update): force download of update archives Ten update modules passed "force" to fn_fetch_file, which only recognises "forcedl", so an archive already in tmpdir was reused. A failed extraction leaves the archive in tmpdir, and for fixed file names such as multitheftauto_linux_x64.tar.gz the next update would extract the stale file again. * fix(install): exit non-zero when log directories cannot be created install_logs.sh called core_exit.sh without setting exitcode, so a failure to create a log directory, log file or symlink printed FAIL but exited with code 0. Log each failure with fn_script_log_fail, which sets exitcode to 1. * fix(mta): exit cleanly after install-default-resources The module never called core_exit.sh, so running ./mtaserver install-default-resources always ended with "Command did not exit correctly" and exit code 2, even on success. Exit only when it is the first command, so the install flow that calls it carries on. * fix(core): stop SteamCMD install when extraction fails under exitbypass When exitbypass is set, core_exit.sh returns instead of exiting, so a failed extraction fell through to the caller. fn_install_steamcmd then ran chmod on a steamcmd.sh that was never extracted. This is reachable when an update restarts the server and check_steamcmd.sh installs SteamCMD. fn_dl_extract now returns 1 after a bypassed failure, and fn_install_steamcmd stops on it.
Add an extraparams setting that appends custom start parameters to the end of the start parameters, so users no longer have to copy and override the whole startparameters line to add a flag. extraparams is appended once in fn_reload_startparameters, only when set, so it works for every game server and also when startparameters is overridden. Every _default.cfg lists extraparams="" in an "Extra Parameters" entry so users can find it; the startparameters lines are unchanged. Fixes #2183 Supersedes #2120 Co-authored-by: borzaka <1230402+borzaka@users.noreply.github.com> Co-authored-by: Frisasky <digimoncn@gmail.com>
…#5117) Output captured by systemd/journald, cron, pipes or redirected files was full of colour codes, carriage returns and erase-line sequences, and in-place progress messages overwrote each other instead of producing complete lines. When stdout is not a terminal, LinuxGSM now omits all terminal control sequences. In-place status messages are held until they are replaced, completed by an end-of-line status or flushed, so each step is written as one complete line showing its final result. Held messages are flushed before headers, prompts and on exit. ansi="off" now consistently disables ANSI formatting: the erase-line sequence is no longer re-added unconditionally and text styles are only set when ANSI is enabled. Direct terminal control outside the shared helpers is also skipped in plain mode: the download progress bar, the dependency install spinner and tput cursor handling in fastdl and mods-remove.
…kup on failure (#5118) * fix(update-lgsm): build updated game script in tmpdir and restore backup on failure sed -i writes its temporary file next to the target, so editing the game script in place needed write access to rootdir itself. Without it the copy from linuxgsm.sh succeeded but the substitutions failed, leaving the script with the "core" placeholders ("unknown game server"). Only the last sed call was checked, and the backup taken just before was never restored. The script is now assembled in tmpdir with a single sed call and copied over the existing file, which only needs write access to the file. If that copy fails, the backup is restored. The backup path is computed once so the logged location matches the file actually written. Fixes #3060 * fix(update-lgsm): restore executable bit on command_update_linuxgsm.sh
Update the AMX Mod X base package and the cstrike, dod, tfc, ns and ts addons from 1.9.0-git5303 to the 1.10.0-git5487 release.
The KF2 Linux dedicated server never creates KFGame/Cache, which it needs when it loads maps, Workshop maps included. Create it during install once KFGame exists.
Resolve the AMX Mod X base package and the cstrike, dod, tfc, ns and ts addons from the latest 1.10 Linux build on amxmodx.org at mods-install and mods-update time, instead of pinning one release. The base and every addon use the same build, and the install stops with an error if the build cannot be resolved.
When a monitor query fails, check the local query port with ss and add a hint to the output and log: either nothing is listening on the port, or the port is in use (naming the process when ss knows it). The monitor still retries and restarts exactly as before.
Add MatchZy as a CS2 mod. It installs the plugin-only release archive and requires CounterStrikeSharp. Removing it keeps the shared CounterStrikeSharp directories in place.
…ll (#5108) This reverts commit bd08aff. On the current KF2 server build (10897) the server creates KFGame/Cache itself when it first downloads a Workshop item, so the directory is not missing. The map-load crash comes from starting directly on a Workshop map that has not been downloaded yet, which this change does not affect.
…ery hint (#5120) When the query port is held by the game server's own process tree, say the server did not answer and may be hung, instead of pointing at the port settings. Name another process as a port conflict, show the real protocols from ss instead of "TCP/UDP", and drop the unused test script.
CounterStrikeSharp ships its own .NET runtime, which aborts at startup when no ICU library is installed, taking the server down with it. Add each distro's versioned ICU runtime package to cs2 in every dependency list.
…5122) The Barotrauma dedicated server only needs the ICU runtime library, not the development headers and tools that libicu-dev pulls in. Use each distro's versioned ICU runtime package for bt on Debian and Ubuntu, matching cs2 and scpsl.
Both alert types are dispatched by alert.sh but were never added to the details output or the stats report, so an enabled Matrix or ntfy alert was invisible in details and uncounted in stats.
The Barotrauma dedicated server is built with InvariantGlobalization enabled (LinuxServer.csproj, continuously since v0.19.3 in 2022), so its bundled .NET 8 runtime never loads ICU. The libicu dependency dates from #3083, when the server still needed it.
monitor, backup and details call pgrep and ps, but no distro dependency list included procps. Minimal images such as debian:13 do not ship it, so on those systems pgrep is missing, the "is install running" check in monitor always reads as true, and monitor exits with "LinuxGSM is installing" without checking the server. Add procps to the Debian and Ubuntu lists and procps-ng to the RHEL-family lists.
The Debian 13 dependency list had libxml2 for bt, mta, sdtd and st, where every other Debian and Ubuntu list has libxml2-utils. libxml2 is only the library; xmllint is in libxml2-utils. Without it fn_info_game_xml prints "xmllint: command not found" on every details and monitor run, and the ports and names read from the XML config come out empty. The RHEL-family lists keep libxml2, which ships xmllint there.
Matrix alerts are now sent as m.notice messages with an HTML formatted_body: section headings are bold and the "Is my Game Server Online?" and "More info" links are clickable. The plain-text body is kept as the fallback for clients that do not render HTML. All values are escaped with jq's @html before being placed in the HTML, and apostrophes use the numeric ' entity.
Adds orarserver for OpenRA: Red Alert using the official stable Linux x86_64 AppImage. LinuxGSM extracts the package so installation does not require FUSE, manages start/stop, checks the TCP game port and updates from the upstream stable GitHub release. Updates stage and validate the new package before replacing the old one, restoring the previous engine if the swap fails. Instance data is stored outside the replaceable engine directory. orar is added to the shared Update Check matrix. Related to #2233.
Adds Luanti (formerly Minetest) as luantiserver, with installation, engine updates, details, session monitoring and graceful shutdown. Fresh installs include Minetest Game and a separate instance config; engine updates preserve games, mods, worlds and instance settings. Uses the portable headless builds from rollerozxa/luantiserver, as recommended by the official Luanti Linux server documentation, selecting x86_64 or aarch64 assets and verifying SHA256 checksums. Adds dependency entries and the upstream game icon, with its attribution in a new Third-party assets section of LICENSE.md. Fixes #2303
Adds Battlefront Eternal as a new server: bfeserver, shortname bfe. The server runs on Node.js 24, installed into serverfiles/node from nodejs.org and checked for updates on every update run. The retail game data comes from SteamCMD (app 1058020, needs an account that owns the game) and is prepared with the release's own tools. Fixes #5112
) npm install now skips its audit request, which was the only thing it waited on with gamedig already installed. npm update also skips it and gives up after one 10 second attempt per request instead of npm's default 5 minutes with 2 retries. It runs on every monitor with its output hidden, so a silent registry stalled monitor with no sign why. Fixes #5127
* feat(fivemserver): add FiveM server Adds FiveM (GTA V multiplayer, Cfx.re FXServer) as fivemserver. - update_fivem.sh installs and updates the "recommended" Linux build from the Cfx.re changelog API, and tracks the installed build in a data file for check-update and update. - Install fetches the base resources from citizenfx/cfx-server-data (a tarball of the default branch) once. Updates never touch resources. - FXServer always starts with +exec server.cfg, so the bundled txAdmin web panel never starts and LinuxGSM is the only thing managing the server. - licensekey in the LinuxGSM config is passed as +set sv_licenseKey. start and debug stop with a clear message if no key is set here or in server.cfg. - Details parse server.cfg, and querying uses gamedig (gta5f). * fix(fivemserver): only pass sv_licenseKey when licensekey is set With licensekey empty, +set sv_licenseKey overrode a key set in server.cfg and would take the first extra parameter as its value. The +set is now only added when licensekey is set. Also adds extraparams and the Matrix alert settings to the default config. * feat(fivemserver): set the license key in server.cfg only Drops the licensekey LinuxGSM setting. The key now lives only in server.cfg as sv_licenseKey, so it is no longer on the command line. The start check, install message and default config point to server.cfg.
…5095) Adds check_update_lock.sh, which stops a second update, force-update, validate or workshop-update from running while one is in progress. The lock is removed in core_exit.sh, and a lock left by a dead or reused PID is treated as stale. Also fixes the SteamCMD retry loop: a failing base app no longer retries forever without an error, and the SteamCMD log is cleared before each attempt so a successful retry is not reported as failed. Fixes #5094
This was referenced Nov 4, 2026
This was referenced Nov 5, 2026
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.
Release v26.5.0.
version(linuxgsm.sh) andmodulesversion(core_modules.sh) tov26.5.0.masterin, bringing itsmaster-only commits: the v26.4.0 release, the triage fix and the issue close-out workflow. No conflicts.develop, this branch changes only the two version strings.Merge with a merge commit, not a squash.
Pre-release testing
Fresh
auto-installfrom this branch in cleanubuntu-26.04containers on a test server:start,monitorpast the query delay (real query OK) and a gracefulstopall passed.detailsread the current map and players from a live query, andstoppassed.Not tested in this run: game client joins. FiveM has still not had a full start, as that needs a real Cfx.re license key.
Release summary (draft release notes)
Highlights
extraparams: add your own start parameters without overridingstartparameters(#4970).~/Zomboid(#5129).details(#5087, #5123).mods-install(#5088).Changes to existing behaviour
These apply automatically.
logdays(#5135).fastdlexcludesetting defaults tomaps/workshop/on Source servers (#5100).serverfilesusing-nohomedir. Existing inis move there on the next start (#5133).serverfilesmove into it on the next start (#5131).updateandcheck-update. Existing installs receive an update on the nextupdate, keeping local config files (#5149).New servers
hlwonserver) (#5104, #5151)cswonserver) (#5105, #5151)orarserver) (#5102)luantiserver) (#5101)bfeserver) (#5116)fivemserver), which needs your own Cfx.re license key inserver.cfg(#5103)Game server fixes
previous2021Source SDK 2013 build (#5147).Other fixes
update-lgsm: builds the updated game script in tmpdir and restores the backup on failure (#5118).procpsis always installed,libxml2-utilsis added on Debian 13, and the distro csv is fetched when run as root before install (#5125, #5126, #5132).Issues fixed in this release
Fixes #1521
Fixes #1615
Fixes #2117
Fixes #2183
Fixes #2303
Fixes #2484
Fixes #2496
Fixes #2873
Fixes #3060
Fixes #3153
Fixes #3252
Fixes #3300
Fixes #3774
Fixes #3835
Fixes #4138
Fixes #4384
Fixes #4470
Fixes #4525
Fixes #4751
Fixes #4857
Fixes #4995
Fixes #5048
Fixes #5094
Fixes #5112
Fixes #5114
Fixes #5127
Fixes #5130
Fixes #5141
Fixes #5142
Fixes #5143
Fixes #5144
Fixes #5145