[GH-ISSUE #3106] Garry´s Mod Server update function is broken (./gmodserver update) #2194

Closed
opened 2026-02-27 03:01:26 +03:00 by kerem · 6 comments
Owner

Originally created by @dev-lukas on GitHub (Nov 20, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3106

User Story

gmodserver update function doesn´t work at the moment. update process everytime looks like this:

[ OK ] Updating gmodserver: Checking local build: SteamCMD
[ FAIL ] Updating gmodserver: Checking remote build: SteamCMD

I triple checked my firewall and dependencies, every needed port is open.

Information about my system:

Distro Details

Distro: Ubuntu 18.04.5 LTS
Arch: x86_64
Kernel: 4.15.0-88-generic
Hostname: Ubuntu-1804
Uptime: 192d, 14h, 0m
tmux: tmux 2.6
glibc: 2.27

Server Resource

CPU
Model: AMD Ryzen 5 3600 6-Core Processor
Cores: 12
Frequency: 2120.548MHz
Avg Load: 0.31, 0.30, 0.29

Memory
Mem: total used free cached available
Physical: 63GB 7.9GB 55GB 32GB 55GB
Swap: 32GB 0B 32GB

Storage
Filesystem: /dev/md2
Total: 437G
Used: 30G
Available: 385G

Network
Interface: enp34s0
Link Speed: 1000Mb/s
IP: [censored]

Game Server Resource Usage

CPU Used: 0.8%
Mem Used: 0.2% 179MB

Storage
Total: 7.5G
Serverfiles: 6.6G
Backups: 100K

Garry's Mod Server Details

Server name: [censored]
App ID: 4020
Server IP: [censored]:27015
Server password: ********
RCON password: ********
Players: 0/16
Current map: ttt_bb_teenroom_b2
Default map: ttt_bb_teenroom_b2
Game mode: terrortown
Tick rate: 66
Master server: listed
Status: ONLINE

gmodserver Script Details

Script name: gmodserver
LinuxGSM version: v20.5.1
glibc required: 2.15
Discord alert: off
Email alert: off
IFTTT alert: off
Mailgun (email) alert: off
Pushbullet alert: off
Pushover alert: off
Rocketchat alert: off
Slack alert: off
Telegram alert: off
Update on start: off
User: gmodserver
Location: /home/gmodserver
Config file: /home/gmodserver/serverfiles/garrysmod/cfg/gmodserver.cfg

Backups

No Backups created

Command-line Parameters

./srcds_run -game garrysmod -strictportbind -ip [censored] -port 27015 -tickrate 66 +host_workshop_collection 2034936295 -authkey ******** +clientport 27005 +tv_port 27020 +gamemode terrortown +map ttt_bb_teenroom_b2 +sv_setsteamaccount ******** +servercfgfile gmodserver.cfg -maxplayers 16 -disableluarefresh

DESCRIPTION DIRECTION PORT PROTOCOL

Game/RCON INBOUND 27015 tcp/udp
SourceTV INBOUND 27020 udp
< Client OUTBOUND 27005 udp
Status: ONLINE

All relevant logs that I could find:

dev-debug-function-order.log
dev-debug.log
steamlogs.zip

Originally created by @dev-lukas on GitHub (Nov 20, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3106 ## User Story gmodserver update function doesn´t work at the moment. update process everytime looks like this: [ OK ] Updating gmodserver: Checking local build: SteamCMD [ FAIL ] Updating gmodserver: Checking remote build: SteamCMD I triple checked my firewall and dependencies, every needed port is open. ## Information about my system: Distro Details ================================= Distro: Ubuntu 18.04.5 LTS Arch: x86_64 Kernel: 4.15.0-88-generic Hostname: Ubuntu-1804 Uptime: 192d, 14h, 0m tmux: tmux 2.6 glibc: 2.27 Server Resource ================================= CPU Model: AMD Ryzen 5 3600 6-Core Processor Cores: 12 Frequency: 2120.548MHz Avg Load: 0.31, 0.30, 0.29 Memory Mem: total used free cached available Physical: 63GB 7.9GB 55GB 32GB 55GB Swap: 32GB 0B 32GB Storage Filesystem: /dev/md2 Total: 437G Used: 30G Available: 385G Network Interface: enp34s0 Link Speed: 1000Mb/s IP: [censored] Game Server Resource Usage ================================= CPU Used: 0.8% Mem Used: 0.2% 179MB Storage Total: 7.5G Serverfiles: 6.6G Backups: 100K Garry's Mod Server Details ================================= Server name: [censored] App ID: 4020 Server IP: [censored]:27015 Server password: ******** RCON password: ******** Players: 0/16 Current map: ttt_bb_teenroom_b2 Default map: ttt_bb_teenroom_b2 Game mode: terrortown Tick rate: 66 Master server: listed Status: ONLINE gmodserver Script Details ================================= Script name: gmodserver LinuxGSM version: v20.5.1 glibc required: 2.15 Discord alert: off Email alert: off IFTTT alert: off Mailgun (email) alert: off Pushbullet alert: off Pushover alert: off Rocketchat alert: off Slack alert: off Telegram alert: off Update on start: off User: gmodserver Location: /home/gmodserver Config file: /home/gmodserver/serverfiles/garrysmod/cfg/gmodserver.cfg Backups ================================= No Backups created Command-line Parameters ================================= ./srcds_run -game garrysmod -strictportbind -ip [censored] -port 27015 -tickrate 66 +host_workshop_collection 2034936295 -authkey ******** +clientport 27005 +tv_port 27020 +gamemode terrortown +map ttt_bb_teenroom_b2 +sv_setsteamaccount ******** +servercfgfile gmodserver.cfg -maxplayers 16 -disableluarefresh DESCRIPTION DIRECTION PORT PROTOCOL > Game/RCON INBOUND 27015 tcp/udp > SourceTV INBOUND 27020 udp < Client OUTBOUND 27005 udp Status: ONLINE All relevant logs that I could find: [dev-debug-function-order.log](https://github.com/GameServerManagers/LinuxGSM/files/5573144/dev-debug-function-order.log) [dev-debug.log](https://github.com/GameServerManagers/LinuxGSM/files/5573145/dev-debug.log) [steamlogs.zip](https://github.com/GameServerManagers/LinuxGSM/files/5573155/steamlogs.zip)
Author
Owner

@h3o66 commented on GitHub (Nov 20, 2020):

Thanks for attaching that much logs.
But the dev-debug.log does not seem to include the needed debugged command update in this case, here was only the dev command executed.

What i can see from the steam logs:

Content log:

[2020-10-27 07:00:15] HTTP (SteamCache,66) - cache8-sto2.steamcontent.com ([2a01:bc80:8:100::9b85:fc09]:443 / [2a01:bc80:8:100::9b85:fc09]:443, host: cache8-sto2.steamcontent.com): CDepotHTTPDownloadInterface::BYldTestConnection - timed out

there seems to be a timeout with the ipv6 connection at least, in the other logs it did not seem to be a problem.

maybe try as well to verify the gamefiles (save all changes before doing this):
./gmodserver validate

<!-- gh-comment-id:731179661 --> @h3o66 commented on GitHub (Nov 20, 2020): Thanks for attaching that much logs. But the dev-debug.log does not seem to include the needed debugged command update in this case, here was only the `dev` command executed. What i can see from the steam logs: Content log: ``` [2020-10-27 07:00:15] HTTP (SteamCache,66) - cache8-sto2.steamcontent.com ([2a01:bc80:8:100::9b85:fc09]:443 / [2a01:bc80:8:100::9b85:fc09]:443, host: cache8-sto2.steamcontent.com): CDepotHTTPDownloadInterface::BYldTestConnection - timed out ``` there seems to be a timeout with the ipv6 connection at least, in the other logs it did not seem to be a problem. maybe try as well to verify the gamefiles (save all changes before doing this): `./gmodserver validate`
Author
Owner

@dev-lukas commented on GitHub (Nov 20, 2020):

Hi,
I redid the dev debug logs now, deleting old ones and doing now 3 update calls inbetween enabling and disabling dev mode.
Console looked as following while doing that:

dev-debug.log
dev-debug-function-order.log
dev

Validating didnt do much at at all, doing that looked like that and was succesfull in under 30 seconds, updating is still not working:

validate

Its probably just faster to do a clean reinstall of the gameserver huh?

<!-- gh-comment-id:731192796 --> @dev-lukas commented on GitHub (Nov 20, 2020): Hi, I redid the dev debug logs now, deleting old ones and doing now 3 update calls inbetween enabling and disabling dev mode. Console looked as following while doing that: [dev-debug.log](https://github.com/GameServerManagers/LinuxGSM/files/5573999/dev-debug.log) [dev-debug-function-order.log](https://github.com/GameServerManagers/LinuxGSM/files/5574000/dev-debug-function-order.log) ![dev](https://user-images.githubusercontent.com/45562796/99809249-4a574000-2b42-11eb-90f7-4c8a9af8ce02.PNG) Validating didnt do much at at all, doing that looked like that and was succesfull in under 30 seconds, updating is still not working: ![validate](https://user-images.githubusercontent.com/45562796/99809286-5c38e300-2b42-11eb-8129-993a07719f5e.PNG) Its probably just faster to do a clean reinstall of the gameserver huh?
Author
Owner

@h3o66 commented on GitHub (Nov 20, 2020):

The dev-debug.log is not held persistent, so in this case you need to do it this way:

Enable dev debug
execute function.
backup logs for upload or upload them directly.
disable dev debug

You can as well contact me on discord (nick: extreme1st#7327 ) to debug this a bit better, maybe join the discord of lgsm for this.

<!-- gh-comment-id:731290399 --> @h3o66 commented on GitHub (Nov 20, 2020): The dev-debug.log is not held persistent, so in this case you need to do it this way: ``` Enable dev debug execute function. backup logs for upload or upload them directly. disable dev debug ``` You can as well contact me on discord (nick: extreme1st#7327 ) to debug this a bit better, maybe join the discord of lgsm for this.
Author
Owner

@JoinedSenses commented on GitHub (Dec 17, 2020):

Possibly related to #3129.

<!-- gh-comment-id:747672767 --> @JoinedSenses commented on GitHub (Dec 17, 2020): Possibly related to #3129.
Author
Owner

@h3o66 commented on GitHub (Dec 19, 2020):

Should be fixed with the latest hotfix v20.6.2

<!-- gh-comment-id:748474118 --> @h3o66 commented on GitHub (Dec 19, 2020): Should be fixed with the latest hotfix v20.6.2
Author
Owner

@github-actions[bot] commented on GitHub (Dec 20, 2021):

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.

<!-- gh-comment-id:997487702 --> @github-actions[bot] commented on GitHub (Dec 20, 2021): 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.
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#2194
No description provided.