Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] ich777 - Gameserver Dockers

Featured Replies

  • Author
41 minutes ago, DomDom3333 said:

When I leave the log open, it eventually just closes (unlike other containers) and when I reopen it, nothing has changed.

This is actually a indication that it restarts, are you sure that all ports with the correct protocol are forwarded?

 

I can try the container myself tomorrow if you want me to.

  • Replies 12.5k
  • Views 2.2m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Just thought I'd share my experience setting up a Valheim server with this docker app from @ich777(thank you!)   You don't need to worry about Steam authentication for Valheim, the default a

  • Dockers Available:   SteamCMD DedicatedServers: CounterStrike: Source CounterStrike 2 TeamFortress 2 ArmA3 - requested by @MrSage Deathmatch Classic

  • This will hopefully shed some light on the underside working bits of building a cluster of servers for ARK:SurvivalEvolved.   With the inspiration (read thievery) from @growlith I present th

Posted Images

9 hours ago, ich777 said:

It would be really beneficial to know what you've did and how you've set everything up? Do you have screenshots and snippets from your config?

 

For example on my server I have a CS:Source server on port 27030 and a CS2 server on port 27029 Wreckfest is running on the default ports 27015 and 27016 (all ports listed are UDP).

Please see attached for my docker setup template, ingame server brower (when i attempt to connect to the server) and a screenshot of my ports.

 

Once again i have l4d2 running just fine on the default 27015. But attempting to get cs2 to work on anything other than 27015 does not work. I get an error message saying cannot connect to server

Screenshot 2024-03-07 093106.png

Screenshot 2024-03-07 0927084.png

Screenshot 2024-03-07 0929444.png

server.cfg

  • Author
2 minutes ago, Mrtj18 said:

But attempting to get cs2 to work on anything other than 27015 does not work. I get an error message saying cannot connect to server

You changed the port in the template but you changed it no where in the server config, so to speak that can't work...

 

Please append that to the GAME_PARAMS:

-port 27016

Source: https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers

 

You always have to tell the dedicated server too on which port it is running because like you've done it now it simply can't work because you've forwarded the port 27016 (from inside the container, where the dedicated server is still running on 27015) so to speak the forwarding in the Docker fails... and yes, I know this is a bit complicated but otherwise it won't work.

 

Always make sure to first change the ports in the container config, then delete the old ports from the template and then create new ones with the ports that you've set in the config for the dedicated server.

 

Hope that helps, makes sense and explains it a bit more.

19 minutes ago, ich777 said:

This is actually a indication that it restarts, are you sure that all ports with the correct protocol are forwarded?

 

I can try the container myself tomorrow if you want me to.

So ive just did a clean reinstall of the server (including removing the appdata folder) and reset my portforwarding rules accordingly. Still gets stuck on the "Reset tiume to friday night: 0 -> 0
image.thumb.png.795e07a69abde122ee2a8b3f3bb249a5.png
image.thumb.png.3cb3a81b6b8732b17c142bab8aaa8cb0.png

Edited by DomDom3333
Added further info

16 minutes ago, ich777 said:

You changed the port in the template but you changed it no where in the server config, so to speak that can't work...

 

Please append that to the GAME_PARAMS:

-port 27016

Source: https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers

 

You always have to tell the dedicated server too on which port it is running because like you've done it now it simply can't work because you've forwarded the port 27016 (from inside the container, where the dedicated server is still running on 27015) so to speak the forwarding in the Docker fails... and yes, I know this is a bit complicated but otherwise it won't work.

 

Always make sure to first change the ports in the container config, then delete the old ports from the template and then create new ones with the ports that you've set in the config for the dedicated server.

 

Hope that helps, makes sense and explains it a bit more.

Wow that did the trick never added the port number on the GAME_PARAMS.... Thank you!!

  • Author
33 minutes ago, DomDom3333 said:

Still gets stuck on the "Reset tiume to friday night: 0 -> 0

I'll look into that tomorrow.

Hi ich777. Do you have any tips for what the easiest way would be to install libicu / icu-libs / libicu-dev for the CS2 image?

 

