LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

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

Open xopez opened this issue 1 year ago • 1 comments

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

Relevant log output

$ ./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

xopez avatar Nov 14 '23 18:11 xopez

That is odd as there is code to fail if a remote build is not grabbed. I am unable to replicate currently

dgibbs64 avatar Nov 23 '23 22:11 dgibbs64