GithubHelp home page GithubHelp logo

Container fails to start about csgo HOT 40 CLOSED

cm2walki avatar cm2walki commented on August 18, 2024 1
Container fails to start

from csgo.

Comments (40)

CM2Walki avatar CM2Walki commented on August 18, 2024 1

Logging into Steam gameserver account with logon token '0xxxxxxxxxxxxxxxxxxxxxxxx'

These two are related.

Could not establish connection to Steam servers.

Double check your steam token. I have never seen one that starts with 0.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Since running out of space seems to be excluded already. It could also be a permission issue, did you change the container user in any way? If yes, you have to make sure that steamcmd is also owned by that user. I've had some really weird issues with steamcmd in that regard in the past.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

I did not touch the container user. The default startup script is executed with the default user.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024
 Update state (0x61) downloading, progress: 59.90 (14871871592 / 24827748493)
 Update state (0x61) downloading, progress: 60.00 (14896885886 / 24827748493)
 Update state (0x61) downloading, progress: 60.11 (14923887019 / 24827748493)
 Update state (0x61) downloading, progress: 60.23 (14952697639 / 24827748493)
 Update state (0x61) downloading, progress: 60.32 (14975862676 / 24827748493)
 Update state (0x61) downloading, progress: 60.49 (15017434328 / 24827748493)
 Update state (0x61) downloading, progress: 60.71 (15072353168 / 24827748493)
 Update state (0x61) downloading, progress: 60.90 (15119954471 / 24827748493)
 Update state (0x61) downloading, progress: 61.08 (15165271246 / 24827748493)
 Update state (0x61) downloading, progress: 61.23 (15201619559 / 24827748493)
 Update state (0x61) downloading, progress: 61.39 (15242303817 / 24827748493)
 Update state (0x61) downloading, progress: 61.53 (15276986799 / 24827748493)
 Update state (0x61) downloading, progress: 61.63 (15300405255 / 24827748493)
 Update state (0x61) downloading, progress: 61.73 (15325220247 / 24827748493)
 Update state (0x61) downloading, progress: 61.84 (15354609713 / 24827748493)
 Update state (0x61) downloading, progress: 61.98 (15387804941 / 24827748493)
 Update state (0x61) downloading, progress: 62.07 (15411604873 / 24827748493)
 Update state (0x61) downloading, progress: 62.24 (15451585086 / 24827748493)
 Update state (0x61) downloading, progress: 62.39 (15490699538 / 24827748493)
 Update state (0x61) downloading, progress: 62.50 (15516966759 / 24827748493)
 Update state (0x61) downloading, progress: 62.59 (15540783345 / 24827748493)
 Update state (0x61) downloading, progress: 62.76 (15582977318 / 24827748493)
 Update state (0x61) downloading, progress: 62.87 (15610080661 / 24827748493)
 Update state (0x61) downloading, progress: 62.99 (15639976083 / 24827748493)
 Update state (0x61) downloading, progress: 63.11 (15668161371 / 24827748493)
 Update state (0x61) downloading, progress: 63.24 (15701326541 / 24827748493)
 Update state (0x61) downloading, progress: 63.34 (15726567260 / 24827748493)
 Update state (0x61) downloading, progress: 63.44 (15751954100 / 24827748493)
 Update state (0x61) downloading, progress: 63.57 (15782362804 / 24827748493)
 Update state (0x61) downloading, progress: 63.85 (15851564551 / 24827748493)
 Update state (0x61) downloading, progress: 63.99 (15887545356 / 24827748493)
 Update state (0x61) downloading, progress: 64.12 (15920200622 / 24827748493)
 Update state (0x61) downloading, progress: 64.26 (15953755054 / 24827748493)
 Update state (0x61) downloading, progress: 64.35 (15977415012 / 24827748493)
 Update state (0x61) downloading, progress: 64.45 (16001534460 / 24827748493)
 Update state (0x61) downloading, progress: 64.56 (16029846012 / 24827748493)
 Update state (0x61) downloading, progress: 64.64 (16048720380 / 24827748493)
 Update state (0x61) downloading, progress: 64.71 (16065498280 / 24827748493)
 Update state (0x61) downloading, progress: 64.78 (16083324072 / 24827748493)
 Update state (0x61) downloading, progress: 64.88 (16109020374 / 24827748493)
 Update state (0x61) downloading, progress: 65.03 (16144672186 / 24827748493)
 Update state (0x61) downloading, progress: 65.16 (16178456852 / 24827748493)
 Update state (0x61) downloading, progress: 65.25 (16201180508 / 24827748493)
 Update state (0x61) downloading, progress: 65.42 (16243297121 / 24827748493)
 Update state (0x61) downloading, progress: 65.56 (16276991956 / 24827748493)
 Update state (0x61) downloading, progress: 65.63 (16295010512 / 24827748493)
 Update state (0x61) downloading, progress: 65.73 (16318507534 / 24827748493)
 Update state (0x61) downloading, progress: 65.85 (16348213686 / 24827748493)
 Update state (0x61) downloading, progress: 65.94 (16371561050 / 24827748493)
 Update state (0x61) downloading, progress: 66.03 (16392686151 / 24827748493)
 Update state (0x61) downloading, progress: 66.11 (16412478196 / 24827748493)
 Update state (0x61) downloading, progress: 66.19 (16434672071 / 24827748493)
 Update state (0x61) downloading, progress: 66.37 (16477663687 / 24827748493)
 Update state (0x61) downloading, progress: 66.48 (16506650476 / 24827748493)
 Update state (0x61) downloading, progress: 66.65 (16547434769 / 24827748493)
 Update state (0x61) downloading, progress: 66.89 (16606268059 / 24827748493)
 Update state (0x61) downloading, progress: 66.98 (16629500827 / 24827748493)
 Update state (0x61) downloading, progress: 67.06 (16650494075 / 24827748493)
 Update state (0x61) downloading, progress: 67.19 (16682901606 / 24827748493)
 Update state (0x61) downloading, progress: 67.26 (16699281556 / 24827748493)
 Update state (0x61) downloading, progress: 67.33 (16716408655 / 24827748493)
 Update state (0x61) downloading, progress: 67.43 (16740839186 / 24827748493)
 Update state (0x61) downloading, progress: 67.51 (16761271275 / 24827748493)
 Update state (0x61) downloading, progress: 67.61 (16787153104 / 24827748493)
 Update state (0x61) downloading, progress: 67.86 (16847031224 / 24827748493)
 Update state (0x61) downloading, progress: 68.06 (16896600803 / 24827748493)
 Update state (0x61) downloading, progress: 68.14 (16916598478 / 24827748493)
 Update state (0x61) downloading, progress: 68.21 (16935001420 / 24827748493)
 Update state (0x61) downloading, progress: 68.30 (16958560207 / 24827748493)
 Update state (0x61) downloading, progress: 68.40 (16982267648 / 24827748493)
 Update state (0x61) downloading, progress: 68.48 (17001230091 / 24827748493)
 Update state (0x61) downloading, progress: 68.54 (17016969612 / 24827748493)
 Update state (0x61) downloading, progress: 68.63 (17039278723 / 24827748493)
 Update state (0x61) downloading, progress: 68.82 (17086931676 / 24827748493)
 Update state (0x61) downloading, progress: 68.95 (17118389206 / 24827748493)
 Update state (0x61) downloading, progress: 69.08 (17149819335 / 24827748493)
 Update state (0x61) downloading, progress: 69.18 (17174947701 / 24827748493)
 Update state (0x61) downloading, progress: 69.28 (17201421430 / 24827748493)
 Update state (0x61) downloading, progress: 69.47 (17247790991 / 24827748493)
 Update state (0x61) downloading, progress: 69.59 (17278218570 / 24827748493)
 Update state (0x61) downloading, progress: 69.71 (17307288272 / 24827748493)
 Update state (0x61) downloading, progress: 69.78 (17323808902 / 24827748493)
 Update state (0x61) downloading, progress: 69.86 (17345641599 / 24827748493)
 Update state (0x61) downloading, progress: 69.96 (17368710271 / 24827748493)
 Update state (0x61) downloading, progress: 70.07 (17396134804 / 24827748493)
 Update state (0x61) downloading, progress: 70.14 (17413124010 / 24827748493)
 Update state (0x61) downloading, progress: 70.21 (17431573723 / 24827748493)
 Update state (0x61) downloading, progress: 70.37 (17470494325 / 24827748493)
 Update state (0x61) downloading, progress: 70.49 (17502093881 / 24827748493)
 Update state (0x61) downloading, progress: 70.56 (17518871097 / 24827748493)
 Update state (0x61) downloading, progress: 70.65 (17541472429 / 24827748493)
 Update state (0x61) downloading, progress: 70.72 (17558249645 / 24827748493)
 Update state (0x61) downloading, progress: 70.82 (17583897807 / 24827748493)
 Update state (0x61) downloading, progress: 70.88 (17598577871 / 24827748493)
 Update state (0x61) downloading, progress: 70.99 (17624792271 / 24827748493)
 Update state (0x61) downloading, progress: 71.10 (17653103823 / 24827748493)
 Update state (0x61) downloading, progress: 71.19 (17674124732 / 24827748493)
 Update state (0x61) downloading, progress: 71.28 (17698095309 / 24827748493)
 Update state (0x61) downloading, progress: 71.38 (17722980591 / 24827748493)
 Update state (0x61) downloading, progress: 71.47 (17744077462 / 24827748493)
 Update state (0x61) downloading, progress: 71.56 (17767314002 / 24827748493)
 Update state (0x61) downloading, progress: 71.63 (17784136210 / 24827748493)
 Update state (0x61) downloading, progress: 71.76 (17815691654 / 24827748493)
 Update state (0x61) downloading, progress: 71.83 (17834637347 / 24827748493)
 Update state (0x61) downloading, progress: 71.97 (17868561069 / 24827748493)
 Update state (0x61) downloading, progress: 72.09 (17897082863 / 24827748493)
 Update state (0x61) downloading, progress: 72.23 (17933281298 / 24827748493)
 Update state (0x61) downloading, progress: 72.36 (17964884541 / 24827748493)
 Update state (0x61) downloading, progress: 72.52 (18005817143 / 24827748493)
 Update state (0x61) downloading, progress: 72.60 (18025867780 / 24827748493)
 Update state (0x61) downloading, progress: 72.71 (18052082180 / 24827748493)
 Update state (0x61) downloading, progress: 72.83 (18082157283 / 24827748493)
 Update state (0x61) downloading, progress: 72.97 (18118033257 / 24827748493)
 Update state (0x61) downloading, progress: 73.07 (18142150505 / 24827748493)
 Update state (0x61) downloading, progress: 73.24 (18182879419 / 24827748493)
 Update state (0x61) downloading, progress: 73.37 (18216133928 / 24827748493)
 Update state (0x61) downloading, progress: 73.53 (18255370496 / 24827748493)
 Update state (0x61) downloading, progress: 73.73 (18305034140 / 24827748493)
 Update state (0x61) downloading, progress: 73.87 (18340107225 / 24827748493)
 Update state (0x61) downloading, progress: 73.98 (18368728268 / 24827748493)
 Update state (0x61) downloading, progress: 74.16 (18412585984 / 24827748493)
 Update state (0x61) downloading, progress: 74.31 (18450003521 / 24827748493)
 Update state (0x61) downloading, progress: 74.44 (18482984320 / 24827748493)
 Update state (0x61) downloading, progress: 74.53 (18503955840 / 24827748493)
 Update state (0x61) downloading, progress: 74.66 (18537488841 / 24827748493)
 Update state (0x61) downloading, progress: 74.81 (18573140441 / 24827748493)
 Update state (0x61) downloading, progress: 74.95 (18607401323 / 24827748493)
 Update state (0x61) downloading, progress: 75.06 (18636761451 / 24827748493)
 Update state (0x61) downloading, progress: 75.15 (18657953373 / 24827748493)
 Update state (0x61) downloading, progress: 75.24 (18681580504 / 24827748493)
 Update state (0x61) downloading, progress: 75.35 (18706814014 / 24827748493)
 Update state (0x61) downloading, progress: 75.49 (18742241482 / 24827748493)
 Update state (0x61) downloading, progress: 75.62 (18774477324 / 24827748493)
 Update state (0x61) downloading, progress: 75.73 (18803198452 / 24827748493)
 Update state (0x61) downloading, progress: 75.86 (18834655732 / 24827748493)
 Update state (0x61) downloading, progress: 76.01 (18872500757 / 24827748493)
 Update state (0x61) downloading, progress: 76.11 (18896984834 / 24827748493)
 Update state (0x61) downloading, progress: 76.18 (18913762050 / 24827748493)
 Update state (0x61) downloading, progress: 76.29 (18940381250 / 24827748493)
 Update state (0x61) downloading, progress: 76.41 (18969992835 / 24827748493)
 Update state (0x61) downloading, progress: 76.54 (19004144192 / 24827748493)
 Update state (0x61) downloading, progress: 76.70 (19042271526 / 24827748493)
 Update state (0x61) downloading, progress: 76.82 (19073075269 / 24827748493)
 Update state (0x61) downloading, progress: 76.87 (19086041860 / 24827748493)
 Update state (0x61) downloading, progress: 76.97 (19109230010 / 24827748493)
 Update state (0x61) downloading, progress: 77.09 (19138807142 / 24827748493)
 Update state (0x61) downloading, progress: 77.16 (19157739754 / 24827748493)
 Update state (0x61) downloading, progress: 77.25 (19178711274 / 24827748493)
 Update state (0x61) downloading, progress: 77.35 (19204226292 / 24827748493)
 Update state (0x61) downloading, progress: 77.45 (19228226934 / 24827748493)
 Update state (0x61) downloading, progress: 77.54 (19251295606 / 24827748493)
 Update state (0x61) downloading, progress: 77.62 (19271683920 / 24827748493)
 Update state (0x61) downloading, progress: 77.74 (19300888707 / 24827748493)
 Update state (0x61) downloading, progress: 77.85 (19329007722 / 24827748493)
 Update state (0x61) downloading, progress: 77.96 (19355340745 / 24827748493)
 Update state (0x61) downloading, progress: 78.13 (19397539890 / 24827748493)
 Update state (0x61) downloading, progress: 78.29 (19437985161 / 24827748493)
 Update state (0x61) downloading, progress: 78.45 (19476234378 / 24827748493)
 Update state (0x61) downloading, progress: 78.56 (19505288137 / 24827748493)
 Update state (0x61) downloading, progress: 78.73 (19547446766 / 24827748493)
 Update state (0x61) downloading, progress: 78.85 (19577585055 / 24827748493)
 Update state (0x61) downloading, progress: 79.05 (19627142484 / 24827748493)
 Update state (0x61) downloading, progress: 79.20 (19664172424 / 24827748493)
 Update state (0x61) downloading, progress: 79.29 (19685173173 / 24827748493)
 Update state (0x61) downloading, progress: 79.40 (19713743394 / 24827748493)
 Update state (0x61) downloading, progress: 79.49 (19735551052 / 24827748493)
 Update state (0x61) downloading, progress: 79.59 (19761562008 / 24827748493)
 Update state (0x61) downloading, progress: 79.70 (19788824984 / 24827748493)
 Update state (0x61) downloading, progress: 79.86 (19827795906 / 24827748493)
 Update state (0x61) downloading, progress: 80.09 (19885590382 / 24827748493)
 Update state (0x61) downloading, progress: 80.24 (19921841655 / 24827748493)
 Update state (0x61) downloading, progress: 80.35 (19948056055 / 24827748493)
 Update state (0x61) downloading, progress: 80.44 (19972483513 / 24827748493)
 Update state (0x61) downloading, progress: 80.54 (19995553660 / 24827748493)
 Update state (0x61) downloading, progress: 80.68 (20030673456 / 24827748493)
 Update state (0x61) downloading, progress: 80.78 (20056393920 / 24827748493)
 Update state (0x61) downloading, progress: 80.88 (20081781448 / 24827748493)
 Update state (0x61) downloading, progress: 81.00 (20109913671 / 24827748493)
 Update state (0x61) downloading, progress: 81.09 (20133601297 / 24827748493)
 Update state (0x61) downloading, progress: 81.19 (20156446874 / 24827748493)
 Update state (0x61) downloading, progress: 81.26 (20175983628 / 24827748493)
 Update state (0x61) downloading, progress: 81.38 (20204021582 / 24827748493)
 Update state (0x61) downloading, progress: 81.54 (20245213250 / 24827748493)
 Update state (0x61) downloading, progress: 81.66 (20275425426 / 24827748493)
 Update state (0x61) downloading, progress: 81.81 (20310583114 / 24827748493)
 Update state (0x61) downloading, progress: 81.96 (20348332154 / 24827748493)
 Update state (0x61) downloading, progress: 82.05 (20371178680 / 24827748493)
 Update state (0x61) downloading, progress: 82.14 (20393969852 / 24827748493)
 Update state (0x61) downloading, progress: 82.26 (20422064603 / 24827748493)
 Update state (0x61) downloading, progress: 82.37 (20451309037 / 24827748493)
 Update state (0x61) downloading, progress: 82.45 (20470200446 / 24827748493)
 Update state (0x61) downloading, progress: 82.51 (20484660884 / 24827748493)
 Update state (0x61) downloading, progress: 82.56 (20497565052 / 24827748493)
 Update state (0x61) downloading, progress: 82.61 (20509855439 / 24827748493)
 Update state (0x61) downloading, progress: 82.71 (20534003438 / 24827748493)
 Update state (0x61) downloading, progress: 82.93 (20588827526 / 24827748493)
 Update state (0x61) downloading, progress: 83.00 (20607910353 / 24827748493)
 Update state (0x61) downloading, progress: 83.12 (20637292227 / 24827748493)
 Update state (0x61) downloading, progress: 83.22 (20661550012 / 24827748493)
 Update state (0x61) downloading, progress: 83.37 (20698509470 / 24827748493)
 Update state (0x61) downloading, progress: 83.45 (20719814959 / 24827748493)
 Update state (0x61) downloading, progress: 83.54 (20740786479 / 24827748493)
 Update state (0x61) downloading, progress: 83.62 (20761543419 / 24827748493)
 Update state (0x61) downloading, progress: 83.74 (20791070616 / 24827748493)
 Update state (0x61) downloading, progress: 83.93 (20838407587 / 24827748493)
 Update state (0x61) downloading, progress: 84.09 (20876797601 / 24827748493)
 Update state (0x61) downloading, progress: 84.24 (20914082223 / 24827748493)
 Update state (0x61) downloading, progress: 84.35 (20942770945 / 24827748493)
 Update state (0x61) downloading, progress: 84.41 (20956040903 / 24827748493)
 Update state (0x61) downloading, progress: 84.50 (20979317654 / 24827748493)
 Update state (0x61) downloading, progress: 84.58 (21000246143 / 24827748493)
