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
8 hours ago, manuxce said:

a daily, a weekly

This is theoretically possible.

 

8 hours ago, manuxce said:

but the way you setup the server now you have to overwrite older backups

That is not entirely true, the old backups get deleted after a specified amount of found backups.

 

See this example in the default template:

image.png.ac2690c46bd37227ad7769b68f61519b.png

 

It backs up every 62 minutes and keeps the last 24 backups, however you can set the "Backups to keep" to 720 for example than you have a backup from the last 30 days, of course if the server is running all the time (keep in mind if you keep that much backups and do the math, for 720 backups with about 5MB you will be using around 3.6GB of space only for backups).

 

 

Just to give you a little background information, I won't change the way how backups are done since I've introduced this feature when the "World Destroy Bug" was around where it was often happening that the world was wiped after restarting the server, this was a general issue from Valheim.

I even thought about removing this feature...

 

However you can put a simple User Script together based on a cron schedule that pulls the latest found backup to another directory if you want too.

 

Hope that helps and explains how to use it or better speaking how it works.

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

Thanks for your response! Yeah I understand that it keeps a certain amount of backups, I worded it incorrectly, sorry, English is not my first language and I'm not a very technical user so I wasn't sure how to explain my request. The main issue is exactly what you mention about how if we want to keep more backups they would start taking up multiple GBs of disk space.

 

I suffered from the "world destroy bug" a while ago (not using this container but a LinuxGSM installation) and that's why I thought most users might want to have access to a quick solution for backing up their worlds in different time intervals, but of course it should be up to us to decide how to handle this, I'll probably setup a script like you suggested.

 

Again thanks for your response, and for all your hard work!

  • Author
3 minutes ago, manuxce said:

I suffered from the "world destroy bug" a while ago (not using this container but a LinuxGSM installation) and that's why I thought most users might want to have access to a quick solution for backing up their worlds in different time intervals, but of course it should be up to us to decide how to handle this, I'll probably setup a script like you suggested.

Maybe you can let it as it is that it takes a backup every hour and keep them for about 48 hours and every 24 hours or so you back up the latest backup to another folder on your server, this would be the easiest solution.

 

This script should do the job just fine, let it run once daily and it will only save the last backup that it finds in the Backups folder from Valheim:

#!/bin/bash
VALHEIM_BKP_PATH="/mnt/cache/appdata/valheim/Backups"
BKP_PATH="/mnt/user/Backup/ValheimBackups"

cp ${VALHEIM_BKP_PATH}/$(ls -1 ${VALHEIM_BKP_PATH}/ | sort -V | tail -1) ${BKP_PATH}

 

You only have to customize the VALHEIM_BKP_PATH (this is the folder where the Backups from the container are located which are created by the container automatically) and the BKP_PATH (this is the folder which it copies the Backups to).

 

Hope that helps.

I am having issues running the Insurgency Game Server Docker. It seems to have installed correctly. I can get it to run. I have created a "server.cfg" file in which I have named the server, password, etc, and placed it in the appropriate folder ( ..appdata/insurgency/insurgency/cfg/), however, when i start the game in Steam and go looking for the server I created, it does not show up anywhere. The log file seems there might be an issue with running Steam: "[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so." 
I have included the entire log as an attachment. 
Am I missing a step?
Any assistance would be greatly appreciated.

Insurgency_Log.txt

  • Author
3 hours ago, StephenCND said:

Insurgency

Are we talking about Insurgency or Insurgency Sandstorm?

 

If we are talking about Insurgency it is working fine over here: Insurgency.txt

 

On what Unraid version are you? Have you changed anything? Does it work without changing anything?

It's Insurgency (not Insurgency Sandstorm).

I am on Unraid version 6.10.3
No changes were made during the setup.  
I can start the docker and it shows as started.

Could it be an issue with the server.cfg file?  (Please find attached)

server.cfg

  • Author
2 hours ago, StephenCND said:

I can start the docker and it shows as started.

But it does loop or am I wrong?

Can you browse it through the Steam Server Browser?

 

2 hours ago, StephenCND said:

Could it be an issue with the server.cfg file? 

Sure but I‘m not too familiar with Insurgency…

 

I would recommend that you start over by, deleting the container, deleting the folder for insurgency in your appdat- directory and pull a fresh copy from the CA App an wait for the download to finish and see if it loops again, if not the it‘s the server.cfg

 

Do you have a cache driver installed in your server or did you change anything in the template?

Is your appdata share set to use cache Only or Prefer?

I have a an array of 1TB on an SSD drive. The appdata folder is set to Prefer : Cache .
I'm going to start over as you suggested and see what happens.
Will keep you posted once done.

