[Support] ich777 - Gameserver Dockers


Recommended Posts

2 minutes ago, ra4e1 said:

I've tried various changes, but also without.

What changes? Have done anything to the port?

 

2 minutes ago, ra4e1 said:

Currently not, but I have one laying around.

To what is the Game File path set?

Are the game files split across multiple disks?

Link to comment
5 minutes ago, ich777 said:

What changes? Have done anything to the port?

I didn't touch the ports (27015) or the paths. Should I?

 

I tried validate installation and different game parameters.

 

4 minutes ago, ich777 said:

To what is the Game File path set?

Are the game files split across multiple disks?

SteamCMD: /mnt/user/appdata/steamcmd

ServerFiles: /mnt/disk1/appdata/garrysmod

 

I only have one disk and a paraty drive

Link to comment
Just now, ra4e1 said:

I didn't touch the ports (27015) or the paths. Should I?

No, of course not!

 

I now tried it now on my own and it works flawlessly:

1.thumb.png.8695bcb9648e2206c1e854883f2bcb4d.png

2.png.72bc2c95314d6d4eccbfc15691e68aa8.png

 

...and here is the log: garrysmod.txt

 

Please keep in mind, I didn't touch a single thing in the container template and it worked right OOB.

 

On what Unraid version are you?

Link to comment
Just now, ra4e1 said:

I tried validate installation and different game parameters.

Please turn off validation, validation will cause a longer start because it validates the files on every start from the game.

 

I've now also pushed a update to the container, only a modernization and update thing.

(the above test was with the old version that you are running, the new container also runs fine)

 

Is the container on the same sub net as you local computer?

Link to comment
On 3/7/2022 at 5:32 PM, ich777 said:

So everything is working again for you?

What CMD files are you talking about?

 

Do you changed anything within steamcmd.sh?

Yes everything is fine, i had a faulty stick of 16gb ddr4 and it made my system wonky af.. 

 

faulty ram feels like any hardware fault known to mankind at once, i borked up alot on my unraid Server until i pinned down that faulty Stick. 
 

i deleted steam cmd manualy and reinstalled Valheim that installed cmd fresh and voila all good now.

 

 

  • Like 1
Link to comment

Ok now there is a new problem:

 

---Checking if UID: 99 matches user---
---Checking if GID: 100 matches user---
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1646806219
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...Connectivity test: result=Connected, in progress=0
OK
Waiting for client config...OK
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1646806219
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...Connectivity test: result=Connected, in progress=0
OK
Waiting for client config...OK
Connecting anonymously to Steam Public...Connectivity test: result=Connected, in progress=0
OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '4020' already up to date.
---Prepare Server---
---Server ready---
---Start Server---
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Setting breakpad minidump AppID = 4000
tcmalloc: large alloc 4289937408 bytes == (nil) @
Add "-debug" to the /serverdata/serverfiles/srcds_run command line to generate a debug.log to help with solving this problem
Segmentation fault
Sun 13 Mar 2022 05:06:49 PM CET: Server restart in 10 seconds
Setting breakpad minidump AppID = 4000
tcmalloc: large alloc 4291100672 bytes == (nil) @
Segmentation fault
Add "-debug" to the /serverdata/serverfiles/srcds_run command line to generate a debug.log to help with solving this problem
Sun 13 Mar 2022 05:07:02 PM CET: Server restart in 10 seconds

 

I googled "GMod Segmentation fault and it seems like I am running out of Memory...

 

Well I thought 8 gb could run at least a teamspeak and a gmod server

 

Is there any workaround for that problem or do I just need to buy more RAM?

 

Only Teamspeak is running on the screenshot

 

Unbenannt.PNG

Link to comment
7 minutes ago, ra4e1 said:

Is there any workaround for that problem or do I just need to buy more RAM?

You are definetely running not out of RAM…

The container doesn‘t need that much RAM.

 

can you please post a screenshot from your entire Docker template?

Link to comment

I deleted the container, the garrysmod folder and the steamcmd folder and did a fresh install, but same problem again:

 

tcmalloc: large alloc 4289806336 bytes == (nil) @
Setting breakpad minidump AppID = 4000
tcmalloc: large alloc 4289806336 bytes == (nil) @
Segmentation fault
Add "-debug" to the /serverdata/serverfiles/srcds_run command line to generate a debug.log to help with solving this problem
Sun 13 Mar 2022 06:02:21 PM CET: Server restart in 10 seconds

Link to comment

Ok, I restarted the Unraid and reinstalled again and now we are here:

 

