mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #3355] [BUG] Server Description Missing. #2298
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#2298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThePureCC on GitHub (Mar 11, 2021).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3355
User Story
As a server host, I want to be able to set a static server description for Rust servers so that I can set a server description.
Basic info
Further Information
It's similar to #1976 but in a different way.
I'm using LinuxGSM to install a Rust game server, but the description for the game server is missing. i.e. server.description property.
Supposedly, according to
/home/rustserver/serverfiles/server/rustserver/cfg/server.cfg(It's a bash file where it "Creates default server configs") , it downloads the config file fromhttps://github.com/GameServerManagers/Game-Server-Configs/blob/master/Rust/server.cfg, but I can't find the exact file anywhere. The only thing I have for the same functionality/content of that config file is aserverauto.cfgfile in/home/rustserver/serverfiles/server/rustserver/cfg,where it doesn't have aserver.descriptionproperty, nor does it look anything like theserver.cfgfile hosted on github.From the name,
serverauto.cfg, I inferred that the file was auto generated, and for every time I use thewipecommand, this file gets reset. So even if I manually addserver.descriptiontoserverauto.cfg, it'll still get overwritten onwipe.If anyone could let me know how I can load the
server.cfgfile properly without having to manually setserver.descriptioneach wipe I'd really appreciate it.To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
It should download the config file from github based on Rust game.
Edits
Edit1:
I was reading rustserver-console.log and found these entries:
`-e "creating ${servercfgdir} config directory."
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e ""
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "${lightyellow}Downloading ${gamename} Configs${default}"
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "================================="
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "default configs from https://github.com/GameServerManagers/Game-Server-Configs"
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "copying ${config} config file."
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "copying ${servercfgdefault} config file."
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "changing hostname."
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "changing rcon/admin password."
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-e "Config file not found, cannot alter it."
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)`
So it's clearly something is wrong. I'm just not sure what is the reason why it's not finding the config file.
@h3o66 commented on GitHub (Mar 11, 2021):
Maybe I do not understand what you want to say, but the config file
serverfiles/server/rustserver/cfg/server.cfgdoes not get deleted for me with the wipe command.The config ONLY gets downloaded when you install the server, there is no point for me why the script should download it within a wipe.
@ThePureCC commented on GitHub (Mar 11, 2021):
Yeah, it's kind of confusing. Basically my problem is that I don't have a config file from https://github.com/GameServerManagers/Game-Server-Configs for some reason.
the
serverfiles/server/rustserver/cfg/server.cfgcontains bash file information, I'll copy a snippet of it:(I replaced the hashtag sign with X since github reads it as markdown)
So as you can see it's not an actual server.cfg file. Something somewhere went wrong, and I don't know what it is.
And you are right, it should've been downloaded when I install the server, but I don't know what's going on here.
@h3o66 commented on GitHub (Mar 11, 2021):
remove this file and execute again the lgsm install command
in this case:
./rustserver installor./rustserver auto-installPS: also formatted your comment the right way ;)
@ThePureCC commented on GitHub (Mar 11, 2021):
Running
./rustserver installwill replace all my files and settings in lgsm, right? Reason I'm asking is because I already have the server setup and running with oxide plugins, and user groups and stuff.I had trouble installing it online because of the routing issue of my server(that has a huge latency connecting to github/bitbucket). I asked on discord to see if I can install it somewhat offline/locally, but didn't get a response.
And thanks for the formatting.
@h3o66 commented on GitHub (Mar 11, 2021):
well, then replace the config manually or backup the important data and reinstall.
Just tested a manual install, that worked.
@ThePureCC commented on GitHub (Mar 11, 2021):
What do you mean by manual install? Download the github repo to local and run
./rustserver install?I would very much like to know if simply replacing the
server.cfgfile from the bash script to the Game-Server-Configs file would work.Could you please let me know the correct and specific directory to place
server.cfgfor Rust servers? Is itrustserver/serverfiles/server/rustserver/cfg? Because I was reading the bash file, and there was something in there says$servercfgdir, and there were also some other directories that doesn't look like it. Pretty confusing.Here's some more information on it when I was reading console log during server start at very early stage:
I've marked some interesting lines. It looks like it tried to copy the config file, but was maybe failed? So it copied the default file and place it there?
@h3o66 commented on GitHub (Mar 14, 2021):
well, dont keep it this complicated:
delete or move away the config
serverfiles/server/rustserver/cfg/server.cfgthen switch to the folder
serverfiles/server/rustserver/cfg/and just download the template:wget https://github.com/GameServerManagers/Game-Server-Configs/raw/master/Rust/server.cfg@ThePureCC commented on GitHub (Mar 14, 2021):
That's what I ended up doing. It seems to be working. I haven't tried to see if wipe/full-wipe is going to cause any issues. But yeah, this is kind of a bug on the program at where the console log says config file missing, it should've downloaded the Game-Server-Configs, but it didn't.
@h3o66 commented on GitHub (Mar 14, 2021):
I could not reproduce this with a fresh install of the gameserver.
~ closing as solved
@github-actions[bot] commented on GitHub (Mar 15, 2022):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.