/home/steam/steamcmd/steamcmd.sh: line 38:    24 Killed                  $DEBUGGER "$STEAMEXE" "$@"
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

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

I just tried running the container on my end with a named volume & bind mount and everything works correctly.

Are you maybe running out of space during the actual download (as in temp files)? Can you check the disk usage during the download process?

Also in the last log it looks like something killed steamcmd.sh externally. After I did some digging it seems it might have killed because of low memory, which seems likely because your server looks like a VPS node to me and you also limit the amount of ram the container has.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Yes, I am using a VPS to test the container. For the 2nd start, everything worked fine the sever started but, I can't connect to the server. (Not even ping it)

I added the following env variables to the container:

SRCDS_PORT=25571
SRCDS_TV_PORT=25572

So the server should start on these ports.
image

Is there any steam command I can use to get the IP &PORT of the server running inside the container?

Also is there any way to remove the "default" ports forwards from there?

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

SRCDS_TOKEN=25571

Is this a typo? This needs to be taken from https://steamcommunity.com/dev/managegameservers.

I assume it was meant to be:
SRCDS_PORT=25571

If yes, and given you can't ping maybe try investigating the (network) security group of your node (if you use AWS, Azure or OpenStack), make sure there are appropriate rules setup to let the traffic (ICMP, TCP & UDP) through.

