tf2-servers
tf2-servers copied to clipboard
Unable to update
tf2-base
image seems to be outdated and I can't find out a way to update the game. The version reported is 8568259
but the latest version for TF2DS is 8596679
.
This is my docker-compose.yml
file
version: '3.6'
services:
tf2:
restart: always
image: ghcr.io/melkortf/tf2-base
volumes:
- ./addons:/home/tf2/server/tf/addons
- ./maps:/home/tf2/server/tf/maps
- ./cfg:/home/tf2/server/tf/cfg
ports:
- "0.0.0.0:27015:27015/tcp"
- "0.0.0.0:27015:27015/udp"
- "0.0.0.0:27020:27020/tcp"
- "0.0.0.0:27020:27020/udp"
environment:
- "RCON_PASSWORD=XXXXXXXX"
Yeah, I need to trigger release of a new version each time TF2 gets updated; I didn't have means to do it last couple of days, apologies. I'll fix it by creating a dedicated pipeline for that.
Besides, the autoupdate feature is bundled in, so TF2 should get updated each time your container starts. Look for some errors in the container logs; also, make sure the container has write permissions to your maps
directory.
... make sure the container has write permissions to your maps directory.
All folders are set with 777
to make sure it doesn't break
Besides, the autoupdate feature is bundled in...
Doesn't work at all with no errors, except that force_install_dir
is set after login anonymous
.
@ktwrd does this issue still apply?
This issue is stale because it has been open for 60 days with no activity.
Hey, @garrappachc I'm having the same issue that is mentioned above, I can't use my servers because they are running an old version.
I'm deploying my servers using Google Cloud VM (With Containers). Even if I create a new VM with the latest version of the image, I get the same error.
These days, Valve releases two new versions, and I can't update to the last one.
Do you know how to fix it?
Hey, @garrappachc I'm having the same issue that is mentioned above, I can't use my servers because they are running an old version.
I'm deploying my servers using Google Cloud VM (With Containers). Even if I create a new VM with the latest version of the image, I get the same error.
These days, Valve releases two new versions, and I can't update to the last one.
Do you know how to fix it?
Do you have any logs from the game server? I think the update may fail if some permissions aren't set correctly.
Hey, @garrappachc I'm having the same issue that is mentioned above, I can't use my servers because they are running an old version. I'm deploying my servers using Google Cloud VM (With Containers). Even if I create a new VM with the latest version of the image, I get the same error. These days, Valve releases two new versions, and I can't update to the last one. Do you know how to fix it?
Do you have any logs from the game server? I think the update may fail if some permissions aren't set correctly.
Yeah, These are my logs.
Auto detecting CPU
Using default binary: ./srcds_linux
Updating server using Steam.
----------------------------
Redirecting stderr to '/home/tf2/.steam/logs/stderr.txt'
Logging directory: '/home/tf2/.steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1728594755
-- type 'quit' to exit --
Loading Steam API...OK
@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"
@NoPromptForPassword 1
"@NoPromptForPassword" = "1"
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
force_install_dir /home/tf2/server
Please use force_install_dir before logon!
app_update 232250
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '232250' state is 0x426 after update job.
quit
CWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 6 items discarded.
----------------------------
Your server will be restarted on map change.
Your server will be restarted on map change.
Your server needs to be restarted in order to receive the latest update.
Your server needs to be restarted in order to receive the latest update.
Most likely this is directory permission issue. Make sure you have 777 chmod set for the maps
directory.
I've triggered a new release, so pulling the new image should fix your problem for now.
Most likely this is directory permission issue. Make sure you have 777 chmod set for the
maps
directory.I've triggered a new release, so pulling the new image should fix your problem for now.
I tried to run the competitive image without maps directory, and I got same error.
I will pull the new version and see if it works. Thank you for taking the time to respond to my comments, I appreciate it :).
I tried to run the competitive image without maps directory, and I got same error.
That's the point, you can't do that - maps
should be mounted to a local directory that has chmod set to 777. Otherwise, the tf2 server will try to update, but it will fail, hence the error.
I tried to run the competitive image without maps directory, and I got same error.
That's the point, you can't do that -
maps
should be mounted to a local directory that has chmod set to 777. Otherwise, the tf2 server will try to update, but it will fail, hence the error.
Got It! I'll try that. By the way, would you mind to trigger a new release?
There was a new update a few days ago and I can't update it, please!
Got It! I'll try that. By the way, would you mind to trigger a new release?
There was a new update a few days ago and I can't update it, please!
Sure thing! Done.