GameServerManagers / GameServerManagers/LinuxGSM

[Bug]: game server not starting when updateonstart=on

Open
#4,703 4 comments 0 reactions 0 assignees View on GitHub
command: console command: install command: start distro: Ubuntu info: steamcmd type: bug
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

### User story

Use "updateonstart" option to update and start the server

### Game

7daystodie

### Linux distro

Ubuntu 22.04

### Command

command: start

### Further information

If I try to start my 7dtd server using ./gameserver st, the server always checks for updates. After a few seconds I get the information that the app is already up to date and nothing else happens.

### Relevant log output

```shell
'myserver/myuser:~$ ./*mygameserver* st
[ OK ] Updating *mygameserver*: Checking for update: SteamCMD

Update available
* Local build: 15812436
* Remote build:
* Branch: public
https://steamdb.info/app/294420/

[ START ] Updating *mygameserver*: SteamCMD
Branch: public
Redirecting stderr to '/home/*myuser*/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/*myuser*/.local/share/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1731433425
-- type 'quit' to exit --
Loading Steam API...IPC function call IClientUtils::GetSteamRealm took too long: 52 msec
OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '294420' already up to date.
Complete! Updating *mygameserver*: SteamCMD
```

### Steps to reproduce

1. Set "updateonstart" to "on" in common.cfg
2. start server ./*mygameserver* start
3. see result

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.