joedwards32 / CS2

CS2 Dedicated Server Docker Image
https://hub.docker.com/r/joedwards32/cs2
MIT License
298 stars 55 forks source link

Auto-updater is not working #96

Closed bageshwar closed 7 months ago

bageshwar commented 8 months ago

Anytime a new game update comes, it needs a manual update via steamcmd. Is this a known issue?

joedwards32 commented 8 months ago

Hi, can you clarify? You should only need to restart the container to fetch new updates?

I have observed that the Steam CDN doesn't update all clients at the same time, instead there seems to be some staggering to prevent massive spikes in demand.

bageshwar commented 8 months ago

In my scenario, when not in use, we shut down the VM and have a cron to start the container at @reboot. This never updates the server.

I have a stop-gap solution where a separate delayed cron runs at @reboot to update the server.

joedwards32 commented 8 months ago

Can you share any of the container logs from after the @reboot but before the delayed cron?

joedwards32 commented 7 months ago

Closing due to inactivity

madhub0815 commented 2 months ago

I get an Error when staring the server regarding app 730 update. The server is starting well but I can not connect to the server because the host is out of date. So auto updating seems broken? Im on docker btw

Redirecting stderr to '/root/Steam/logs/stderr.txt' Logging directory: '/root/Steam/logs' [ 0%] Checking for available updates... [----] Verifying installation... [ 0%] Downloading update... [ 0%] Checking for available updates... [----] Download complete. [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching Steamcmd... UpdateUI: skip show logosteamcmd.sh[8]: Restarting steamcmd by request... Redirecting stderr to '/root/Steam/logs/stderr.txt' Logging directory: '/root/Steam/logs' [ 0%] Checking for available updates... [----] Verifying installation... UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1721172922 -- type 'quit' to exit -- Loading Steam API...OK

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK ERROR! Failed to install app '730' (Missing file permissions) pre-hook: noop Establishing Simpleproxy for 27005 to 127.0.0.1:27020 Starting CS2 Dedicated Server Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libengine2.so, got 0x556e41bcd990

Console initialized. Steam AppId(730), BreakpadId(2347771) InitSteamLogin_Internal: Initializing breakpad. Using breakpad crash handler Steam Universe is invalid, possibly asking before Steam was successfully initialized. ResetBreakpadAppId: Universe is 0 (k_EUniverseInvalid) ResetBreakpadAppId: Setting dedicated server app id: 2347773 Setting breakpad minidump AppID = 2347773 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Loaded libSDL3.so.0, got 0x556e41cd7e40 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libtier0.so, got 0x556e41baf260 Visibility enabled. Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x556e41cd8320 USRLOCAL path not found! Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/liblocalize.so, got 0x556e41cea870 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/librendersystemempty.so, got 0x556e41cfcdc0 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x556e41d0f310 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libschemasystem.so, got 0x556e41d21440 Trying to set dxlevel (111) which is higher than the card can support (110)! Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x556e41d3b0a0

Path ID: File Path: ADDONS "/home/steam/cs2-dedicated/game/csgo_addons/" CONTENT "/home/steam/cs2-dedicated/content/csgo/addons/metamod/" CONTENT "/home/steam/cs2-dedicated/content/csgo/" CONTENT "/home/steam/cs2-dedicated/content/csgo_imported/" CONTENT "/home/steam/cs2-dedicated/content/csgo_core/" CONTENT "/home/steam/cs2-dedicated/content/core/" CONTENTADDONS "/home/steam/cs2-dedicated/content/csgo_addons/" CONTENTROOT "/home/steam/cs2-dedicated/content/" DEFAULT_WRITE_PATH "/home/steam/cs2-dedicated/game/csgo/addons/metamod/" EXECUTABLE_PATH "/home/steam/cs2-dedicated/game/bin/linuxsteamrt64/" GAME "/home/steam/cs2-dedicated/game/csgo/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo/pak01.vpk GAME "/home/steam/cs2-dedicated/game/csgo_imported/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_imported/pak01.vpk GAME "/home/steam/cs2-dedicated/game/csgo_core/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_core/pak01.vpk GAME "/home/steam/cs2-dedicated/game/core/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/core/pak01.vpk GAME "/home/steam/cs2-dedicated/game/csgo/shaders_vulkan.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo/shaders_vulkan.vpk GAME "/home/steam/cs2-dedicated/game/csgo_core/shaders_vulkan.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_core/shaders_vulkan.vpk GAME "/home/steam/cs2-dedicated/game/core/shaders_vulkan.vpk" (vpk) /home/steam/cs2-dedicated/game/core/shaders_vulkan.vpk GAME "/home/steam/cs2-dedicated/game/csgo/addons/metamod/" GAME "/home/steam/cs2-dedicated/game/csgo/" GAME "/home/steam/cs2-dedicated/game/csgo_imported/" GAME "/home/steam/cs2-dedicated/game/csgo_core/" GAME "/home/steam/cs2-dedicated/game/core/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo/addons/metamod/bin/linuxsteamrt64/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo/addons/metamod/bin/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo/bin/linuxsteamrt64/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo/bin/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo_imported/bin/linuxsteamrt64/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo_imported/bin/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo_core/bin/linuxsteamrt64/" GAMEBIN "/home/steam/cs2-dedicated/game/csgo_core/bin/" GAMEBIN "/home/steam/cs2-dedicated/game/core/bin/linuxsteamrt64/" GAMEBIN "/home/steam/cs2-dedicated/game/core/bin/" GAMEROOT "/home/steam/cs2-dedicated/game/" MOD "/home/steam/cs2-dedicated/game/csgo/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo/pak01.vpk MOD "/home/steam/cs2-dedicated/game/csgo_imported/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_imported/pak01.vpk MOD "/home/steam/cs2-dedicated/game/csgo_core/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_core/pak01.vpk MOD "/home/steam/cs2-dedicated/game/csgo/" MOD "/home/steam/cs2-dedicated/game/csgo_imported/" MOD "/home/steam/cs2-dedicated/game/csgo_core/" PLATFORM "/home/steam/cs2-dedicated/game/core/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/core/pak01.vpk PLATFORM "/home/steam/cs2-dedicated/game/core/" SHADER_SOURCE "/home/steam/cs2-dedicated/src/shaders/csgo/addons/metamod/" SHADER_SOURCE "/home/steam/cs2-dedicated/src/shaders/csgo/" SHADER_SOURCE "/home/steam/cs2-dedicated/src/shaders/csgo_imported/" SHADER_SOURCE "/home/steam/cs2-dedicated/src/shaders/csgo_core/" SHADER_SOURCE "/home/steam/cs2-dedicated/src/shaders/core/" SHADER_SOURCE_MOD "/home/steam/cs2-dedicated/src/shaders/csgo/addons/metamod/" SHADER_SOURCE_ROOT "/home/steam/cs2-dedicated/src/shaders/" command line arguments: -dedicated -ip 0.0.0.0 -port 27020 -console -usercon -maxplayers 14 +game_type 0 +game_mode 1 +mapgroup mg_custom +map de_dust2 +sv_setsteamaccount XXXXXXXXXXXXXXXXXXXXXXXXXXXX +sv_lan 0 protected command line arguments (stripped from above): +rcon_password +sv_password Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x556e41d4da10 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x556e41d5ff60 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libpulse_system.so, got 0x556e41d728d0 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libvscript.so, got 0x556e41d86750 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x556e41d98870 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x556e41dacec0 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libvphysics2.so, got 0x556e41dc2dd0 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x556e41dd5b60 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libscenesystem.so, got 0x556e41dec2b0 Loaded /home/steam/cs2-dedicated/game/bin/linuxsteamrt64/libv8system.so, got 0x556e41e01da0 Network System Initialized .......