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

10 hours ago, ich777 said:

Where does the script run? On Unraid itself? If yes, stop the container with:

docker stop CONTAINERNAME

(of course replace CONTAINERNAME with the container name - case sensitive!)

 

You should be able of course to use this from the Python script for example for Python3 implement this:

os.system('docker stop CONTAINERNAME')

(for this you have to of corse import os to your Python script)

 

To start the container again simply run:

docker start CONTAINERNAME

 

 

Hope that helps. :)

Unfortunately, no. I haven't been able to get steamcmd to work through the unraid console, so for now it needs to run in the docker. Maybe it would be better to get the server script to run my python script before it starts?

  • Replies 12.6k
  • 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

  • Author
2 hours ago, OverripeDuck said:

Unfortunately, no. I haven't been able to get steamcmd to work through the unraid console, so for now it needs to run in the docker. Maybe it would be better to get the server script to run my python script before it starts?

Can't you just update when the container is running and after that restart the container by killing the process with pid 1?

Hi. I cant seem to get the official fjordur map to load on my server... under Map: I put fjordur and also FjordurOffical, both do not work. However when i do the first one i get line 72 error in launch script but when i do the 2nd one, I can see a server but its says in ark that the map is "ShooterEntry". any tips would be good. Like the actual map name i need to use.

2 hours ago, ich777 said:

Can't you just update when the container is running and after that restart the container by killing the process with pid 1?

Maybe. That definitely works for adding mods, I'm not sure for updating, though, since the mods will be open.

 

  • Author
12 hours ago, OverripeDuck said:

Maybe. That definitely works for adding mods, I'm not sure for updating, though, since the mods will be open.

At least you can try and it should not harm anything.

  • Author
13 hours ago, GonjaT said:

Hi. I cant seem to get the official fjordur map to load on my server... under Map: I put fjordur and also FjordurOffical, both do not work. However when i do the first one i get line 72 error in launch script but when i do the 2nd one, I can see a server but its says in ark that the map is "ShooterEntry". any tips would be good. Like the actual map name i need to use.

I think you are referring to ARK...

If yes, a quick Google search brought up this for me: Click

21 hours ago, ich777 said:

Have you forwarded the ports in your router too?

 

So it does work at least in your internal network...

 

Are you referring to the in game server list right?

 

No, this won't work...

Do you have other services which are running on your server that are reachable from your server?

 

Yes and no... :D

 

You first have to make sure that you can forward the ports and your ISP is not using a CG-NAT.

Then you have to forward the ports and you can then give your friends your public IP to connect, so to speak if you forward the ports it registers at the master server and the master server checks back if the server is reachable from the outside world, if not it would not be populated in the main in game server list if it is reachable from the outside world you should see it in the main in game server list.

 

I would recommend that you first look into Port forwarding itself @SpaceInvaderOne has also some good videos about it, but please note that these videos are mostly about SWAG (former LetsEncrypt) but it should be very much similar.

The important part is to look into how you forward ports on your router.

 

Ports have been forwarded. I put in my IPv4 and added the server from within the game server browser. The game server browser can see my server now (but not the Steam Game Browser, which is file). I think everything is up and running now. Thanks again for all your help ich777 . 

Great docker ich777!

But i have a small problem that i cant figure out!
I need a lib in the csgo-docker.


rcon sm exts list
[12] <FAILED> file "dbi.mysql.ext.so": libz.so.1: cannot open shared object file: No such file or directory

 

root@0ed2ab61f094:/# ldd -d -r /serverdata/serverfiles/csgo/addons/sourcemod/extensions/dbi.mysql.ext.so
        linux-gate.so.1 (0x2a9e2000)
        libm.so.6 => /lib32/libm.so.6 (0x2a5a3000)
        libz.so.1 => not found
        libpthread.so.0 => /lib32/libpthread.so.0 (0x2a581000)
        librt.so.1 => /lib32/librt.so.1 (0x2a576000)
        libc.so.6 => /lib32/libc.so.6 (0x2a38d000)
        /lib/ld-linux.so.2 (0x2a9e4000)


I can only find the 64bit lib, and that wont work. 

 

root@0ed2ab61f094:/# find / -name libz.so.1
/lib/x86_64-linux-gnu/libz.so.1

 

Tried to apt-get the lib.


root@0ed2ab61f094:/# apt-get install lib32z1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package lib32z1

Here is a thread about the problem.
https://forums.alliedmods.net/showthread.php?p=2412966&highlight=centos#post2412966

 

  • Author
9 hours ago, capt.shitface said:

apt-get install lib32z1

Did you run:

apt-get update

in the first place?

 

This should give you this:

grafik.png.45ad8f797c37a3d3ed361307e0530af1.png

(sorry that this is in German but it should be similar in your case...)

 

By default I remove the package list before pushing the container to DockerHub and GHCR.

 

Please report back if this is working and solves your issue then I will add it to the container.

17 hours ago, ich777 said:

Did you run:

apt-get update

in the first place?

 

This should give you this:

grafik.png.45ad8f797c37a3d3ed361307e0530af1.png

(sorry that this is in German but it should be similar in your case...)

 

By default I remove the package list before pushing the container to DockerHub and GHCR.

 

Please report back if this is working and solves your issue then I will add it to the container.

Im ashamed! Of course!
I blame it was late!

  • Author
10 hours ago, capt.shitface said:

