cm2walki / csgo Goto Github PK
View Code? Open in Web Editor NEWDockerfile for automated build of a CS:GO gameserver: https://hub.docker.com/r/cm2network/csgo/
Home Page: https://CM2.Network
License: MIT License
Dockerfile for automated build of a CS:GO gameserver: https://hub.docker.com/r/cm2network/csgo/
Home Page: https://CM2.Network
License: MIT License
Hello,
I would like any help troubleshooting the setup of the container on an AWS EC2. Am receiving the error 127
cfg/gamemodes_server.txt
cfg/undo360controller.cfg
cfg/esl1on1awp.cfg
cfg/navedit.cfg
bash: /home/steam/csgo-dedicated/srcds_run: No such file or directory
Attempting to run the container on my local windows machine does not encounter errors.
I have verified and attached a 50gb volume so should have more than enough space.
Mind helping me out?
Thanks
I have been trying to use this image for developing some plugins. The problem I am facing though is that the server is up and running but not running metamod and sourcemod. The Dockerfile I used was this one.
Neither meta version
nor sm version
commands are working via RCON (although sm version
is probably bot working because metamod is not working). I have my server directory on my host machine an I mount it into the image with the right arguments:
docker run --net=host -v $(pwd)/server:/home/steam/csgo-dedicated/ --name=csgo-ds -e SRCDS_RCONPW="testing" -e SRCDS_LAN="1" -e SRCDS_PORT=27016 -e SRCDS_IP="0.0.0.0" -e SRCDS_PW="" csgods
How do I add more maps to the CS:GO Server running in the Docker image? A guide for this would be very much appreciated! π
I agree that in a docker image should be very minimalistic. But is there a reason, that standard utils, like ps
or nano
(or vi
) are missing?
(Thanks btw for creating this, very easy to set up π )
I downloaded csgo files on my Linux server, created a volume to redirect to them (so I don't need to download the game files for every new container), and it's working perfectly.
But, what i want to do is add for example a file in the csgo folder, only in the container, as if I add some plugin, only this the cointainer that I added would be possible to acess it.
Example:
Volume to Container 1 - Source /home/csgo/ - Target ./
then I add
./addons/sourcemod/plugins/retakes.smx
Then if I create Container 2, make the same volume, and go to the same folder, this retakes.smx would not be there.
This way, I can add multiple config files to the same folder and will be no conflict with the others containers.
Is that possible? And if it is, how do I start? Any docs/forums that I would help?
As for now, I create a new csgo folder just to add some plugins (Retakes and Pug for example), but that sucks because I have to download an extra 25GB of game files, and have to update each of them individually.
Hello,
i tried to use your image like this :
docker run -d --net=host --name=csgo-dedicated -e SRCDS_TOKEN={mytoken} cm2network/csgo
And i cannot connect to the server, and even ping my server on the port 27015.
Do you have any idea?
Thanks.
I'm having some trouble mounting the STEAMAPPDIR to a different location outside my container.
Im running the server through Unraid, and haven't been able to modify the location of install.
I've tried both setting a mounting path to /home/steam/csgo-dedicated
and using a volume mount pointing to /home/steam/csgo-dedicated
Thank you for the help
When I start the container I try to look at the logs with docker logs and I get that error, then the container dies
when i command docker exec -it csgo-dedicated bash .
and then in the container i command ./srcds_run
all the best and show tips:
..........
sv_weapon_encumbrance_scale - 0
tv_delay - 10
weapon_accuracy_nospread - 0
weapon_air_spread_scale - 1.0
weapon_max_before_cleanup - 0
weapon_recoil_scale - 2.0
weapon_reticle_knife_show - 1
weapon_sound_falloff_multiplier - 1.0
sv_camera_fly_enabled - missing cvar specified in bspconvar_whitelist.txt
Executing dedicated server config file
Unknown command "sm_cvar"
Unknown command "sv_unlag"
Unknown command "tv_allow_camera_man"
maxplayers set to 64
Console: "> ESL GOTV Config loaded - 14.01.2016 <"
Stopping 0 worker threads
Starting 1 worker threads
1 threads. 2,622,148 ticks
exec: couldn't exec gamemode_casual_server.cfg
PrecacheScriptSound 'Survival.VO.Taunt4a' failed, no such sound script entry
PrecacheScriptSound 'Snowball.Bounce' failed, no such sound script entry
CHostage::Precache: missing hostage models for map de_dust2. Adding the default models.
PrecacheScriptSound 'balkan_epic_blank' failed, no such sound script entry
Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'.
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Initializing Steam libraries for secure Internet server
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 11 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 218): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 218): SteamUtils009 /
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Setting breakpad minidump AppID = 740
RecordSteamInterfaceCreation (PID 218): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 218): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 218): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 218): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 218): STEAMHTTP_INTERFACE_VERSION003 / HTTP
RecordSteamInterfaceCreation (PID 218): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 218): STEAMUGC_INTERFACE_VERSION014 / UGC
RecordSteamInterfaceCreation (PID 218): STEAMAPPS_INTERFACE_VERSION008 / Apps
Logging into Steam gameserver account with logon token '932055C4xxxxxxxxxxxxxxxxxxxxxxxx'
RecordSteamInterfaceCreation (PID 218): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 218): SteamNetworkingSocketsSerialized003 /
RecordSteamInterfaceCreation (PID 218): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 218): STEAMHTTP_INTERFACE_VERSION003 / HTTP
SteamDatagramServer_Init succeeded
RecordSteamInterfaceCreation (PID 218): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 218): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 218): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 218): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 218): STEAMHTTP_INTERFACE_VERSION003 / HTTP
RecordSteamInterfaceCreation (PID 218): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 218): STEAMUGC_INTERFACE_VERSION014 / UGC
RecordSteamInterfaceCreation (PID 218): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 218): SteamGameCoordinator001 /
RecordSteamInterfaceCreation (PID 218): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 218): SteamUtils009 / Utils
PutClientInServer: no info_player_start on level
GOTV[0] broadcast active.
Connection to Steam servers successful.
Public IP is 103.218.242.185.
Assigned persistent gameserver Steam ID [G:1:3404696].
Gameserver logged on to Steam, assigned identity steamid:85568392923444120
VAC secure mode is activated.
and then about 10-20seconds
it restart always . how can i do
Hello,
When I start the latest image, I have the followings errors:
/home/steam/csgo-dedicated/entry.sh: 2: /home/steam/csgo-dedicated/entry.sh: /home/steam/steamcmd/steamcmd.sh: Permission denied
/home/steam/csgo-dedicated/entry.sh: 4: /home/steam/csgo-dedicated/entry.sh: /home/steam/csgo-dedicated/srcds_run: not found
/home/steam/csgo-dedicated/entry.sh: 2: /home/steam/csgo-dedicated/entry.sh: /home/steam/steamcmd/steamcmd.sh: Permission denied
/home/steam/csgo-dedicated/entry.sh: 4: /home/steam/csgo-dedicated/entry.sh: /home/steam/csgo-dedicated/srcds_run: not found
This is the command I use to start the container:
docker run -d --net=host --name=csgo-dedicated --userns=host -e SRCDS_TOKEN={MYTOKEN} --cpus=4 cm2network/csgo
Do you have any idea what could cause this ?
Thanks in advance for your help.
I have mounted my files (csgo folder) to it's docker equivalent, but this way, every time I destroy and re-create the container all the files are re-downloaded my steamcmd.
First, it is verifying my files, and after that is starts downloading all of them again for some reason.
Update state (0x5) verifying install, progress: 1.69 (418925930 / 24778345278)
...
...
Update state (0x11) preallocating, progress: 87.96 (21795643606 / 24778345278)
Update state (0x61) downloading, progress: 0.00 (265660 / 24778345278)
My configuration:
The mount if working, since I can see the content of the csgo folder on the host machine in the server116 folder. But after recreating the container steam starts redownloading all the files.
Any ideas on how to fix this?
Hello @CM2Walki , I am experiencing the following issue when starting the container.
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Downloading update (395 of 51413 KB)...
[ 0%] Downloading update (1635 of 51413 KB)...
[ 3%] Downloading update (4401 of 51413 KB)...
[ 8%] Downloading update (5959 of 51413 KB)...
[ 11%] Downloading update (6966 of 51413 KB)...
[ 13%] Downloading update (7916 of 51413 KB)...
[ 15%] Downloading update (9335 of 51413 KB)...
[ 18%] Downloading update (11063 of 51413 KB)...
[ 21%] Downloading update (12637 of 51413 KB)...
[ 24%] Downloading update (14630 of 51413 KB)...
[ 28%] Downloading update (16423 of 51413 KB)...
[ 31%] Downloading update (17432 of 51413 KB)...
[ 33%] Downloading update (17741 of 51413 KB)...
[ 34%] Downloading update (19061 of 51413 KB)...
[ 37%] Downloading update (20739 of 51413 KB)...
[ 40%] Downloading update (23180 of 51413 KB)...
[ 45%] Downloading update (25067 of 51413 KB)...
[ 48%] Downloading update (26368 of 51413 KB)...
[ 51%] Downloading update (27850 of 51413 KB)...
[ 54%] Downloading update (29058 of 51413 KB)...
[ 56%] Downloading update (30174 of 51413 KB)...
[ 58%] Downloading update (31414 of 51413 KB)...
[ 61%] Downloading update (32670 of 51413 KB)...
[ 63%] Downloading update (33592 of 51413 KB)...
[ 65%] Downloading update (34616 of 51413 KB)...
[ 67%] Downloading update (35735 of 51413 KB)...
[ 69%] Downloading update (36845 of 51413 KB)...
[ 71%] Downloading update (37836 of 51413 KB)...
[ 73%] Downloading update (38642 of 51413 KB)...
[ 75%] Downloading update (39308 of 51413 KB)...
[ 76%] Downloading update (40499 of 51413 KB)...
[ 78%] Downloading update (41677 of 51413 KB)...
[ 81%] Downloading update (43032 of 51413 KB)...
[ 83%] Downloading update (44014 of 51413 KB)...
[ 85%] Downloading update (45124 of 51413 KB)...
[ 87%] Downloading update (46231 of 51413 KB)...
[ 89%] Downloading update (47328 of 51413 KB)...
[ 92%] Downloading update (48145 of 51413 KB)...
[ 93%] Downloading update (49301 of 51413 KB)...
[ 95%] Downloading update (50723 of 51413 KB)...
[ 98%] Downloading update (51413 of 51413 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '740' state is 0x202 after update job.
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.
tar: /home/steam/csgo-dedicated/csgo: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
sed: can't read /home/steam/csgo-dedicated/csgo/cfg/server.cfg: No such file or directory
bash: /home/steam/csgo-dedicated/srcds_run: No such file or directory
I am setting up the container using the following config:
The steamapps folder seems to appear at the physical drive.
βββ steamapps
βββ appmanifest_740.acf
βββ downloading
β βββ 740
βββ libraryfolders.vdf
βββ temp
βββ 740
5 directories, 2 files
I have enough disk space on my machine:
After running the container, how can my friends connect to the server externally? How can I get the IP address?
restart the container with additional environment args?
When deploying a new container, steamcmd is failing to update the csgo dedicated server. After downloading the ~25GB dedicated server files, steamcmd throws an error:
"SteamCMD - App state is 0x602 after update job"
Appid 740 files are still in the temp download directory.
When running steamcmd manually, I experienced:
"Loading Steam API...Warning: failed to init SDL thread priority manager: SDL not found"
I believe this is caused by the absence of a 32bit SDL library, possibly now required by steam after a recent update?
I encountered these issues when I noticed a very long delay changing maps on the server, and after pulling the container fresh, the server will not start at all.
Hi,
I was just wondering if we can have an image for eBot as well (with the csay plugin)?
Hello,
I have a problem when starting my docker.
Start-up stops at RecordSteamInterfaceCreation (PID 58): SteamUtils010 / Utils
My docker command is :
docker run -d --net=host -v $(pwd):/home/steam/csgo-dedicated/ --name=csgo-sourcemod -e SRCDS_TOKEN=XXXXXX -e SRCDS_HOSTNAME="CsGO Server" cm2network/csgo:sourcemod
I tried different configuration, without success.
Do you have any idea of ββmy problem?
Thank you in advance.
StΓ©phane
I started new fresh server but getting bad password error while trying to connect. Any hints?
Hello,
First, thank you very much for your work. I'm using your docker image and it works very well, except RCON.
I have a spare pc, that is setup with dynamic dns (because I don't have a static one.), my ip does not change that often, i think once in 6 months. So I decided to use your image and my spare pc to host a csgo server. With port forwarding it works flawlessly, me and my friends which are outside of my local network can play. But when trying to use RCON, i always get Unable to connect to remote server (192.168.x.x:27015)
I don't think it's an issue with your image, but I looked everywhere and couldn't find any tip except #2 (comment), but it didn't work either. I tried with my public and local ips without success.
Is there something else I can check? Thanks.
Functionality to configure this via start parameters was wiped unintentionally by #55.
Start behaviour should be split into:
Hi,
So I'd like to install sourcemod and Metamod:Source on top of this server to in the end install the splewis practice mod plugin. The instructions say that you should shut down your server for the installation which makes sense for me but how do I do that? I tried killing processes called csgo/src but that instantly shut down the server. Any ideas? Thank you!
I'm trying to execute your image in Azure Container Instances, but I receive this error
2020-11-11T12:21:41.5924852Z stderr F /home/steam/steamcmd/steamcmd.sh: line 37: /home/steam/steamcmd/linux32/steamcmd: cannot execute binary file: Exec format error
2020-11-11T12:21:47.3000582Z stderr F tar: /home/steam/csgo-dedicated/csgo: Cannot open: No such file or directory
2020-11-11T12:21:47.3000582Z stderr F tar: Error is not recoverable: exiting now
2020-11-11T12:21:47.3230667Z stderr F sed: can't read /home/steam/csgo-dedicated/csgo/cfg/server.cfg: No such file or directory
2020-11-11T12:21:47.3250689Z stderr F bash: /home/steam/csgo-dedicated/srcds_run: No such file or directory
I'm using this command line for executing the instance
sudo docker run -p=27015:27015 --name=csgo-dedicated --env-file env-list.txt cm2network/csgo
Thanks
When running the container on linux everything is fine.
On windows, --net=host
is not supported.
So I tried a different approach and only published the ports I need. -p 27015:27015/udp -p 27015:27015/tcp
.
On linux this works as well. I can connect and control the server with rcon.
On windows I finally see the server listed, but I cannot connect.
Does anyone know what the issue could be or how to get the container to run on a windows host?
I would have expected that a container should run on linux and windows in the same way
Side note: I do not pass SRCDS_TOKEN
, but that should not change anything.
Hi, i was wondering how do i pull the sourcemod version of your docker image.
Hello,
I dont know if it s related to the docker image, but when the side ends, some people get stuck with the score board opened. No way to close it.
I use the esl5on5
config.
Any idea ?
Hello,
First Thank You for this great docker image.
I'm having a bit of trouble with loading the correct and perfect config files when creating a new container, but I will find a way past there. (Currently it is a copy and paste but) I thought of extending this image.
Unfortunately, I cannot load any workshop maps with the given parameters:
-e SRCDS_WORKSHOP_AUTHKEY={XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}
-e SRCDS_HOST_WORKSHOP_COLLECTION={2281264614}
There is a LOG file of the container startup attached. I think the error is caused in line
2091: [S_API FAIL] SteamAPI_Init() failed; create pipe failed.[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
ProblemLogInstallAPIKey.txt
Can someone verify this problem or am I doing it wrong?
Hey !
I just created my CSGO container using your Dockerfile !
I did pass the SRCDS_RCONPW with password to environment variables, but RCON access is not working :/
In CSGO, it says "Unable to connect to remote server"..
Do you have a trick, or do you think I missed something ?
When inspecting container, Env array gives the good key with the good password, and it looks like to start the container using -usercon and +rcon_password $SRCDS_RCONPW, so I don't understand why it doesn't work :/
Thanks ! :p
I have noticed that after some days, the server is caught in a restart loop after a Valve-triggered update (similar as described in #29).
The server is deployed via docker-compose and works just fine for a few days:
version: "3.3"
services:
csgo:
image: cm2network/csgo:sourcemod
env_file:
- .env
volumes:
- csgo:/home/steam/csgo-dedicated/
ports:
- "27015:27015/tcp"
- "27015:27015/udp"
- "27020:27020/tcp"
- "27020:27020/udp"
volumes:
csgo:
I'm happy to provide more details for further debugging.
I want to run this as docker-compose.
This is my docker-compose.yml file:
version: "3"
services:
csgo:
image: cm2network/csgo
restart: always
container_name: csgo
hostname: csgo
volumes:
- ./csgo-dedicated/:/home/steam/csgo-dedicated
environment:
- SRCDS_TOKEN=XXXXXX
- SRCDS_STARTMAP="de_mirage"
network_mode: "host"
tty: true
I am trying to run it with sudo docker-compose -up --build
. However, this is what I get:
Starting csgo ... done
Attaching to csgo
csgo | /bin/sh: 1: /home/steam/csgo-dedicated/entry.sh: not found
Could it possibly be because of permissions or that mounting an empty folder clears the contents of the /home/steam/csgo-dedicated?
As a Linux/Docker newbie I'am struggling to setup persistent mount of the server paths with you CSGO image on my Synology Diskstation (DS218+). It seems to be an issue with the NAS user and group permissions and fixed user ID 1000 (?) of your image.
It would be great to have user and group ID easy to setup via environment variables to achieve userfriendly persisten mounts.
I found the format very interesting, but I miss more instructions, besides, I don't know how to define a name for my server.
Can you help me with that?
Currently I can see that only a certain number of parameters are passed to srcds, and these can be overridden with environment variables.
Is it possible to configure additional parameters for srcds at container startup?
Hello,
I have the same issue than the #56 . I can't connect to the server in local. I've used docker run -d --net=host -v $(pwd)/csgo-data:/home/steam/csgo-dedicated/ --name=csgo-dedicated cm2network/csgo
to connect (I haven't set SRCDS_TOKEN because everything is on the same computer).
I am running the container on ArchLinux and the logs seems normal :
sv_camera_fly_enabled - missing cvar specified in bspconvar_whitelist.txt
Executing dedicated server config file
Unknown command "sm_cvar"
Unknown command "sv_unlag"
Unknown command "tv_allow_camera_man"
maxplayers set to 64
Console: "> ESL GOTV Config loaded - 14.01.2016 <"
Unknown command "sm_cvar"
Unknown command "sv_unlag"
Unknown command "tv_allow_camera_man"
maxplayers set to 64
Console: "> ESL GOTV Config loaded - 14.01.2016 <"
exec: couldn't exec gamemode_competitive_server.cfg
PrecacheScriptSound 'Survival.VO.Taunt4a' failed, no such sound script entry
PrecacheScriptSound 'Snowball.Bounce' failed, no such sound script entry
CHostage::Precache: missing hostage models for map de_dust2. Adding the default models.
PrecacheScriptSound 'balkan_epic_blank' failed, no such sound script entry
Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'.
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
[S_API] SteamAPI_Init(): Loaded '/home/steam/.steam/sdk32/steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198247692264 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561198247692264
Setting breakpad minidump AppID = 740
Do you have any idea ? I probably haven't setup docker correctly, that's my first time using it.
Thank's.
Hey,
first, thank you for this image.
I am using it for a dev environment as i need a csgo server for my app.
But i've one issue with it.
Every time i am starting the container, the container downloads all updates.
This takes much time and is not necessary i guess... although im using a volume for this container, the updates are downloaded every time like this:
Update state (0x61) downloading, progress: 0.22 (52933403 / 24249667270)
Do you have a hint for me what i can do?
Thanks
Hi,
I had the container running a couple of weeks ago, was now looking to revisit the server again to find it not working. I've attached a complete log of the container output. The run command executed was as follows:
docker run -it \
-e "SRCDS_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-p 27015:27015/udp \
--restart unless-stopped \
cm2network/csgo
From what I can make out from the logs, there seem to be some permission problems. Error! App '740' state is 0x202 after update job.
indicates that the game files are not downloaded. When googling this issue, I came across a case where there was not enough disk space to download the server files. I am not sure if this could be the issue, as my linux host reports 21 GB of available space.
Hey folks, after i did the normal update procedure the second command in the entry.sh is failing. srcds_run not found. Hope you can help me out
Docker best practices does not recommend on autoclean
and autoremove
. Getting rid of apk lists should be enough
Lines 36 to 38 in 7deb67c
ref:
Greetings,
i'm currently looking for a solution to start with -condebug without editing entry.sh after every deployment or set entrypoint in my composer file. Is it possible that you could add some "ADDITIONAL_ARGS" env where i can pass "-condebug". I need that for a project my company is working on currently and i would like to use your docker container and not creating my own :)
When starting up the server, after the update process, the following error message appears:
^[[36mcsgo_1 |^[[0m Success! App '740' fully installed.
^[[36mcsgo_1 |^[[0m Server will auto-restart if there is a crash.
^[[36mcsgo_1 |^[[0m Updating server using Steam.
^[[36mcsgo_1 |^[[0m ----------------------------
^[[36mcsgo_1 |^[[0m /home/steam/csgo-dedicated/srcds_run: line 301: ./steam.sh: No such file or directory
^[[36mcsgo_1 |^[[0m ----------------------------
The server will continue to work just fine for now, but this should be looked at, as this does not seem to be expected.
Hi,
Is there any link or resource to get example on how to setup advanced parameters like warmup time ?
The readme mentions ADDITIONAL_ARGS
but no example on how to use it ?
If you can just give a more detailed example it would be awesome !
thanks.
Hi
I set game mode casual and created and set up the files like gamemode_casual_server.txt
I also set up a map group called mg_normal and linked it to casual mode.
As start map I am using cs_assault. After the map ends (20 rounds) the end screen appears with the vote of the next map. Don't mater what clients choose the next map is always dust2.
Also the nextmap command right after the start of the server points that it will be dust2.
I checked all files like server.cfg (no entry for mapgroups needed?) and gamemode_server.txt but both are set up correctly?
Does anyone have a tip where to look? Who ist the command for the map cycle here?
Hi,
I've used the latest docker image and everything works fine except if I try to join the game from the CSGO client.
I select the server browser and then the LAN-tab. The server shows up 2 times with exact the same values.
One of the servers is not responding, the other is responding and I'm able to join the game.
Is there a way to remove the duplicate entry?
Thanks.
When I launch a container following the instructions, it dies immediately.
docker run -d --net=host -v /home/steam/csgo-dedicated/ --name=csgo-dedicated -e SRCDS_TOKEN=MYTOKEN cm2network/csgo
Operating system
RancherOS v1.5.6
Logs
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 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...
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 3 items discarded.
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...Warning: failed to init SDL thread priority manager: SDL not found
OK.
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) verifying install, progress: 7.87 (1931605736 / 24533768925)
Error! App '740' state is 0x202 after update job.
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded.
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.
bash: /home/steam/csgo-dedicated/srcds_run: No such file or directory
When starting the server, I get the following error message in the logs:
Loading Steam API...Warning: failed to init SDL thread priority manager: SDL not found
I found this comment related to it: ValveSoftware/steam-for-linux#7036 (comment)
Hey, so I am doing everything as described, but upon
docker run -d --net=host --name=csgo-dedicated -e cm2network/csgo
I still cannot reach my server.
I have tried a different docker Container provided here https://github.com/kaimallea/csgo, which has actually worked and I could reach my server.
Here is the complete output: https://gist.github.com/Nuc1eoN/c28e55a526628ecad27fadb85a9d3b27
When I am trying to run your container I am getting
bash: entry.sh: No such file or directory
And then the container exits.
The command I use:
podman run -d --net=host -v ~/podman.d/volumes/csgo/:/home/steam/csgo-dedicated/ --name=csgo-dedicated2 cm2network/csgo
guys;
right now when I run the docker image, it takes quite a while for entry.sh to update the container with new binaries before the server is actually up and running.
I am thinking maybe it is a better idea to add a routine to the actual CSGO CI/CD pipelines so that whenever they release a new binary for it, this docker image is also updated along with that and tagged with "latest".
to be transparent, I just fetch "cm2network/csgo" image and not "cm2network/csgo:latest" but I don't think that would make any change in my experience.
I want to try this image without doing it in an actual server/cloud. However I tried without success, even though the container logs seem to be indicating the server started successfully.
1 - Should I be able to connect locally if I start a container with the following command?
docker run -d --net=host --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo
2 - Do I even need to pass the SRCDS_TOKEN to run this image locally?
3 - If I can run this image locally, should it automatically appear listed in the LAN servers in CSGO or do I need to run a command to connect in CSGO?
In Your dockerfile is specified Steam app ID at row number 8: ENV STEAMAPPID 740
, but currently it is 730. Taken from Steam app IDs page: https://steamdb.info/search/?a=app&q=counter-strike%3A+global+offensive&type=1&category=0
Or does 740 do somethingelse, which i am not aware of?
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.