Well, I'm at a bit of a loss: Uninstalled and re-Installed.  Seems to have installed correctly, however there is  only have a "steamapps" folder inside the "insurgency" folder. I also installed the docker for Killingfloor game server (to see how it would install) . Same issue.. just one folder installed inside the killingfloor folder (steamapps) .

  • Author
9 hours ago, StephenCND said:

Seems to have installed correctly, however there is  only have a "steamapps"

If you have only one folder in there it‘s not installed correctly.


This is usually a indication that it not installed fully.

The steamapps folder is created while downloading, when the game is fully downloaded the files get moved from the steamapps folder into the main directory and finally the steamapps folder gets removed.

 

Can you provide any logs, without them I really can‘t help.

I've removed and re-installed the docker (again). Seems all the required files got downloaded and installed. Can get the docker to run... but same issue.. When I start the game through Steam, it doesn't show up in the games server list.  I've included the Docker's log file.

logfile.txt

  • Author
5 hours ago, StephenCND said:

When I start the game through Steam, it doesn't show up in the games server list.  I've included the Docker's log file.

Does it now loop too after reinstalling the game? If not, it seems that it‘s now fully started and waiting for connections.

Can you post a Screenshot from your Docker template please? On what hardware are you trying to run Insurgency?

Doesn't loop. Smooth start and stop for that matter.
I've included two screen captures of the Docker template (top portion & bottom portion) to make it easier to read. (note, I blacked-out the Steam Username).
The appdata folder is set to "Prefer:Cache"

I'm also including a screen capture of my Array devices and Pool (cache) devises if that can be of assistance.
I've also included my server.cfg file.
I really appreciate the time and effort you've put into my problem. Thanks again.

Array.JPG

DockerTemplate_a.JPG

DockerTemplate_b.JPG

server.cfg

  • Author
4 hours ago, StephenCND said:

Doesn't loop. Smooth start and stop for that matter.

Please remove your steam credentials from the templete, they are only needed when they are visible to the user by default and are not hidden at the „Show more …“ section and are marked with the red asterisk *

 

Maybe that is the issue on your system.

Anyways if it is now running it should be visible in the Steam Server Browser, I think above you where talking about the in game list or am I wrong?

I have removed my Steam credential (user name and password) from the docker's template in the "Show more settings" section .

You are correct, I was talking about the in game (server) list. It doesn't show up there (even after removing my Steam  User name and Password as mentioned above. I did access the Steam Server Browser, (didn't know that it existed) but my server isn't lisited there either.
Appart from the Docker Set-up and the server.cfg, is there another file or setting i needed to set up?

  • Author
2 hours ago, StephenCND said:

but my server isn't lisited there either.
Appart from the Docker Set-up and the server.cfg, is there another file or setting i needed to set up?

What have you done in there?

Click in Add Server at the Favorites tab, enter your server IP followed by the port like: 192.168.178.1:27015 and click Add.

After that click on Refresh and your server should be listed if it‘s running.

 

No, I just pulled a fresh copy from the CA App and left everything at default and as you can see from my log it is running just fine.

Is there a way to have the Arma 3 server not immediately restart if the server itself is stopped? I have a python script to update mods that I would like to run without the server up.

  • Author
8 minutes ago, OverripeDuck said:

Is there a way to have the Arma 3 server not immediately restart if the server itself is stopped? I have a python script to update mods that I would like to run without the server up.

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

11 hours ago, ich777 said:

What have you done in there?

Click in Add Server at the Favorites tab, enter your server IP followed by the port like: 192.168.178.1:27015 and click Add.

After that click on Refresh and your server should be listed if it‘s running.

 

No, I just pulled a fresh copy from the CA App and left everything at default and as you can see from my log it is running just fine.

 But that is an internal LAN IP... if I want to have someone join the server from the internet, that wouldn't work, right?
I did add my internal IP to the server list within "favorites" and that worked, but when I refresh, it did not populate within the larger servers list tab.
I was able to connect to it from my computer on the same lan, but again, will other computers outside my lan (internet) be able to connect if I only give them my LAN IP address and port?
I feel we are very close to getting this to work here.. :)

  • Author
1 hour ago, StephenCND said:

But that is an internal LAN IP... if I want to have someone join the server from the internet, that wouldn't work, right?

Have you forwarded the ports in your router too?

 

1 hour ago, StephenCND said:

I did add my internal IP to the server list within "favorites" and that worked

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

 

1 hour ago, StephenCND said:

but when I refresh, it did not populate within the larger servers list tab.

Are you referring to the in game server list right?

 

1 hour ago, StephenCND said:

I only give them my LAN IP address and port?

No, this won't work...

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

 

1 hour ago, StephenCND said:

I feel we are very close to getting this to work here.. :)

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.

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?

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

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.