Also is there any way to remove the "default" ports forwards from there?

You would need to rebuild the docker image locally without the EXPOSE bit at the end.

Is there any steam command I can use to get the IP &PORT of the server running inside the container?

You can exec into the container and echo the environment variable that is passed to srcds in /home/entry.sh. Other than that I don't think srcds outputs it's listening port & ip to the logs, unfortunately.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Yes, it was a typo, thank you for the reply I will try to do some further investigation of the issue.

The network security on my node should work well since I also run some Minecraft servers on my node (also in docker) but those work fine.

Edit: I also disabled the firewall and iptables but still not working.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Alright. Since the server is now running, can you post the docker logs of it?

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Sure thing! Here is the log (Output of docker container logs id). If I execute commands like help, those work, so the server is running.

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 (174 of 51413 KB)...
[  0%] Downloading update (3587 of 51413 KB)...
[  6%] Downloading update (6544 of 51413 KB)...
[ 12%] Downloading update (9286 of 51413 KB)...
[ 18%] Downloading update (11773 of 51413 KB)...
[ 22%] Downloading update (14273 of 51413 KB)...
[ 27%] Downloading update (16757 of 51413 KB)...
[ 32%] Downloading update (19233 of 51413 KB)...
[ 37%] Downloading update (21724 of 51413 KB)...
[ 42%] Downloading update (24200 of 51413 KB)...
[ 47%] Downloading update (26889 of 51413 KB)...
[ 52%] Downloading update (29369 of 51413 KB)...
[ 57%] Downloading update (30917 of 51413 KB)...
[ 60%] Downloading update (33021 of 51413 KB)...
[ 64%] Downloading update (34254 of 51413 KB)...
[ 66%] Downloading update (35499 of 51413 KB)...
[ 69%] Downloading update (36749 of 51413 KB)...
[ 71%] Downloading update (37992 of 51413 KB)...
[ 73%] Downloading update (39355 of 51413 KB)...
[ 76%] Downloading update (40603 of 51413 KB)...
[ 78%] Downloading update (41841 of 51413 KB)...
[ 81%] Downloading update (43085 of 51413 KB)...
[ 83%] Downloading update (44451 of 51413 KB)...
[ 86%] Downloading update (45679 of 51413 KB)...
[ 88%] Downloading update (46929 of 51413 KB)...
[ 91%] Downloading update (48156 of 51413 KB)...
[ 93%] Downloading update (49502 of 51413 KB)...
[ 96%] Downloading update (50734 of 51413 KB)...
[ 98%] Downloading update (51413 of 51413 KB)...
[100%] Download complete.
[----] Installing update...
[----] 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...
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...OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
Success! App '740' already up to date.
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded.
Server will auto-restart if there is a crash.
Updating server using Steam.
----------------------------
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...OK.
@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"
@NoPromptForPassword 1
"@NoPromptForPassword" = "1"

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
force_install_dir /home/steam/csgo-dedicated
app_update 740
Success! App '740' already up to date.
quit
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded.
----------------------------
LD_LIBRARY_PATH=/home/steam/csgo-dedicated/bin:/home/steam/csgo-dedicated:/home/steam/csgo-dedicated/bin:
#
#Console initialized.
Setting breakpad minidump AppID = 740
#Using breakpad minidump system 740/13766.1179.DC
Using breakpad crash handler
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Filesystem successfully switched to safe whitelist mode
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_death' unknown.
#CGameEventManager::AddListener: event 'hltv_replay' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
[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.
[S_API FAIL] SteamAPI_Init() failed; create pipe failed.No web api auth key specified - workshop downloads will be disabled.
maxplayers set to 64
ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
Unknown command "cl_bobamt_vert"
Unknown command "cl_bobamt_lat"
Unknown command "cl_bob_lower_amt"
Unknown command "cl_viewmodel_shift_left_amt"
Unknown command "cl_viewmodel_shift_right_amt"
Unknown command "cl_teamid_min"
Unknown command "cl_teamid_max"
Unknown command "cl_teamid_overhead"
Unknown command "cl_teamid_overhead_maxdist"
Setting mapgroup to 'mg_active'
Invalid file id.
Invalid file id.
NET_CloseAllSockets
---- Host_NewGame ----
Switching filesystem to allow files loaded from disk (sv_pure_allow_loose_file_loads = 1)
Host_NewGame on map de_dust2
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
ConVarRef room_type doesn't point to an existing ConVar
ammo_grenade_limit_default - 1
ammo_grenade_limit_flashbang - 1
ammo_grenade_limit_total - 3
ammo_item_limit_healthshot - 4
bot_allow_grenades - 1
bot_allow_machine_guns - 1
bot_allow_pistols - 1
bot_allow_rifles - 1
bot_allow_rogues - 1
bot_allow_shotguns - 1
bot_allow_snipers - 1
bot_allow_sub_machine_guns - 1
bot_autodifficulty_threshold_high - 5.0
bot_autodifficulty_threshold_low - -2.0
bot_chatter - normal
bot_coop_idle_max_vision_distance - 1400
bot_defer_to_human_goals - 0
bot_defer_to_human_items - 1
bot_difficulty - 1
bot_max_hearing_distance_override - -1
bot_max_visible_smoke_length - 200
bot_max_vision_distance_override - -1
bot_quota - 10
bot_quota_mode - normal
bot_coop_idle_max_vision_distance - 1400
bot_max_vision_distance_override - -1
bot_max_hearing_distance_override - -1
bot_coopmission_dz_engagement_limit - missing cvar specified in bspconvar_whitelist.txt
cash_player_bomb_defused - 300
cash_player_bomb_planted - 300
cash_player_damage_hostage - -30
cash_player_get_killed - 0
cash_player_interact_with_hostage - 150
cash_player_killed_enemy_default - 300
cash_player_killed_enemy_factor - 1
cash_player_killed_hostage - -1000
cash_player_killed_teammate - -300
cash_player_rescued_hostage - 1000
cash_player_respawn_amount - 0
cash_team_elimination_bomb_map - 3250
cash_team_elimination_hostage_map_ct - 2000
cash_team_elimination_hostage_map_t - 1000
cash_team_hostage_alive - 0
cash_team_hostage_interaction - 500
cash_team_loser_bonus - 1400
cash_team_loser_bonus_consecutive_rounds - 500
cash_team_planted_bomb_but_defused - 800
cash_team_rescued_hostage - 0
cash_team_survive_guardian_wave - 1000
cash_team_terrorist_win_bomb - 3500
cash_team_win_by_defusing_bomb - 3250
cash_team_win_by_hostage_rescue - 3500
cash_team_win_by_time_running_out_bomb - 3250
cash_team_win_by_time_running_out_hostage - 3250
contributionscore_assist - 1
contributionscore_bomb_defuse_major - 3
contributionscore_bomb_defuse_minor - 1
contributionscore_bomb_exploded - 1
contributionscore_bomb_planted - 2
contributionscore_cash_bundle - 0
contributionscore_crate_break - 0
contributionscore_hostage_kill - -2
contributionscore_hostage_rescue_major - 3
contributionscore_hostage_rescue_minor - 1
contributionscore_kill - 2
contributionscore_kill_factor - 0
contributionscore_objective_kill - 3
contributionscore_suicide - -2
contributionscore_team_kill - -2
ff_damage_reduction_bullets - 0.1
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
global_chatter_info - 
healthshot_healthboost_damage_multiplier - 1
healthshot_healthboost_speed_multiplier - 1
healthshot_healthboost_time - 0
inferno_child_spawn_max_depth - 4
inferno_max_flames - 16
inferno_max_range - 150
molotov_throw_detonate_time - 2.0
mp_afterroundmoney - 0
mp_anyone_can_pickup_c4 - 0
mp_autokick - 1
mp_autoteambalance - 1
mp_bot_ai_bt - 
mp_buy_allow_grenades - 1
mp_buy_allow_guns - 255
mp_buy_anywhere - 0
mp_buy_during_immunity - 0
mp_buytime - 90
mp_c4_cannot_be_defused - 0
mp_c4timer - 40
mp_consecutive_loss_max - 4
mp_coop_force_join_ct - 0
mp_coopmission_bot_difficulty_offset - 0
mp_coopmission_dz - 0
mp_coopmission_mission_number - 0
mp_coopmission_dz - 0
mp_ct_default_grenades - 
mp_ct_default_melee - weapon_knife
mp_ct_default_primary - 
mp_ct_default_secondary - weapon_hkp2000
mp_damage_headshot_only - 0
mp_damage_scale_ct_body - 1.0
mp_damage_scale_ct_head - 1.0
mp_damage_scale_t_body - 1.0
mp_damage_scale_t_head - 1.0
mp_damage_vampiric_amount - 0
mp_death_drop_c4 - 1
mp_death_drop_defuser - 1
mp_death_drop_grenade - 2
mp_death_drop_gun - 1
mp_deathcam_skippable - 1
mp_default_team_winner_no_objective - -1
mp_defuser_allocation - 0
mp_display_kill_assists - 1
mp_dm_bonus_percent - 50
mp_dm_bonus_respawn - 0
mp_dm_bonusweapon_dogtags - 0
mp_dm_dogtag_score - 0
mp_dm_kill_base_score - 10
mp_dm_teammode - 0
mp_dm_teammode_bonus_score - 1
mp_dm_teammode_dogtag_score - 0
mp_dm_teammode_kill_score - 1
mp_dogtag_despawn_on_killer_death - 1
mp_dogtag_despawn_time - 120
mp_dogtag_pickup_rule - 0
mp_drop_grenade_enable - 0
mp_drop_knife_enable - 0
mp_economy_reset_rounds - 0
mp_equipment_reset_rounds - 0
mp_force_assign_teams - 0
mp_force_pick_time - 15
mp_forcecamera - 1
mp_free_armor - 0
mp_freezetime - 6
mp_friendlyfire - 0
mp_ggprogressive_round_restart_delay - 15.0
mp_ggtr_always_upgrade - 0
mp_ggtr_bomb_defuse_bonus - 1
mp_ggtr_bomb_detonation_bonus - 1
mp_ggtr_bomb_pts_for_flash - 4
mp_ggtr_bomb_pts_for_he - 3
mp_ggtr_bomb_pts_for_molotov - 5
mp_ggtr_bomb_pts_for_upgrade - 2.0
mp_ggtr_bomb_respawn_delay - 0.0
mp_ggtr_end_round_kill_bonus - 1
mp_ggtr_halftime_delay - 0.0
mp_ggtr_last_weapon_kill_ends_half - 0
mp_give_player_c4 - 1
mp_global_damage_per_second - 0.0
mp_guardian_bot_money_per_wave - 800
mp_guardian_force_collect_hostages_timeout - 50
mp_guardian_loc_icon - missing cvar specified in bspconvar_whitelist.txt
mp_guardian_loc_string_desc - 
mp_guardian_loc_string_hud - #guardian_mission_type_kills
mp_guardian_loc_weapon - 
mp_guardian_player_dist_max - 2000
mp_guardian_player_dist_min - 1300
mp_guardian_special_kills_needed - 10
mp_guardian_special_weapon_needed - awp
mp_guardian_target_site - -1
mp_guardian_force_collect_hostages_timeout - 50
mp_guardian_give_random_grenades_to_bots - 1
mp_halftime - 0
mp_halftime_pausetimer - 0
mp_heavyassaultsuit_aimpunch - 1.0
mp_heavyassaultsuit_cooldown - 5
mp_heavyassaultsuit_deploy_timescale - 0.8
mp_heavyassaultsuit_speed - 130
mp_heavybot_damage_reduction_scale - 1.0
mp_hostagepenalty - 10
mp_hostages_max - 2
mp_hostages_spawn_force_positions - 
mp_hostages_spawn_same_every_round - 1
mp_items_prohibited - 
mp_limitteams - 2
mp_match_can_clinch - 1
mp_match_end_changelevel - 0
mp_max_armor - 2
mp_maxmoney - 16000
mp_maxrounds - 0
mp_molotovusedelay - 15.0
mp_only_cts_rescue_hostages - 1
mp_plant_c4_anywhere - 0
mp_playercashawards - 1
mp_radar_showall - 0
mp_randomspawn - 0
mp_randomspawn_dist - 0
mp_randomspawn_los - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_ct - 0
mp_respawn_on_death_t - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_round_restart_delay - 7.0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_solid_teammates - 1
mp_starting_losses - 0
mp_startmoney - 800
mp_suicide_penalty - 1
mp_t_default_grenades - 
mp_t_default_melee - weapon_knife
mp_t_default_primary - 
mp_t_default_secondary - weapon_glock
mp_tagging_scale - 1.0
mp_taser_recharge_time - -1
mp_teamcashawards - 1
mp_teammates_are_enemies - 0
mp_timelimit - 5
mp_use_respawn_waves - 0
mp_warmup_pausetimer - 0
mp_warmuptime - 30
mp_warmuptime_all_players_connected - 0
mp_weapon_self_inflict_amount - 0
mp_weapons_allow_heavy - -1
mp_weapons_allow_heavyassaultsuit - 0
mp_weapons_allow_map_placed - 0
mp_weapons_allow_pistols - -1
mp_weapons_allow_rifles - -1
mp_weapons_allow_smgs - -1
mp_weapons_allow_typecount - 5
mp_weapons_allow_zeus - 1
mp_weapons_glow_on_ground - 0
mp_weapons_max_gun_purchases_per_weapon_per_match - -1
mp_win_panel_display_time - 3
occlusion_test_async - 0
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 3.0
spec_replay_bot - 0
spec_replay_enable - 0
spec_replay_leadup_time - 5.3438
sv_accelerate - 5.5
sv_air_pushaway_dist - 0
sv_airaccelerate - 12
sv_allow_votes - 1
sv_alltalk - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
sv_auto_adjust_bot_difficulty - 1
sv_auto_full_alltalk_during_warmup_half_end - 1
sv_autobunnyhopping - 0
sv_autobuyammo - 0
sv_bot_buy_decoy_weight - 1
sv_bot_buy_flash_weight - 1
sv_bot_buy_grenade_chance - 33
sv_bot_buy_hegrenade_weight - 6
sv_bot_buy_molotov_weight - 1
sv_bot_buy_smoke_weight - 1
sv_bots_force_rebuy_every_round - 0
sv_bots_get_easier_each_win - 0
sv_bots_get_harder_after_each_wave - 0
sv_bounce - 0
sv_buy_status_override - -1
sv_deadtalk - 0
sv_disable_immunity_alpha - 0
sv_disable_radar - 0
sv_disable_show_team_select_menu - missing cvar specified in bspconvar_whitelist.txt
sv_duplicate_playernames_ok - 0
sv_enablebunnyhopping - 0
sv_env_entity_makers_enabled - 1
sv_extract_ammo_from_dropped_weapons - 0
sv_falldamage_scale - 1
sv_falldamage_to_below_player_multiplier - 1
sv_falldamage_to_below_player_ratio - 0
sv_force_reflections - 0
sv_friction - 5.2
sv_grassburn - 0
sv_gravity - 800
sv_guardian_extra_equipment_ct - 
sv_guardian_extra_equipment_t - 
sv_guardian_health_refresh_per_wave - 50
sv_guardian_heavy_all - 0
sv_guardian_heavy_count - 0
sv_guardian_max_wave_for_heavy - 0
sv_guardian_min_wave_for_heavy - 0
sv_guardian_refresh_ammo_for_items_on_waves - 
sv_guardian_reset_c4_every_wave - 0
sv_guardian_respawn_health - 50
sv_guardian_spawn_health_ct - 100
sv_guardian_spawn_health_t - 100
sv_health_approach_enabled - 0
sv_health_approach_speed - 10
sv_hegrenade_damage_multiplier - 1
sv_hegrenade_radius_multiplier - 1
sv_hide_roundtime_until_seconds - missing cvar specified in bspconvar_whitelist.txt
sv_highlight_distance - 500
sv_highlight_duration - 3.5
sv_ignoregrenaderadio - 0
sv_infinite_ammo - 0
sv_knife_attack_extend_from_player_aabb - 0
sv_maxspeed - 320
sv_maxvelocity - 3500
sv_occlude_players - 1
sv_outofammo_indicator - 0
sv_show_ragdoll_playernames - missing cvar specified in bspconvar_whitelist.txt
sv_show_team_equipment_force_on - 0
sv_staminajumpcost - .080
sv_staminalandcost - .050
sv_stopspeed - 80
sv_talk_enemy_dead - 0
sv_talk_enemy_living - 0
sv_teamid_overhead_maxdist - 0
sv_teamid_overhead_maxdist_spec - 0
sv_versus_screen_scene_id - 0
sv_vote_to_changelevel_before_match_point - 0
sv_warmup_to_freezetime_delay - 4
sv_water_movespeed_multiplier - 0.8
sv_water_swim_mode - 0
sv_wateraccelerate - 10
sv_waterfriction - 1
sv_weapon_encumbrance_per_item - 0.85
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 <"
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'
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 4 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 70): SteamGameServer013 / 
RecordSteamInterfaceCreation (PID 70): 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 70): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 70): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 70): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 70): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 70): STEAMHTTP_INTERFACE_VERSION003 / HTTP
RecordSteamInterfaceCreation (PID 70): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 70): STEAMUGC_INTERFACE_VERSION014 / UGC
RecordSteamInterfaceCreation (PID 70): STEAMAPPS_INTERFACE_VERSION008 / Apps
Logging into Steam gameserver account with logon token '0xxxxxxxxxxxxxxxxxxxxxxxx'
RecordSteamInterfaceCreation (PID 70): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 70): SteamNetworkingSocketsSerialized004 / 
RecordSteamInterfaceCreation (PID 70): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 70): STEAMHTTP_INTERFACE_VERSION003 / HTTP
Initialized low level socket/threading support.
Set SteamNetworkingSockets P2P_STUN_ServerList to '' as per SteamNetworkingSocketsSerialized
SteamDatagramServer_Init succeeded
RecordSteamInterfaceCreation (PID 70): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 70): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 70): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 70): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 70): STEAMHTTP_INTERFACE_VERSION003 / HTTP
RecordSteamInterfaceCreation (PID 70): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 70): STEAMUGC_INTERFACE_VERSION014 / UGC
RecordSteamInterfaceCreation (PID 70): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 70): SteamGameCoordinator001 / 
RecordSteamInterfaceCreation (PID 70): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 70): SteamUtils009 / Utils
PutClientInServer: no info_player_start on level
GOTV[0] broadcast active.
Could not establish connection to Steam servers.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Okay now the server is working I managed to start it, however, I still can't connect to it.

