GameServerManagers / GameServerManagers/LinuxGSM

[Bug]: steamcmd sometimes without remotebuild causing an alert to be sent

Open
#4,379 1 comment 0 reactions 0 assignees View on GitHub
command: update distro: Ubuntu engine: source game: Garrys Mod info: alerts info: steamcmd type: bug
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

### User story

As a serveradmin i want that no Alerts are sent if there is no remote build

### Game

gmodserver

### Linux distro

Ubuntu 22.04

### Command

command: update

### Further information

Sometimes steamcmd doesn't get a remotebuild version. So far lgsm is validating the gamefiles which isn't a problem. Cause the localbuild is avaiable and there isn't a remotebuild, lgsm is sending an alert for an "update success".
The gameversion didn't change, so it shouldn't send an alert. I guess the alert comes just if the two values are not the same.

I really don't know what happend to steamcmd with the remotebuild. The messages started 2 days ago.
The screenshot is after the update, as you can see, the version didn't change.
![image](https://github.com/GameServerManagers/LinuxGSM/assets/28950736/706732e7-7096-4b19-b304-266b37a8a552)

### Relevant log output

```shell
$ ./gmodserver r
[ OK ] Stopping gmodserver: Graceful: sending "quit": 2: OK
[ OK ] Updating gmodserver: Checking for update: SteamCMD

Update available
* Local build: 12581726
* Remote build:
* Branch: x86-64
https://steamdb.info/app/4020/

[ START ] Updating gmodserver: SteamCMD
Branch: x86-64
Redirecting stderr to '/home/ttt/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/ttt/.local/share/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1698778122
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '4020' already up to date.
CWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 1 items discarded.
Complete! Updating gmodserver: SteamCMD
[ OK ] Updating gmodserver: Sending Discord alert
```

### Steps to reproduce

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.