GameServers / TeamFortress2

Team Fortress 2 Dedicated Server
9 stars 3 forks source link

Disk Write Failure #3

Closed Qrbaker closed 4 years ago

Qrbaker commented 4 years ago

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.

Qrbaker commented 4 years ago

Looks like it was a file permissions issue. I chmoded with 777 as a test and it installed correctly.