I figured out, that I am unable to forward any UDP ports to the container, except the once that were exposed by default in the image.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

I figured out, that I am unable to forward any UDP ports to the container, except the once that were exposed by default in the image.

Interesting. I suspect this last issue is related to you using the docker bridge instead of the host interface. I can't clearly tell what ".portBindings(portBindings).Build();" does, so I assume it's responsible for assigning free ports using docker bridge. If that is the case then leave "$SRCDS_PORT" & "$SRCDS_TV_PORT" at their default values, since these modify the internal port listening.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Okay, I was able to figure out the issue, the issue was, that the ports were bound on UDP but exposed via TCP.

Thank you very much for the assistance!

I have one last question. How can I remove the password form the sereverm will SRCDS_RCONPW="" (empty string) work?

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Okay, I was able to figure out the issue, the issue was, that the ports were bound on UDP but exposed via TCP.

Thank you very much for the assistance!

No worries, I'm glad you figured it out :)!

I have one last question. How can I remove the password form the sereverm will SRCDS_RCONPW="" (empty string) work?

I don't know actually, you will need to find out for yourself.

from csgo.

balazsotakomaiya avatar balazsotakomaiya commented on August 18, 2024

Same context (I work with @zozidalom), and we get the following issue for some reason:

Error! App '740' state is 0x602 after update job.
cfg/
tar: cfg: Cannot mkdir: Permission denied
cfg/esl3on3.cfg.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl3on3.cfg.cfg: Cannot open: No such file or directory
cfg/gpu_mem_level_2_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_mem_level_2_pc.ekv: Cannot open: No such file or directory
cfg/gamemode_casual.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_casual.cfg: Cannot open: No such file or directory
cfg/listenserver.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/listenserver.cfg: Cannot open: No such file or directory
cfg/cpu_level_0_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/cpu_level_0_pc.ekv: Cannot open: No such file or directory
cfg/gamemode_competitive.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_competitive.cfg: Cannot open: No such file or directory
cfg/gpu_mem_level_0_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_mem_level_0_pc.ekv: Cannot open: No such file or directory
cfg/esl1on1ka.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl1on1ka.cfg: Cannot open: No such file or directory
cfg/server.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/server.cfg: Cannot open: No such file or directory
cfg/gamemode_demolition.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_demolition.cfg: Cannot open: No such file or directory
cfg/esl2on2.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl2on2.cfg: Cannot open: No such file or directory
cfg/gamemode_coopmission.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_coopmission.cfg: Cannot open: No such file or directory
cfg/start.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/start.cfg: Cannot open: No such file or directory
cfg/cpu_level_2_pc_ss.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/cpu_level_2_pc_ss.ekv: Cannot open: No such file or directory
cfg/user_default.scr
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/user_default.scr: Cannot open: No such file or directory
cfg/esl2on2aim.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl2on2aim.cfg: Cannot open: No such file or directory
cfg/gameps3.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gameps3.cfg: Cannot open: No such file or directory
cfg/esl1on1aim.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl1on1aim.cfg: Cannot open: No such file or directory
cfg/lab.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/lab.cfg: Cannot open: No such file or directory
cfg/gamemode_armsrace.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_armsrace.cfg: Cannot open: No such file or directory
cfg/cpu_level_1_pc_ss.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/cpu_level_1_pc_ss.ekv: Cannot open: No such file or directory
cfg/controller.vdf
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/controller.vdf: Cannot open: No such file or directory
cfg/config_default.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/config_default.cfg: Cannot open: No such file or directory
cfg/valve.rc
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/valve.rc: Cannot open: No such file or directory
cfg/config.360.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/config.360.cfg: Cannot open: No such file or directory
cfg/gpu_mem_level_1_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_mem_level_1_pc.ekv: Cannot open: No such file or directory
cfg/controller.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/controller.cfg: Cannot open: No such file or directory
cfg/thirdperson_joy360.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/thirdperson_joy360.cfg: Cannot open: No such file or directory
cfg/esl1on1.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl1on1.cfg: Cannot open: No such file or directory
cfg/moddefaults.txt
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/moddefaults.txt: Cannot open: No such file or directory
cfg/coop/
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/coop: Cannot mkdir: No such file or directory
cfg/coop/bot_waves_rush_a.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/coop/bot_waves_rush_a.cfg: Cannot open: No such file or directory
cfg/modsettings.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/modsettings.cfg: Cannot open: No such file or directory
cfg/controller_accelerated_hp.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/controller_accelerated_hp.cfg: Cannot open: No such file or directory
cfg/cpu_level_2_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/cpu_level_2_pc.ekv: Cannot open: No such file or directory
cfg/nav_bindings.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/nav_bindings.cfg: Cannot open: No such file or directory
cfg/steering_wheel.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/steering_wheel.cfg: Cannot open: No such file or directory
cfg/entity.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/entity.cfg: Cannot open: No such file or directory
cfg/cpu_level_1_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/cpu_level_1_pc.ekv: Cannot open: No such file or directory
cfg/thirdperson.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/thirdperson.cfg: Cannot open: No such file or directory
cfg/esl1on1hg.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl1on1hg.cfg: Cannot open: No such file or directory
cfg/gamemode_custom.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_custom.cfg: Cannot open: No such file or directory
cfg/gpu_level_1_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_level_1_pc.ekv: Cannot open: No such file or directory
cfg/gamemode_cooperative.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_cooperative.cfg: Cannot open: No such file or directory
cfg/gamemode_deathmatch.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_deathmatch.cfg: Cannot open: No such file or directory
cfg/moddefaults_mac.txt
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/moddefaults_mac.txt: Cannot open: No such file or directory
cfg/controller.360.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/controller.360.cfg: Cannot open: No such file or directory
cfg/test.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/test.cfg: Cannot open: No such file or directory
cfg/default.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/default.cfg: Cannot open: No such file or directory
cfg/csgo_esl_serverconfig/
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/csgo_esl_serverconfig: Cannot mkdir: No such file or directory
cfg/cpu_level_0_pc_ss.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/cpu_level_0_pc_ss.ekv: Cannot open: No such file or directory
cfg/game360.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/game360.cfg: Cannot open: No such file or directory
cfg/sfm_defaultanimationgroups.txt
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/sfm_defaultanimationgroups.txt: Cannot open: No such file or directory
cfg/give_all_items.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/give_all_items.cfg: Cannot open: No such file or directory
cfg/mem_level_2_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/mem_level_2_pc.ekv: Cannot open: No such file or directory
cfg/mem_level_0_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/mem_level_0_pc.ekv: Cannot open: No such file or directory
cfg/buypresetsdefault_ct.vdf
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/buypresetsdefault_ct.vdf: Cannot open: No such file or directory
cfg/thirdperson_mayamode.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/thirdperson_mayamode.cfg: Cannot open: No such file or directory
cfg/game.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/game.cfg: Cannot open: No such file or directory
cfg/gpu_level_2_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_level_2_pc.ekv: Cannot open: No such file or directory
cfg/gamemode_training.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemode_training.cfg: Cannot open: No such file or directory
cfg/buypresetsdefault_ter.vdf
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/buypresetsdefault_ter.vdf: Cannot open: No such file or directory
cfg/gpu_level_3_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_level_3_pc.ekv: Cannot open: No such file or directory
cfg/ai.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/ai.cfg: Cannot open: No such file or directory
cfg/esl2on2awp.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl2on2awp.cfg: Cannot open: No such file or directory
cfg/gpu_level_0_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gpu_level_0_pc.ekv: Cannot open: No such file or directory
cfg/eslgotv.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/eslgotv.cfg: Cannot open: No such file or directory
cfg/mem_level_1_pc.ekv
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/mem_level_1_pc.ekv: Cannot open: No such file or directory
cfg/esl2on2hg.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl2on2hg.cfg: Cannot open: No such file or directory
cfg/esl3on3.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl3on3.cfg: Cannot open: No such file or directory
cfg/thirdperson_keypad.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/thirdperson_keypad.cfg: Cannot open: No such file or directory
cfg/settings_default.scr
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/settings_default.scr: Cannot open: No such file or directory
cfg/map_edit.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/map_edit.cfg: Cannot open: No such file or directory
cfg/esl5on5.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl5on5.cfg: Cannot open: No such file or directory
cfg/gamemodes_server.txt
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/gamemodes_server.txt: Cannot open: No such file or directory
cfg/undo360controller.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/undo360controller.cfg: Cannot open: No such file or directory
cfg/esl1on1awp.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/esl1on1awp.cfg: Cannot open: No such file or directory
cfg/navedit.cfg
tar: cfg: Cannot mkdir: Permission denied
tar: cfg/navedit.cfg: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors
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```

This is upon first starting the server.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

My guess is that your bind mount is not readable / writeable by the unprivileged container user.

Can you post your docker-compose file?

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Okay the issue was that 1024MB RAM is not enough for downloading the game, it crashed during downloading. And that way the files got corrupted

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Now I am facing a new issue, the server is not willing to start after downloading. Any ideas?

image

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

With which environment variables did you start the container?

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

image

List env = Lists.newArrayList("TERM=xterm-256color", "SRCDS_PORT=" + server.getPort(), "SRCDS_TOKEN=" + csgoServer.getSteamToken(), "SRCDS_TV_PORT=" + csgoServer.getTvPort(),
"SRCDS_HOSTNAME=" + server.getName() + " - Avatag.hu", "SRCDS_RCONPW=""");

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Please consider obfuscating your SRCDS_TOKEN.

Any other logs?

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

This is just a test token, it will be revoked in the future.

I don't think I have any other logs except the container logs. Or which logs should I attach?

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

After docker container stop and docker container start I get this:

Success! App '740' already up to date.
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.

But nothing after the first install.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Is the container auto exiting?

If no, is there a srcds process running inside the container? What is preventing the container from exiting?

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

The container is not auto exiting, it is still running. How can I see what is preventing it from doing so?

image

Additional info: The files are downloaded and mounted to the host, I can see them there.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Install & Execute htop inside the container and execute it. Then you should only see the container's processes. Something is running but not progressing...

image

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Can you please send me the exact command(s), how to do that?

I tried it the follwing way, however it seams, I get a permission issue, and when I try to run it with sudo, it is not working.

image

image

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024
docker exec -it -u=0 server112 bash
apt update && apt install -y htop
htop

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

image

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Seems like wget is stuck downloading. I can't tell you why this happens. However, to confirm this just wait for 900 seconds (15 minutes) then the download should fail (default timeout value of wget).

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

The process (wget and all the others) are still running far after 15 minutes, and the server is still not starting. If I execute the entry.sh inside the container it just downloads the game again and the same issue happens.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

However after killing the wget process with F9 in htop the container starts.

Any idea how to fix this?
I want an automated system to deploy the containers, manually always killing the process is not an option for me.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Okay some further investigation: the wget command is working outside the container but not inside it. Any ideas how to fix this?

Is it possible that you set a smaller timeout on it like 3mins?

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

It's very likely an issue with your specific network setup, probably some higher end network firewall preventing wget from completing it's task. Something is probably blocking / misrouting incoming packets.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Hmm if it is an outer firewall why is the wget command working outside the container (on the host machine)? This is very interesting.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

Well then it's very likely the container routing that's mis-configured, do you use some sort of overlay network? Or are you using the vanilla docker bridge approach? Even then it wouldn't make any sense, since the steamcmd download succeed. I'm really running out of ideas...

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

The interesting part is that the same configuration worked on the other VPS. I will contact my VPS provider maybe they can give us some additional information. Thanks for everything, I will write in here once I get any news. :)

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

My netowork settings:

image

I contacted my VPS provider and there is no firewall setup that might block it.

I made some further investigation, and I found out that the download works every 5 times (20% success rate) now.

image

I also found other people with similar issues when downloading using wget inside a docker container.

https://stackoverflow.com/questions/63100546/http-request-sent-awaiting-response-404-not-found

The worst thing is that wget never times out, and the full process gets stuck and the server does never start (without manually killing the process).

Would it maybe a solution, that you upload the given file to another kind of storage /webserver (not github)?

I think that would be more stable for the future.

From any other source wget works with 100% success rate, so I am not sure what it is but this issue might be connected with the webserver settings of github.

from csgo.

zozidalom avatar zozidalom commented on August 18, 2024

Okay, finally I found the reason for the issue @CM2Walki .

This wget parameter is the solution:
image

This is just 20 by default, it needs to be increased to 25 or 30. With 25 it already works for me on my VM.

I recommend you to increase it, since both GitHub, and my VPS provider does a lot of redirects, so it is running out of them, and stucks.

from csgo.

CM2Walki avatar CM2Walki commented on August 18, 2024

That is interesting. I never had issues with that, if you like you can open a PR with the change :) (so you become a contributor).

from csgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.