ACLClouds
ACLClouds

How do I update a game server installed with SteamCMD?

Warn the players, stop the server, back up the configuration and let SteamCMD update the official files.

Most SteamCMD server templates (eggs) check the files on every startup. Forcing an update while the server is writing to disk may corrupt files or interrupt a backup.

Step-by-step procedure

  1. Warn and stop

    Announce the shutdown, wait for the world to save, then use the Stop button.

  2. Back up the data

    Create a backup of the world and configuration folders before a major update.

  3. Start the server once

    Let SteamCMD download and validate the files, and do not stop the server while the console shows progress.

  4. Check the version

    Check the version shown in the console and test a connection before reopening the server to players.

Equivalent SteamCMD command on a VPS

steamcmd +force_install_dir /home/steam/rust +login anonymous +app_update 258550 validate +quit

Install SteamCMD on a Debian 12 or Ubuntu 24.04 VPS

sudo dpkg --add-architecture i386
sudo apt update
# Debian : dépôt non-free ; Ubuntu : dépôt multiverse
sudo apt install -y steamcmd
sudo useradd -m steam
sudo -iu steam steamcmd +login anonymous +quit

What is SteamCMD?

SteamCMD is the command-line version of the Steam client, published by Valve to install and update dedicated servers: Rust, ARK, Valheim, Arma 3, Project Zomboid, Counter-Strike 2 and hundreds more. It has no graphical interface and is driven by a sequence of commands: +login anonymous (or a Steam account for games that require one), +force_install_dir to pick the folder, +app_update with the dedicated server’s ID, validate to check the files, then +quit.

On an ACLClouds game server, SteamCMD is already built into the server template: there is nothing to install. On a Linux VPS, it installs from the Debian (non-free) or Ubuntu (multiverse) repositories after enabling the i386 architecture, because SteamCMD is a 32-bit program; on Windows, Valve provides a steamcmd.zip archive to extract and run once so it updates itself.

  • Command order matters: +force_install_dir must come before +login, otherwise SteamCMD warns and installs into its default folder.
  • The ID passed to +app_update is the dedicated server’s, not the game’s: 258550 for Rust, 376030 for ARK Survival Evolved, 896660 for Valheim, 233780 for Arma 3, 730 for Counter-Strike 2.
  • Run SteamCMD as a dedicated user without root rights: the server files belong to it and an update cannot touch the rest of the system.

Two ways to start the update

The panel has no button dedicated to SteamCMD: the update runs when the server starts or when it is reinstalled.

  • At startup: if “Startup” shows an AUTO_UPDATE variable, set it to 1. The server then downloads the latest version on every launch before starting the game. With 0, it starts without checking anything.
  • By reinstalling: “Settings”, then “Reinstall Server”. The server is stopped and the install script runs SteamCMD again with file validation. The panel warns that some files may be changed or deleted: back up your worlds and configuration first.

Reading the SteamCMD output

During the update, the console shows the download progress, then the check of the files already present, and finally a success message that names the application ID. As long as these lines keep moving, do not stop the server. This ID is the dedicated server’s, often different from the game’s: 258550 for the Rust server, for example.

The game then starts normally. Plugins and mods, such as Oxide or BepInEx, often depend on an exact game version: after a major update, update them and read the console again before reopening the server.

Frequently asked questions

How do I install SteamCMD on Windows?

Download the steamcmd.zip archive from Valve’s developer site, unzip it into a dedicated folder such as C:\steamcmd, then run steamcmd.exe once: it updates itself and shows the Steam> prompt. The force_install_dir, login anonymous and app_update commands then work as on Linux. On an ACLClouds Windows RDP VPS, Windows Server 2025 ships as a 180-day evaluation edition, then you need your own licence.

What does Error! App state is 0x202 after update job or 0x606 mean?

These codes almost always mean a full or nearly full disk: SteamCMD could not write the downloaded files. Free up space or move to a larger plan, then run again with validate. Code 0x6 or 0x402 points instead to a network problem or a temporary Steam outage: wait a few minutes and try again.

What if the update fails for lack of disk space?

SteamCMD needs free space to write the update, on top of the files already installed. Compare the disk used with the limit shown in the console, delete old logs or unneeded files from “Files”, or move to a larger plan, then try again.

Why does SteamCMD refuse to download the server with an anonymous login?

The dedicated server of some games cannot be downloaded with an anonymous login: it needs a Steam account that owns the game. The same refusal appears when the ID used is the game’s rather than its dedicated server’s. If the template has no Steam account setting in “Startup”, open a ticket.

Players get a version error after a Steam update, what should I do?

Their client has been updated, the server has not. Warn the players, stop the server, then start it again with AUTO_UPDATE set to 1, or reinstall it. Then check the version shown in the console.

The update was interrupted, are my files lost?

Usually not: start the server or the reinstall again, and SteamCMD resumes the download and validates the files. If the server no longer starts afterwards, restore the backup made before the update.