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

[Bug]: q3server fails to download config #4708

Open
tlbjr opened this issue Dec 3, 2024 · 0 comments
Open

[Bug]: q3server fails to download config #4708

tlbjr opened this issue Dec 3, 2024 · 0 comments

Comments

@tlbjr
Copy link

tlbjr commented Dec 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New Issues
Development

No branches or pull requests

1 participant