[GH-ISSUE #4708] [Bug]: q3server fails to download config #2925

Closed
opened 2026-02-27 03:06:18 +03:00 by kerem · 1 comment
Owner

Originally created by @tlbjr on GitHub (Dec 3, 2024).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4708

User story

As an old school q3 player, I want it to work out of the box so that I can play.

Game

Quake 3

Linux distro

Ubuntu 24.04

Command

command: install

Further information

A typo snuck into the q3 config loading when q4 was added.
https://github.com/GameServerManagers/LinuxGSM/blame/master/lgsm/modules/install_config.sh#L648
I removed the s at the end of fn_fetch_default_configs on line 648 locally and reinstalled using ./q3server install and everything worked as expected.

Relevant log output

=================================
LinuxGSM_
by Daniel Gibbs
Version: v24.3.2
Game: Quake 3: Arena
Website: https://linuxgsm.com
Contributors: https://linuxgsm.com/contrib
Sponsor: https://linuxgsm.com/sponsor
=================================
fetching GitHub install_server_dir.sh...OK

Server Directory
=================================
/home/q3server
Continue? [Y/n] Y
mkdir: created directory '/home/q3server/serverfiles'
fetching GitHub install_logs.sh...OK

Creating Log Directories
=================================
installing log dir: /home/q3server/log...OK
installing LinuxGSM log dir: /home/q3server/log/script...OK
creating LinuxGSM log: /home/q3server/log/script/q3server-script.log...OK
installing console log dir: /home/q3server/log/console...OK
creating console log: /home/q3server/log/console/q3server-console.log...OK
installing game log dir: /home/q3server/serverfiles/Logs...OK
creating symlink to game log dir: /home/q3server/log/server -> /home/q3server/serverfiles/Logs...OK
fetching GitHub check_deps.sh...OK

Checking Quake 3: Arena Dependencies
=================================
fetching GitHub ubuntu-24.04.csv...OK
bc
binutils
bsdmainutils
bzip2
ca-certificates
cpio
curl
distro-info
file
gzip
hostname
jq
lib32gcc-s1
lib32stdc++6
netcat-openbsd
pigz
python3
tar
tmux
unzip
util-linux
uuid-runtime
wget
xz-utils
Warning! Missing dependencies: binutils bsdmainutils bzip2 lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 pigz unzip
Warning! q3server does not have sudo access. Manually install dependencies or run ./q3server install as root.
 Run: 'sudo apt update; sudo apt install binutils bsdmainutils bzip2 lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 pigz unzip' as root to install missing dependencies.
fetching GitHub install_server_files.sh...OK

Installing Quake 3: Arena Server
=================================
                                                 ##O#-   #
################################################################################################################################## 100.0%
OK
verifying quake3-1.32c-x86-full-linux.tar.xz with MD5...OK
extracting quake3-1.32c-x86-full-linux.tar.xz...OK
clearing LinuxGSM tmp directory...OK

=================================
Was the install successful? [Y/n] Y
fetching GitHub check_gamedig.sh...OK
fetching GitHub install_config.sh...OK
/home/q3server/lgsm/modules/install_config.sh: line 648: fn_fetch_default_configs: command not found
copying server.cfg config file.
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: cannot stat '/home/q3server/lgsm/config-default/config-game/server.cfg': No such file or directory
Config file not found, cannot alter it.

Config Locations
=================================
Config file: /home/q3server/serverfiles/baseq3/q3server.cfg (FILE MISSING)
LinuxGSM Config: /home/q3server/lgsm/config-lgsm/q3server
Documentation: https://docs.linuxgsm.com/configuration/game-server-config
fetching GitHub fix.sh...OK
fetching GitHub install_stats.sh...OK

LinuxGSM Stats
=================================
Assist LinuxGSM development by sending anonymous stats to developers.
Collected data is publicly available: https://linuxgsm.com/data/usage
More info: https://docs.linuxgsm.com/configuration/linuxgsm-stats
The following info will be sent:
* game server
* distro
* game server resource usage
* server hardware info
Allow anonymous usage statistics? [Y/n] n
fetching GitHub install_complete.sh...OK

=================================
Install Complete!

Steps to reproduce

Install q3server following the website instructions.

Originally created by @tlbjr on GitHub (Dec 3, 2024). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4708 ### User story As an old school q3 player, I want it to work out of the box so that I can play. ### Game Quake 3 ### Linux distro Ubuntu 24.04 ### Command command: install ### Further information A typo snuck into the q3 config loading when q4 was added. https://github.com/GameServerManagers/LinuxGSM/blame/master/lgsm/modules/install_config.sh#L648 I removed the `s` at the end of `fn_fetch_default_configs` on line 648 locally and reinstalled using `./q3server install` and everything worked as expected. ### Relevant log output ```shell ================================= LinuxGSM_ by Daniel Gibbs Version: v24.3.2 Game: Quake 3: Arena Website: https://linuxgsm.com Contributors: https://linuxgsm.com/contrib Sponsor: https://linuxgsm.com/sponsor ================================= fetching GitHub install_server_dir.sh...OK Server Directory ================================= /home/q3server Continue? [Y/n] Y mkdir: created directory '/home/q3server/serverfiles' fetching GitHub install_logs.sh...OK Creating Log Directories ================================= installing log dir: /home/q3server/log...OK installing LinuxGSM log dir: /home/q3server/log/script...OK creating LinuxGSM log: /home/q3server/log/script/q3server-script.log...OK installing console log dir: /home/q3server/log/console...OK creating console log: /home/q3server/log/console/q3server-console.log...OK installing game log dir: /home/q3server/serverfiles/Logs...OK creating symlink to game log dir: /home/q3server/log/server -> /home/q3server/serverfiles/Logs...OK fetching GitHub check_deps.sh...OK Checking Quake 3: Arena Dependencies ================================= fetching GitHub ubuntu-24.04.csv...OK bc binutils bsdmainutils bzip2 ca-certificates cpio curl distro-info file gzip hostname jq lib32gcc-s1 lib32stdc++6 netcat-openbsd pigz python3 tar tmux unzip util-linux uuid-runtime wget xz-utils Warning! Missing dependencies: binutils bsdmainutils bzip2 lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 pigz unzip Warning! q3server does not have sudo access. Manually install dependencies or run ./q3server install as root. Run: 'sudo apt update; sudo apt install binutils bsdmainutils bzip2 lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 pigz unzip' as root to install missing dependencies. fetching GitHub install_server_files.sh...OK Installing Quake 3: Arena Server ================================= ##O#- # ################################################################################################################################## 100.0% OK verifying quake3-1.32c-x86-full-linux.tar.xz with MD5...OK extracting quake3-1.32c-x86-full-linux.tar.xz...OK clearing LinuxGSM tmp directory...OK ================================= Was the install successful? [Y/n] Y fetching GitHub check_gamedig.sh...OK fetching GitHub install_config.sh...OK /home/q3server/lgsm/modules/install_config.sh: line 648: fn_fetch_default_configs: command not found copying server.cfg config file. cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead cp: cannot stat '/home/q3server/lgsm/config-default/config-game/server.cfg': No such file or directory Config file not found, cannot alter it. Config Locations ================================= Config file: /home/q3server/serverfiles/baseq3/q3server.cfg (FILE MISSING) LinuxGSM Config: /home/q3server/lgsm/config-lgsm/q3server Documentation: https://docs.linuxgsm.com/configuration/game-server-config fetching GitHub fix.sh...OK fetching GitHub install_stats.sh...OK LinuxGSM Stats ================================= Assist LinuxGSM development by sending anonymous stats to developers. Collected data is publicly available: https://linuxgsm.com/data/usage More info: https://docs.linuxgsm.com/configuration/linuxgsm-stats The following info will be sent: * game server * distro * game server resource usage * server hardware info Allow anonymous usage statistics? [Y/n] n fetching GitHub install_complete.sh...OK ================================= Install Complete! ``` ### Steps to reproduce Install q3server following the [website instructions](https://linuxgsm.com/servers/q3server/).
Author
Owner

@dgibbs64 commented on GitHub (Jun 21, 2025):

Resolved in PR #4709

<!-- gh-comment-id:2993754838 --> @dgibbs64 commented on GitHub (Jun 21, 2025): Resolved in PR #4709
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2925
No description provided.