Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curious error 0x202 of SteamCMD v1658944597 #41

Closed
jalho opened this issue Jul 31, 2022 · 2 comments
Closed

Curious error 0x202 of SteamCMD v1658944597 #41

jalho opened this issue Jul 31, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@jalho
Copy link

jalho commented Jul 31, 2022

This issue doesn't necessarily have anything to do with this repository. I have also tried posting about this on Steam forums. Posting here just in case this is a more active SteamCMD forum.

The issue: Curious SteamCMD error 0x202

I tried installing Rust dedicated server from within a container made from cm2network/steamcmd:root on two Linux machines. On one of the machines the installation completes successfully but on the other one it fails with error status 0x202. Filesystems, user permissions and issued commands should be identical due to containerization, and both machines have plenty of disk space. What could be causing this discrepancy?

SteamCMD and Docker versions:

Steam Console Client (c) Valve Corporation - version 1658944597
Docker version 20.10.17, build 100c70180f
@CM2Walki CM2Walki self-assigned this Jul 31, 2022
@CM2Walki CM2Walki added the question Further information is requested label Jul 31, 2022
@CM2Walki
Copy link
Owner

CM2Walki commented Jul 31, 2022

Did you execute the steamcmd.sh as user root by any chance? That usually leads to weird behavior like this for me.

EDIT: Also could you drop in the command you executed?

@jalho
Copy link
Author

jalho commented Aug 1, 2022

I ran a bash script as steam that ran the steamcmd.sh.

Dockerfile:

FROM cm2network/steamcmd:root

# install dependencies:
# at least sqlite3 seem to be required by `RustDedicated` as of Jul 2022
# TODO: add the rest of the dependencies, if any!
RUN apt-get update; \
    apt-get upgrade -y \
    && apt-get install -y sqlite3

# as of Jul 2022 the base image comes with user `steam`
USER steam
COPY fetch-server-and-start.sh /home/steam/
WORKDIR /home/steam

Commands:

$ docker build --tag rust-server . && docker run -ti rust-server /bin/bash
steam@3a3e34cce070:~$ whoami
steam
steam@3a3e34cce070:~$ bash fetch-server-and-start.sh
Fetching the Rust server with SteamCMD...
...
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '258550' state is 0x202 after update job.
Fetching with SteamCMD done.

where fetch-server-and-start.sh is:

#!/bin/bash

echo "Fetching the Rust server with SteamCMD..."
/home/steam/steamcmd/steamcmd.sh +force_install_dir /home/steam/rust-server +login anonymous +app_update 258550 +quit
echo "Fetching with SteamCMD done."

These exact steps reproduce the issue; works fine on one of my machines but not on the other one.

@CM2Walki CM2Walki closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants