GameServerManagers / GameServerManagers/LinuxGSM
[Bug]: Valheim in update loop
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### User story
I want my Valheim server to be updated so I have a cron-job that updates it
### Game
Valheim
### Linux distro
Other
### Command
command: update
### Further information
The job started informing me today on Discord that the Valheim server was down, and then up, and then down, and then up.
Running the update myself I realised that the service reports the remote version to be newer but then it fails to update although the script reports "Success!"
Linux GameServers 5.15.126-1-pve #1 SMP PVE 5.15.126-1 (2023-10-03T17:24Z) x86_64 GNU/Linux
### Relevant log output
```shell
vhserver@GameServers:~$ ./vhserver update
[ OK ] Updating vhserver: Checking for update: SteamCMD
Update available
* Local build: 14662278
* Remote build: 14662813
* Branch: public
https://steamdb.info/app/896660/
[ WARN ] Updating vhserver: vhserver will be restarted
[ OK ] Stopping vhserver: Graceful: CTRL+c: 4: OK
[ START ] Updating vhserver: SteamCMD
Branch: public
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/vhserver/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/vhserver/.local/share/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1716584438
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '896660' already up to date.
Complete! Updating vhserver: SteamCMD
[ OK ] Starting vhserver: WoxNet Valheim Server
[ OK ] Updating vhserver: Sending Discord alert
vhserver@GameServers:~$
```
### Steps to reproduce
./vhserver update
Contributor guide
Assessment
This issue has not been assessed yet.