---Checking if UID: 99 matches user---
---Checking if GID: 100 matches user---
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
SteamCMD not found!
steamcmd.sh
linux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[----] Downloading update (0 of 54,720 KB)...
[ 0%] Downloading update (2,667 of 54,720 KB)...
[ 4%] Downloading update (6,475 of 54,720 KB)...
[ 11%] Downloading update (8,691 of 54,720 KB)...
[ 15%] Downloading update (11,278 of 54,720 KB)...
[ 20%] Downloading update (13,379 of 54,720 KB)...
[ 24%] Downloading update (15,847 of 54,720 KB)...
[ 28%] Downloading update (18,323 of 54,720 KB)...
[ 33%] Downloading update (20,793 of 54,720 KB)...
[ 37%] Downloading update (23,167 of 54,720 KB)...
[ 42%] Downloading update (25,568 of 54,720 KB)...
[ 46%] Downloading update (28,225 of 54,720 KB)...
[ 51%] Downloading update (30,600 of 54,720 KB)...
[ 55%] Downloading update (32,900 of 54,720 KB)...
[ 60%] Downloading update (35,219 of 54,720 KB)...
[ 64%] Downloading update (37,028 of 54,720 KB)...
[ 67%] Downloading update (38,313 of 54,720 KB)...
[ 70%] Downloading update (39,436 of 54,720 KB)...
[ 72%] Downloading update (40,593 of 54,720 KB)...
[ 74%] Downloading update (41,877 of 54,720 KB)...
[ 76%] Downloading update (43,019 of 54,720 KB)...
[ 78%] Downloading update (44,196 of 54,720 KB)...
[ 80%] Downloading update (45,444 of 54,720 KB)...
[ 83%] Downloading update (46,609 of 54,720 KB)...
[ 85%] Downloading update (47,777 of 54,720 KB)...
[ 87%] Downloading update (48,960 of 54,720 KB)...
[ 89%] Downloading update (50,200 of 54,720 KB)...
[ 91%] Downloading update (51,350 of 54,720 KB)...
[ 93%] Downloading update (52,510 of 54,720 KB)...
[ 95%] Downloading update (53,748 of 54,720 KB)...
[ 98%] Downloading update (54,720 of 54,720 KB)...
[100%] Download Complete.
[----] Applying 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...
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
/tmp/dumps insufficient permissions - delete and recreate
[ 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...
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1646806219
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...Connectivity test: result=Connected, in progress=0
OK
Waiting for client config...OK
Waiting for user info...OK
---Update Server---
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1646806219
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...Connectivity test: result=Connected, in progress=0
OK
Waiting for client config...OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 0.05 (1931424 / 3991352074)
Update state (0x61) downloading, progress: 1.44 (57556991 / 3991352074)
Update state (0x61) downloading, progress: 4.42 (176330135 / 3991352074)
Update state (0x61) downloading, progress: 8.33 (332567975 / 3991352074)
Update state (0x61) downloading, progress: 13.58 (542061666 / 3991352074)
Update state (0x61) downloading, progress: 18.21 (726914127 / 3991352074)
Update state (0x61) downloading, progress: 22.47 (896930774 / 3991352074)
Update state (0x61) downloading, progress: 27.80 (1109591553 / 3991352074)
Update state (0x61) downloading, progress: 34.62 (1381984467 / 3991352074)
Update state (0x61) downloading, progress: 39.94 (1594134803 / 3991352074)
Update state (0x61) downloading, progress: 43.80 (1748091466 / 3991352074)
Update state (0x61) downloading, progress: 48.84 (1949263651 / 3991352074)
Update state (0x61) downloading, progress: 54.34 (2168932933 / 3991352074)
Update state (0x61) downloading, progress: 60.80 (2426801162 / 3991352074)
Update state (0x61) downloading, progress: 65.23 (2603583611 / 3991352074)
Update state (0x61) downloading, progress: 71.00 (2833744602 / 3991352074)
Update state (0x61) downloading, progress: 78.91 (3149585216 / 3991352074)
Update state (0x61) downloading, progress: 86.72 (3461256838 / 3991352074)
Update state (0x61) downloading, progress: 92.94 (3709386794 / 3991352074)
Update state (0x61) downloading, progress: 94.19 (3759617733 / 3991352074)
Update state (0x81) verifying update, progress: 0.00 (44106 / 3991352074)
Update state (0x81) verifying update, progress: 6.45 (257321512 / 3991352074)
Update state (0x81) verifying update, progress: 6.55 (261515816 / 3991352074)
Update state (0x81) verifying update, progress: 13.60 (542911563 / 3991352074)
Update state (0x81) verifying update, progress: 24.79 (989410004 / 3991352074)
Update state (0x81) verifying update, progress: 35.80 (1428827527 / 3991352074)
Update state (0x81) verifying update, progress: 46.64 (1861637625 / 3991352074)
Update state (0x81) verifying update, progress: 57.69 (2302623462 / 3991352074)
Update state (0x81) verifying update, progress: 68.61 (2738271778 / 3991352074)
Update state (0x81) verifying update, progress: 79.56 (3175525969 / 3991352074)
Update state (0x81) verifying update, progress: 90.72 (3620872584 / 3991352074)
Success! App '4020' fully installed.
---Prepare Server---
---Server ready---
---Start Server---
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
tcmalloc: large alloc 4292878336 bytes == (nil) @
tcmalloc: large alloc 4292878336 bytes == (nil) @
Setting breakpad minidump AppID = 4000
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 5 milliseconds to initialize
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
src/common/pipes.cpp (885) : stalled cross-thread pipe.
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20220313181234_11.dmp
success = no
error: libcurl.so: cannot open shared object file: No such file or directory
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-processsrc/common/pipes.cpp (885) : stalled cross-thread pipe.
src/clientdll/steamclient.cpp (854) : bufRet.TellPut() == sizeof(uint8)
src/clientdll/steamclient.cpp (854) : bufRet.TellPut() == sizeof(uint8)
Connectivity test: result=Connected, in progress=0
CWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 14 items discarded.

 

Link to comment
11 minutes ago, ra4e1 said:

Ok, I restarted the Unraid and reinstalled again and now we are here:

What CPU are you using? Maybe a pretty old one that don't support AVX or anything like that? I tried it now on a Unassigned Device formatted with XFS because I had in mind that maybe the filesystem is the cause of the issue but that's also working fine, log is as always here: garrysmod.txt

 

As you can see the container needs only about ~800MB of RAM:

grafik.thumb.png.a07a45b020f6e3979c9bdac220c09019.png

Link to comment
On 3/12/2022 at 6:59 PM, ich777 said:

Looks like I forgot about this for a long time... :P

 

I actually stopped creating containers for games that I personally don't own because giving support for such containers is a real nightmare for me.

Understandable, what about a base template of the steam server? something that can just have the relevant details and an upload for icons, config, etc..? I would think you have one of those kicking around to work from ;)