Im ashamed! Of course!

No worries... Happens to the best... :)

 

Updated the container and this library is now included. ;)

6 hours ago, ich777 said:

No worries... Happens to the best... :)

 

Updated the container and this library is now included. ;)

King!

Well, i work as a system technician and it-infrastructure, i literally manage server, and many of them Linux.. I hope my colleges or boss don't finds this 😅

Anyway, thank you for great support and docker! 

Hellooooo! Hey ich777 did you ever get very far with the bf2 (battlefield 2) server? Last info I could find was from 2019 when @johnodon first brought it up.

  • Author
12 hours ago, abynez said:

bf2 (battlefield 2) server?

Yes and no, this is pretty complicated to set up and I abandoned the project and this is not really easy to do with a Docker container without getting in conflict with copyrights.

Where can I change the Auto Restart Settings for the Valheim Docker? Thanks in advance.

How do I run  "Isle of Siptah" server for Conan Exiles, is it even possible?

Found an answer for this... 

https://steamcommunity.com/app/440900/discussions/0/5311389137870600118/

 

 

Also how do I add users as admins on the server, as just inserting the password doesn't work?

Still playing around with admin stuff.

 

Edit: Got it working, the admin pass is set in ./ConanSandbox/Config/DefaultServerSettings.ini the user does not know how to follow instructions, finally I asked if they were typing the password as seen, and they were able to take admin rights.

Edited by exist2resist

3 hours ago, drwtrippy said:

Where can I change the Auto Restart Settings for the Valheim Docker? Thanks in advance.

There is a `AUTOSTART` toggle in the Docker tab on unRAID server.

 

If you want custom restart times you can script it using shell via the `User Scripts` plugin.

 

Edited by exist2resist

  • Author
8 hours ago, drwtrippy said:

Where can I change the Auto Restart Settings for the Valheim Docker? Thanks in advance.

This container has multiple Auto Start/Restart things in place:

 

The first one is for the container itself is if it crashes or you are somehow able to end the container it will automatically restart:

grafik.png.dafdfdc38413a9f7d06d8d36946eddfb.png

 

The second one is that the container automatically checks for updates and restarts itself if a update is found:

grafik.thumb.png.50110f5a35e8d02da72efa4e8a6977bd.png

 

And finally the third is what @exist2resist already pointed out that the container itself is started when the Array is started, but you have to enable this by default for the first time because autostart is always off by default:

grafik.thumb.png.7661f4274325abba3984b55dbaaeea1f.png

  • Author
8 hours ago, exist2resist said:

Got it working

So everything is working now for you and all things are solved I assume...?

Can anyone help me with this error I'm constantly getting on Left4Dead2 docker? 

My settings for the docker are shown here: https://imgur.com/a/U5bSMO3

 

 

Segmentation fault
Add "-debug" to the /serverdata/serverfiles/srcds_run command line to generate a debug.log to help with solving this problem
Mon 12 Sep 2022 03:36:13 PM PDT: Server restart in 10 seconds
Setting breakpad minidump AppID = 222860
Using breakpad crash handler
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
PreMinidumpCallback: updating dump comment
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20220912153623_1.dmp
success = no
error: libcurl.so: cannot open shared object file: No such file or directory

Segmentation fault
Add "-debug" to the /serverdata/serverfiles/srcds_run command line to generate a debug.log to help with solving this problem
Mon 12 Sep 2022 03:36:23 PM PDT: Server restart in 10 seconds

 

  • Author
7 hours ago, Italiandogs said:

Can anyone help me with this error I'm constantly getting on Left4Dead2 docker? 

On what Unraid version are you?

 

7 hours ago, Italiandogs said:

My settings for the docker are shown here

Please change the path so that it points to the physical disk instead of the FUSE file path, so to speak for example: /mnt/cache/… instead of /mnt/user/…

 

This it trivial for some game servers otherwise they won‘t work.

Sorry for the question, i tried bashing my head against it on my own for 5 hours now. i need help.

im trying to get conan to work with the amunet server transfer mod, i cant for the life of me figure out why the Rcon port is showing up as connection refused. idk how to set it up through unraid i suppose. any help would be amazing please

  • Author
7 hours ago, deamonsatwar said:

on my own for 5 hours now

7 hours ago, deamonsatwar said:

i cant for the life of me figure out why the Rcon port is showing up as connection refused

What have you done so far?

 

Have you specified a RCON password/port in the config files and added the port in the container template too?

 

Maybe this can/will help: Click

On 9/13/2022 at 2:28 AM, ich777 said:

On what Unraid version are you?

v6.9.2

 

On 9/13/2022 at 2:28 AM, ich777 said:

Please change the path so that it points to the physical disk instead of the FUSE file path, so to speak for example: /mnt/cache/… instead of /mnt/user/…

 

This it trivial for some game servers otherwise they won‘t work.

Do I need to do this for both SteamCMD or just the game server itself? 

Could you also explain what this is doing? Is this permanently using the cache or if I invoke the mover, the files will still be moved to array?

45 minutes ago, Italiandogs said:

v6.9.2

 

Do I need to do this for both SteamCMD or just the game server itself? 

Could you also explain what this is doing? Is this permanently using the cache or if I invoke the mover, the files will still be moved to array?

Using v6.9.2 but changing the Game server files to "cache" worked perfectly. Thanks!

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.