I'm trying to get CounterStrikeSharp (https://docs.cssharp.dev/docs/guides/getting-started.html) to work on my server so I can add a plugin to my server. My server crashes on startup with the following message:

Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu (or icu-libs) using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.

 

So I want to add the package as it says in the troubleshooting info in the CounterStrikeSharp docs, but I don't fully know how I would go about doing it.

  • Author
7 hours ago, qweek said:

Do you have any tips for what the easiest way would be to install libicu / icu-libs / libicu-dev for the CS2 image?

The package is now part of the container, please update the container itself and see if it is working.

51 minutes ago, ich777 said:

The package is now part of the container, please update the container itself and see if it is working.

It's working! Thank you very much.

18 hours ago, ich777 said:

I'll look into that tomorrow.

So i left the server run overnight and today it was avaliable to join. No additional error messages which were out of the ordinary. So i guess it just takes multiple hours to get past that line?

While the server was idling it was repeatetly writing "Server was running late for 1 step(s), not enough CPU power", which doesnt make sense since it is running on an AMD 3900X with 48GB of ram and no other MAJOR applications to compete with.

Upon restarting the server to apply changes, it sticks on the "Reset time to friday night: 0 -> 0" line

Attatched another server log as far as it let me go back after i restarted it
 

Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
New connection received 172
1 client(s) online
TCPQueue now: 208
==ERR: Uninitialized Connection 0 timed out (31134627 - 31132626 = 2000)
==ERR: Uninitialized Connection 0 timed out (31134627 - 31132626 = 2000)
Removing dead connection 0  (last lastUdpPaketReceived 31134627)
==ERR: Uninitialized Connection 0 timed out (31134627 - 31132626 = 2000)
Alive connections: 0
0 client(s) online
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
New connection received 172
1 client(s) online
TCPQueue now: 434
New TCP incoming pakSizeMax, 0 => 432
Located entryListId -1 for connection 1 S76561198077727714
New connection request: id 1 Dominik Essenhofer S76561198077727714 on car model 25
Creating new car connection: carId 1001, carModel 25, raceNumber #87
Special Rules for carid 1001: 
        max_total_driving_time is -1 (from -1), pitCount 0
startingTime is not set?
Starting stint for car 1001 driver 0 at 66757015.548500
Updated lobby with 1 drivers
Assigning gridNumber 1 to new carId 1001
Sent handshake response for car 1001 connection 1 with 1228 bytes
1 Driver(s) detected, starting session
SessionManager::randomizeGreenFlagTriggers: s:0.991555 e:0.999999 r:0.993187
Detected sessionPhase <waiting for drivers> -> <pre session> (Practice)
Sent session update to lobby
Updated leaderboard for 1 clients (Practice-<pre session> 20 min)
Detected sessionPhase <session> -> <session> (Practice)
Sent session update to lobby
Tcp message count (1 clients): 
Udp message count (1 clients): 23=1, 
Associated: connId 1, now 66765907
Reset time offset for connection 1, new offset 66765902, diff 8887
Receives driver stint reset for car 1001
Ending stint: new total time for car 1001 driver 0 is 9094.951500
List of Stints for car 1001 driver 0
Stint 1 car 1001 driver 0 started 66757015.548500 ended 66766110.500000
Receives driver stint reset for car 1001
startingTime is not set?
Updated 0 clients with new carSystem for car 1001 (67108864l)
Updated 0 clients with new carSystem for car 1001 (67108880l)
Updated 0 clients with new carSystem for car 1001 (67108864l)
Updated 0 clients with new carSystem for car 1001 (67108880l)
Receives driver stint reset for car 1001
startingTime is not set?
Starting stint for car 1001 driver 0 at 66793633.500000
Updated 0 clients w---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Checking if 'accServer.exe' is present---
---'accServer.exe' found, continuing...---
---Prepare Server---
---Checking if config files are present---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---WINE properly set up---
---Server ready---
---Start Server---
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
009c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
009c:err:systray:initialize_systray Could not create tray window
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000007E970 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000007E740 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000007E6A0 1 C) semi-stub
Server starting with version 255
Starting server ACC Docker Server
FileToStruct cfg/eventRules.json
Translated realtime interval hzToMiliseconds(18)=54

SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.915965
Track monza was set and updated
Event changed
Reading custom event rules
FileToStruct cfg/eventRules.json
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.945944
Significant change detected, updating lobby (1|1)
Resetting weekend to friday night
Reset time to friday night: 0 -> 0
0120:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002F3F760 1 C) semi-stub
0120:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002F3F760 1 C) semi-stub
0120:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002F3F760 1 C) semi-stub

 

  • Author
1 hour ago, DomDom3333 said:

While the server was idling it was repeatetly writing "Server was running late for 1 step(s), not enough CPU power", which doesnt make sense since it is running on an AMD 3900X with 48GB of ram and no other MAJOR applications to compete with.

Please keep in mind that it is also possible this is caused because of WINE or because it was idle, did you experience any issues at that time <- this container is running with WINE and such messages are expected.

 

1 hour ago, DomDom3333 said:

Upon restarting the server to apply changes, it sticks on the "Reset time to friday night: 0 -> 0" line

That's the line where it tries to connect, you can always set registertolobby in your configuration.json to 0 so that it is not visible to circumvent that but maybe the connection from their servers is also flaky, I really can't tell...

 

1 hour ago, DomDom3333 said:

Attatched another server log as far as it let me go back after i restarted it

So it seems to work but sometimes, so I don't think that the container itself is the issue here because I've tried it today and also had no luck but I really can't tell why.

 

I'll deprecate the container if you report it as broken.

14 minutes ago, ich777 said:

Please keep in mind that it is also possible this is caused because of WINE or because it was idle, did you experience any issues at that time <- this container is running with WINE and such messages are expected.

 

That's the line where it tries to connect, you can always set registertolobby in your configuration.json to 0 so that it is not visible to circumvent that but maybe the connection from their servers is also flaky, I really can't tell...

 

So it seems to work but sometimes, so I don't think that the container itself is the issue here because I've tried it today and also had no luck but I really can't tell why.

 

I'll deprecate the container if you report it as broken.

I dont think its stuck on the lobby registration. When i set the "registerToLobby" config to 0, it STILL gets stuck there. I dont think this is networking related.... It seems to fail to initialize the first session (bases on what a normal local server writes into the console compared to this). Given my LIMITED knowledge on the matter, i would guess its a Wine compatibility issue of some sort?

Here is what a working server on my windows machine writes.

Server starting with version 255
Starting server Doms Server
FileToStruct cfg/eventRules.json
maxCarSlots 50 exceeds the pit count for nurburgring. Setting car slots to 50
Translated realtime interval hzToMiliseconds(18)=54

SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.929515
Track nurburgring was set and updated
Event changed
Reading custom event rules
FileToStruct cfg/eventRules.json
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.891939
Significant change detected, updating lobby (1|1)
maxCarSlots 50 exceeds the pit count for nurburgring. Setting car slots to 50
Resetting weekend to friday night
Reset time to friday night: 0 -> 0
Reset time to first session: 0 -> 43200
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.918487
Listening to TCP 9601 | UDP 9600
Trying to connect to lobby (0 times, interval 10000 s)
Session changed: Practice -> Practice 0
Detected sessionPhase <waiting for drivers> -> <waiting for drivers> (Practice)
TCP connect returns: -1
==ERR: RegisterToLobby TCP connection failed, couldn't connect to the lobby server
Trying to connect to lobby (1 times, interval 13000 s)
TCP connect returns: 0
RegisterToLobby succeeded
Lobby accepted connection
Lobby accepted connection
Sent lobby registration request for nurburgring
TCPQueue now: 4
New TCP incoming pakSizeMax, 0 => 2
Updated lobby with 0 drivers


As yous see, it tries to reset the session before it connects to the lobby system. It gets stuck there tho.

Also thank you for your fast help and effort. It is really appreciated.

Edited by DomDom3333
Added Thanks

  • Author
12 minutes ago, DomDom3333 said:
TCP connect returns: -1

You see there that it times out and this is exactly where it hangs (the few lines before will be displayed after it overcome this hurdle).

 

13 minutes ago, DomDom3333 said:
TCP connect returns: 0

After that it was able to connect.

 

13 minutes ago, DomDom3333 said:

As yous see, it tries to reset the session before it connects to the lobby system. It gets stuck there tho.