Link to comment
13 minutes ago, Malus said:

something that can just have the relevant details and an upload for icons, config, etc..?

You can always start with the CS:Source or CS:GO template as long as it uses srcds_run as the start command.

 

14 minutes ago, Malus said:

I would think you have one of those kicking around to work from ;)

I've thought long time about a Docker image with a variable as a start command but I've never made one because this can and will definitely give me some serious headaches if it's configured wrong...

Link to comment
1 hour ago, ra4e1 said:

It's the i7-2600

I think it's probably caused by your CPU would be really great if someone else with the same or a slightly newer CPU can test this.

Can you maybe try to add a Cache drive to your system if you have one lying around and try if you can get it to run with a Cache drive.

I really can't think of anything else than a CPU issue, similar issues where reported with Satisfactory on older AMD chips because they don't support AVX2 and since GarrysMod is a heavily CPU bound game that's my best guess that they've changed something that also needs newer instruction sets.

Link to comment
On 3/9/2022 at 9:41 PM, ich777 said:

@bonienl do you have a clue why this happens? It seems like the container restarts but it doesn't restart, see this post:

 

@gunnarh does this also happen when no one plays on the container? Is this maybe caused when someone connects to the Valheim server? How often do you get this message? Are you sure that the container is running and you actually can connect to the game server?

Hi,

 

This run when the server are empty and when i playing.  This happens every 60 second.

Link to comment
5 minutes ago, ra1k_0 said:

Hi guys, is the Container Variable: UPDATE_CHECK available for Satisfactory like it is for Valheim?

Nope, this variable is really "unstable/unreliable" sometimes and your IP can be blacklisted from Steam if you do too many requests on their API.

 

...not to mention if you are on a unstable branch this can get pretty complicated quick.

Link to comment
20 hours ago, ich777 said:

I think it's probably caused by your CPU would be really great if someone else with the same or a slightly newer CPU can test this.

Can you maybe try to add a Cache drive to your system if you have one lying around and try if you can get it to run with a Cache drive.

I really can't think of anything else than a CPU issue, similar issues where reported with Satisfactory on older AMD chips because they don't support AVX2 and since GarrysMod is a heavily CPU bound game that's my best guess that they've changed something that also needs newer instruction sets.

I tried to install a gmod server (without docker) on a fresh Ubuntu server vm. Same CPU, same Unraid Server. It's worked out flawlessly. Is that a proof for the CPU?

Link to comment
43 minutes ago, ra4e1 said:

Is that a proof for the CPU?

No, definitely not because if you do a Host pass through it see the same CPU.

 

Maybe it's really related to the filesystem, I can't tell for sure because it works flawlessly on my system... And I've now also tried it on my test system:

image.png.5ad82d20bc7d8066abc044a8a6156435.png

 

image.thumb.png.a975d9d51b3b74df73ff3d19cf7d7bc3.png

 

This is my test server with the container running, as you can see my test server also has 8GB of RAM installed and it works also flawlessly.

The only difference is that I've installed the game to a BTRFS Cache drive, I really can't tell why it won't work on your system.

Here is the log from my test server: garrysmod.txt

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.