Giter VIP home page Giter VIP logo

teamfortress2's People

Contributors

jasonrivers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

teamfortress2's Issues

Disk Write Failure

Running the docker image on setup fails when steamcmd is called with the following output:

Connecting anonymously to Steam Public...Loaded client id: 8392092165968994636
Listening for IPv4 broadcast on: 27036
Logged in OK
Waiting for user info...OK
ERROR! Failed to install app '232250' (Disk write failure)
Applying server configuration
cp: cannot create regular file '/home/steamsrv/tf2/tf/cfg/server.cfg': No such file or directory
sed: can't read /home/steamsrv/tf2/tf/cfg/server.cfg: No such file or directory
sed: can't read /home/steamsrv/tf2/tf/cfg/server.cfg: No such file or directory
sed: can't read /home/steamsrv/tf2/tf/cfg/server.cfg: No such file or directory
sed: can't read /home/steamsrv/tf2/tf/cfg/server.cfg: No such file or directory
/scripts/run_srcds_server: line 21: /home/steamsrv/tf2/tf/cfg/autoexec_steamaccount.cfg: No such file or directory
running: ./srcds_run -console -game tf  -nohltv +exec autoexec_steamaccount.cfg +maxplayers 24 +map ctf_2fort -port 27015
/scripts/run_srcds_server: line 31: ./srcds_run: No such file or directory

I've tried running docker as a non-root user and as root. The ~/DockerVolumes/tf2 dir has the following file permissions:
drwxr-xr-x 2 root root 4096 Apr 9 13:25 tf2

Additionally, I have 290GB of space available so I shouldn't be running out of space for a TF2 app install.

Weird logs

I always get this logs in the end of the install:

The command I am using is:

docker run --name "TF2-Server"             \
  -e APP_SERVER_PORT=27015               \
  -e APP_SERVER_MAX_PLAYERS=20             \
  -e APP_SERVER_MAP=ctf_2fort                \
  -e APP_SERVER_TOKEN=abc123                 \
  -e APP_SERVER_NAME="My TF2 Server"         \
  -e APP_SERVER_CONTACT="[email protected]"   \
  -e APP_SERVER_REGION=3                     \
  -e APP_RCON_PASSWORD=abc123                \
  -v ~/.tf2:/home/steamsrv/tf2  \
  -p 27015:27015                             \
  -p 27015:27015/udp                         \
  gameservers/teamfortress2:latest
 Update state (0x81) committing, progress: 100.00 (3047795680 / 3047795680)
 Update state (0x81) committing, progress: 100.00 (3047795680 / 3047795680)
 Update state (0x81) committing, progress: 100.00 (3047795680 / 3047795680)
 Update state (0x81) committing, progress: 8.27 (561819278 / 6794830888)
 Update state (0x81) committing, progress: 8.36 (567965455 / 6794830888)
 Update state (0x81) committing, progress: 70.09 (4762365733 / 6794830888)
Success! App '232250' fully installed.
Applying server configuration
rm: cannot remove '/tmp/server.cfg': Operation not permitted
running: ./srcds_run -console -game tf -nohltv +exec autoexec_steamaccount.cfg +maxplayers 24 +map ctf_2fort -port 27015
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 440
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Setting breakpad minidump AppID = 232250

Any ideas what it might be?
What may I be doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.