I have tried it multiple times and only once it was able to connect to their servers or better speaking there server to my server.

6 hours ago, ich777 said:

You see there that it times out and this is exactly where it hangs (the few lines before will be displayed after it overcome this hurdle).

 

After that it was able to connect.

 

I have tried it multiple times and only once it was able to connect to their servers or better speaking there server to my server.

I see. An I guess there's nothing we can really do about it?

  • Author
1 minute ago, DomDom3333 said:

I see. An I guess there's nothing we can really do about it?

I'm not sure, maybe it's also because it's running though WINE... I really can't tell.

 

If you report it as not functional I'll deprecate the template.

hello, this might be too much to ask but could you add the lib-icu package to the cs2 server? because everytime the docker container updates i have to manually re-install it otherwise the server crashes... this happens due to metamod, thank you!

 

  • Author
3 minutes ago, Ollum said:

hello, this might be too much to ask but could you add the lib-icu package to the cs2 server? because everytime the docker container updates i have to manually re-install it otherwise the server crashes... this happens due to metamod, thank you!

 

I think you completely missed that and the following post:

 

The package is already part of the container.

Hello! Was reading through the recent posts a bit, but couldn't find anything about this.

So I came back from holiday, and saw there was an update for Palworld. Could not connect to the server anymore, I assumed because it also needed to be updated. So I restarted the Docker, and logged in... And the world was reset. Still had my levels, my character, but the world is gone.

I have backups enabled, but the latest backup world is also empty. Is this a common issue?

 

Thanks in advance!

  • Author
1 minute ago, reygok said:

Still had my levels, my character, but the world is gone.

Seems like a broken savegame.

Did you enable the automatic backups?

You could try to restore a previous backup.

 

3 minutes ago, reygok said:

Is this a common issue?

Not at all, my server is still running with the savegame from day one.

On 3/8/2024 at 9:01 PM, ich777 said:

Seems like a broken savegame.

Did you enable the automatic backups?

You could try to restore a previous backup.

 

Not at all, my server is still running with the savegame from day one.

I said I have backups enabled, but those are also empty worlds.

 

I will just accept that then, I guess it happens with a game in alpha :)

  • Author
44 minutes ago, reygok said:

I said I have backups enabled, but those are also empty worlds.

Sorry I‘ve missed that.

 

Are you sure thatbthe paths in the template are apropriate for the config that you are using?

If you are using /mnt/cache/appdata/… then you have to male sure that the data for that share stays on the cache and not moved to the array, otherwise you have to use /mnt/user/appdata/…

 

44 minutes ago, reygok said:

I will just accept that then, I guess it happens with a game in alpha :)

Really strange since the container on my system is still working fine with all zhe buildings intact.

 

Is the archive empty too? If that‘s the case pleaee check the paths in the templated as described above.

Sorry, I have one last question, the wreckfest server I have running, everything is default. No Port changes added or mods. But I cannot connect to the server no matter what I try.

 

Even deleting the game folder, and docker container and starting from scratch. Still won't allow me to enter my server. Am I missing something?

  • Author
24 minutes ago, Mrtj18 said:

But I cannot connect to the server no matter what I try.

Did you forward the ports in your Firewall?

 

It needs to be available to the internet, at least from my experience, so that you actually can connect.

1 hour ago, ich777 said:

Did you forward the ports in your Firewall?

 

It needs to be available to the internet, at least from my experience, so that you actually can connect.

yes I even opened the ports on both ends as you can see on the picture attached. I opened 27015,27016, and 33540. Still a no go. I can connect to other people's server on the server list but not my own.

 

Thanks

Screenshot from 2024-03-10 10-16-14.png

  • Author
45 minutes ago, Mrtj18 said:

I opened 27015,27016, and 33540. Still a no go.

The first thing that I noticed is that you forwarded both ports TCP and UDP… Why?

Please only forward only the port with the protocol in the template.

 

Did you change other things too andything special in the config or in the template?

 

Please try to start over.

Delete the container, delete the folder for wreckfest in your appdata directory, pull a fresh copy from the CA App and try to connect.

Please not that it can take a few minutes before it appears in the in game server list.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.