gameservers / teamfortress2 Goto Github PK
View Code? Open in Web Editor NEWTeam Fortress 2 Dedicated Server
Team Fortress 2 Dedicated Server
The server seems to sit and go through and validate all the updates/files on every restart.
Is there a way to skip this?
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.