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

yup working here as well. Much appreciated! You're awesome ich!!

  • 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

Is anyone having issues with the CSMM image? Decided to fire it up again after setting up a 1.0 server, however the container keeps failing to start. I have even removed the image and re-installed, pointing to a brand new appdata folder.

Container seems to fail at the npm run db:migrate step at: https://github.com/ich777/docker-csmm-7dtd/blob/78473006d2f36090b935bfbbab9e5228c0eabb90/scripts/start-server.sh#L137

I set the logging to silly, and this is the portion of the log were the fail occurs:

 

[app] silly: Loading hook: economy
[app] verbose: economy
[app] silly: Loading hook: gbl
[app] verbose: gbl
[app] silly: Loading hook: highpingkick
[app] verbose: highpingkick
[app] silly: Loading hook: historicalinfo
[app] verbose: historicalinfo
[app] silly: Loading hook: redis
[app] verbose: redis
[app] silly: Loading hook: sdtdlogs
[app] verbose: sdtdlogs
[app] silly: Loading hook: sentry
[app] verbose: DSN for Sentry is required.
[app] verbose: sentry
[app] silly: Loading hook: grunt
[app] silly: Running default Grunt task (`prod`)...
[app] silly: Tracking new grunt child process...
[app] silly: Loading hook: orm
[app] silly: Loading the app's models and any custom adapters...
[app] silly: Loading app models...
[app] silly: Loading app adapters...
[app] silly: Loading hook: sockets
[app] verbose: Loading adapter (`%s`) from this app's `node_modules/` directory...
[app] verbose: Loading adapter (`%s`) from this app's `node_modules/` directory...
[app] silly: Starting ORM...
[app] silly: Registering model `%s` in Waterline
[app] silly: Registering model `%s` in Waterline
[app] silly: Registering model `%s` in Waterline
(above happens about 30 times)
[app] silly: Registering model `%s` in Waterline
[app] silly: Registering model `%s` in Waterline
[worker] error: undefined {"code":"E_HOOK_TIMEOUT"}
[worker] verbose: session
[worker] verbose: orm
[worker] verbose: blueprints
[worker] /csmm-7dtd/CSMM/node_modules/sails/node_modules/async/dist/async.js:903
[worker]         if (fn === null) throw new Error("Callback was already called.");
[worker]                          ^
[worker] 
[worker] Error: Callback was already called.
[worker]     at /csmm-7dtd/CSMM/node_modules/sails/node_modules/async/dist/async.js:903:32
[worker]     at /csmm-7dtd/CSMM/node_modules/sails/lib/app/private/loadHooks.js:241:38
[worker]     at processTicksAndRejections (node:internal/process/task_queues:78:11)
[worker] npm run start:worker exited with code 1
--> Sending SIGTERM to other processes..
[app] npm run start:app exited with code SIGTERM
npm notice 
npm notice New major version of npm available! 8.19.4 -> 10.8.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.1>
npm notice Run `npm install -g [email protected]` to update!
npm notice
Container stopped


Managed to trick it into installing v2.2.0 and that gave the same error. (NOTE: that you can no longer change the URL pulled due to the following lines of code: https://github.com/ich777/docker-csmm-7dtd/blob/78473006d2f36090b935bfbbab9e5228c0eabb90/scripts/start-server.sh#L78-L80 (i had to manually update the zip file and put in the correct location and then change the url for it to "work")

  • Author
19 minutes ago, Natcoso9955 said:

Is anyone having issues with the CSMM image? Decided to fire it up again after setting up a 1.0 server, however the container keeps failing to start. I have even removed the image and re-installed, pointing to a brand new appdata folder.

@Spectral Force had a similar issue, maybe he can help but I don't know if he solved it already.

 

Maybe head over to his Discord here: https://discord.gg/VwwYA5h

(He helps me out with 7DtD and CSMM-7DtD)

My issue wasn't the container starting up, it was when adding my server it didn't show. Not sure why the container won't start for you. I fixed my issue. Drop in the discord & we'll see if we ca get it sorted.

On 6/23/2024 at 1:04 PM, ich777 said:

Try to migrate back to Windows and see if it‘s the same.

 

Sorry, the WINE forum post is from 2020 so it‘s not up to date and not relatable to the WINE version that I use here.

Migrated this morning and the Windows VM instance has crashed twice with the same error, despite the VM having 12gbs of ram and nothing else running on it. The game was reporting 2.5gbs of usage during the one crash I was able to watch in real time.

I think it's safe to say the issue is not with the container.

I'm going to continue to monitor it. I will plan to start up a new instance with no mods, as I'm currently running Hosav's UI and the Pippi admin mod, just to rule those out as potential causes.

I'll update with some more info when I've completed more testing.

To mitigate this issue, I've written the attached script which uses RCON and checks to see if the server responds to RCON commands. When this memory crash occurs, the executable for the server stays alive but hangs. The container therefore won't notice the problem and restart itself. RCON will receive an "i/o timeout" response when this happens so I check for that and force a restart if the script gets that response. I set this script to run every 3 minutes in User Scripts.

This script requires ich777's RCON plugin to work, and it could easily be used for any other game server containers.

RCON Zombie Check Script.sh

Good Morning,

 

Has anyone had issues with the wreckfest server? Mine was running fine, but after making no changes, the server does not seem to start. Here are two screen shots of the log within docker and the log within the game browser itself.

Screenshot today.png

Screenshot today2.png

  • Author
2 minutes ago, Mrtj18 said:

Has anyone had issues with the wreckfest server? Mine was running fine, but after making no changes, the server does not seem to start. Here are two screen shots of the log within docker and the log within the game browser itself.

Try the following:

  1. Stop the container
  2. Got to the directory from Wreckfest in your appdata directory
  3. Delete the folder WINE64
  4. Start the container
18 minutes ago, ich777 said:

Try the following:

  1. Stop the container
  2. Got to the directory from Wreckfest in your appdata directory
  3. Delete the folder WINE64
  4. Start the container

Thanks the server is avaliable again in the server browser menu, just gotta figure out why its not joinable again... ughhh! Thanks for your help once again!

This docker will run about a day then it keeps giving me this error.  I was running around in the game when it suddenly just crash. 

 

grep: /serverdata/serverfiles/serverconfig.xml: No such file or directory
sed: can't read /serverdata/serverfiles/serverconfig.xml: No such file or directory
/opt/scripts/start-server.sh: line 189: /serverdata/serverfiles/7DaysToDieServer.x86_64: No such file or directory
grep: /serverdata/serverfiles/serverconfig.xml: No such file or directory
sed: can't read /serverdata/serverfiles/serverconfig.xml: No such file or directory
/opt/scripts/start-server.sh: line 189: /serverdata/serverfiles/7DaysToDieServer.x86_64: No such file or directory



The files are there. 

 

I am tired of reinstalling this docker and have exhausted google searching for ideas to fix it.  Any ideas?

  • Author
3 hours ago, ntweaver said:

I am tired of reinstalling this docker and have exhausted google searching for ideas to fix it.  Any ideas?

It is most likely that this is a configuration issue.

 

Is you appdata share set to be moved to the Array correct?

If yes, please change that and make sure the Mover actually moves the data from the Array to the Cache and the primary storage is the Cache.

Hello.

When I am using ArmA3 and launch server from my unraid.

Does it using the arma3server 32bit file or the arma3server_x64 file to launch the server?

And where and how can i edit what type of server I want docker in my unraid to launch? 32 vs 64 file.

  • Author
20 minutes ago, kiptanoi said:

Does it using the arma3server 32bit file or the arma3server_x64 file to launch the server?

By default it starts with 32bit because most people have issues with 64bit.

 

To start it with 64bit:

1. Go to the Docker template

2. Add another variable with the Key: FORCE_X86 and as Value: false

 

This will start the server with the 64bit executable.

5 hours ago, ich777 said:

By default it starts with 32bit because most people have issues with 64bit.

 

To start it with 64bit:

1. Go to the Docker template

2. Add another variable with the Key: FORCE_X86 and as Value: false

 

This will start the server with the 64bit executable.

Cool, thanks 👍❤️

10 hours ago, ich777 said:

It is most likely that this is a configuration issue.

 

Is you appdata share set to be moved to the Array correct?

If yes, please change that and make sure the Mover actually moves the data from the Array to the Cache and the primary storage is the Cache.


Hm, intreresting. I have it set to cache-->array. I have 3 other game servers running in the background and haven't had any issues like this.

 

Would just creating a new share and keeping it as cache fix this?

  • Author
1 hour ago, ntweaver said:


Hm, intreresting. I have it set to cache-->array. I have 3 other game servers running in the background and haven't had any issues like this.

 

Would just creating a new share and keeping it as cache fix this?

This always depends which path that you‘ve set in the template.

 

If you set /mnt/cache/… you have to make sure the share stays on the cache share.

If you use /mnt/user/… it doesn’t have to stay on the cache but I don‘t recommend that since you create unecessary overhead because the files have to go through the FUSE filesystem.

palword

The devs and container profile recommend restarting every 24 hours. Is there an easy to set a scheduled restart through the UI? I rather not go mess with crontab or whatever...

  • Author
1 hour ago, Bushibot said:

Is there an easy to set a scheduled restart through the UI?

There is nothing built into the container to restart it automatically every 24 hours, however you could go into User Scripts, create a new script with the following content:

#!/bin/bash
docker container restart <CONTAINERNAME>

(replace <CONTAINERNAME> with your container name <- case sensitive), set the script to a Daily Schedule (or set up a schedule that fits your needs) and Apply it. Done.

anyone was able to get euro truck simulator working ?

  • Author
4 minutes ago, francrouge said:

anyone was able to get euro truck simulator working ?

What‘s the exact issue? Any logs?

 

It should work fine.

  • Author
1 hour ago, francrouge said:

But do i need to create manually the configs files ? thx

No, the container does all for you go to:

.../eurotrucksimulator2/.local/share/Euro Truck Simulator 2/

and there is everything located as pointed out here:

grafik.thumb.png.e14a99a4ec28dec101b9a59a019424ce.png

 

The file that you want to edit is basically server_config.sii (please also make sure to first stop the container before editing any files).

13 minutes ago, ich777 said:

What‘s the exact issue? Any logs?

 

It should work fine.

 

6 hours ago, ich777 said:

No, the container does all for you go to:

.../eurotrucksimulator2/.local/share/Euro Truck Simulator 2/

and there is everything located as pointed out here:

grafik.thumb.png.e14a99a4ec28dec101b9a59a019424ce.png

 

The file that you want to edit is basically server_config.sii (please also make sure to first stop the container before editing any files).

O god my bad i miss the line wow sorry thx a lot

hey, 

i was trying to create a dedicated server for the forest, but I am unable to do so because of errors. i have tried to generate different tokens with the following appids: 242760 and 556450. but each time I get the following errors:
 

wine: could not open working directory L"C:\\windows\\system32\\", starting in the Windows directory.
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:err:wineboot:main Cannot set the dir to L"C:\\windows" (2)
wine: could not open working directory L"C:\\windows\\system32\\", starting in the Windows directory.
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
002c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\steam\\AppData\\Roaming".
002c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\steam".
002c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\steam\\AppData\\Local".
wine: failed to open"/serverdata/serverfiles/TheForestDedicatedServer.exe": c0000135

Session terminated, killing shell...kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Redirecting stderr to'/serverdata/Steam/logs/stderr.txt'
Logging directory: '/serverdata/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1718904263
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
Logging directory: '/serverdata/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1718904263
-- type 'quit' to exit --
Loading Steam API...OK
"@sSteamCmdForcePlatformType" = "windows"

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to install app '242760' (No subscription)
---Prepare Server---
---Checking for 'saves' directory---
---Directory 'saves' found!---
---Checking for 'config.cfg'---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---Setting up WINE---
---Checking for old display lock files---
---Server ready---
---Start Server---
---Ensuring UID: 99 matches user---
usermod: no changes
---Ensuring GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Taking ownership of data...---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
Logging directory: '/serverdata/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1718904263
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
Logging directory: '/serverdata/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1718904263
-- type 'quit' to exit --
Loading Steam API...OK
"@sSteamCmdForcePlatformType" = "windows"

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to install app '242760' (No subscription)
---Prepare Server---
---Checking for 'saves' directory---
---Directory 'saves' found!---
---Checking for 'config.cfg'---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---Setting up WINE---

if I use the appid 556450, the only thing that changes is that I don't get the following line with the errors: ERROR! Failed to install app '242760' (No subscription).

Could you please help me with this or let me know what might be causing the error?

  • Author
4 hours ago, Rajiv Anne said:

but each time I get the following errors

And what is the exact error? Does the container restart?

 

You should see something like that:

GameServer init success. Port: 27015
Set a LogOnAnonymous
0208:fixme:cryptnet:check_ocsp_response_info check responder id
0208:fixme:cryptnet:check_ocsp_response_info check responder id
Connected to Steam successfully
The Forest Server is not VAC Secure!
Game server SteamID:90199603862891540
CoopSteamManager Initialize
CoopLobby.LeaveActive instance=
0024:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
CoopPlayerCallbacks::BoltStartBegin CoopVoice.VoiceChannel:[UdpChannelName Voice:1]
Platform assembly: Z:\serverdata\serverfiles\TheForestDedicatedServer_Data\Managed\Mono.Security.dll (this message is harmless)
Platform assembly: Z:\serverdata\serverfiles\TheForestDedicatedServer_Data\Managed\System.Xml.Linq.dll (this message is harmless)
Platform assembly: Z:\serverdata\serverfiles\TheForestDedicatedServer_Data\Managed\Boo.Lang.dll (this message is harmless)
Will force game to new because GameSetup.IsSavedGameTrue LevelSerializer.CanResume False
[<color=#FFF>TIMER</color>] Cleanup - Elapsed Milliseconds: 0
[<color=#FFF>TIMER</color>] LoadAsync Start - Elapsed Milliseconds: 2
[<color=#FFF>TIMER</color>] failsafe - Elapsed Milliseconds: 4673
[<color=#FFF>TIMER</color>] Query state - Elapsed Milliseconds: 0
The referenced script on this Behaviour (Game Object 'Selector') is missing!
 
(Filename:  Line: 1744)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 8.934900 ms
VR SWITCHER AWAKE
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

VR SWITCHER RUNNING ON DEFAULT SETTINGS
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Switching vr rig enable = False
****** Game Activation Sequence ******
Game Activation Sequence step 0 (GameStartType=New)
[<color=#FFF>TIMER</color>] LoadSave Awake - Elapsed Milliseconds: 7
PlayerPreferences.Load

 

How much resources is the container using, on my server Intel i9-10900 it is looking something like that:grafik.thumb.png.267744506f9afa8d2e05bd47d620b0b8.png

 

This should be the last message in the container logs:

Game autosave started

grafik.png.00f7126af215fb549f3493224caaac8d.png

 

On what hardware do you try to run the server?

 

As you can see above I just tried it and the container is running fine on my system.

 

4 hours ago, Rajiv Anne said:

ERROR! Failed to install app '242760' (No subscription).

Why do you want to do that? This is the game ID from the game itself and not the dedicated server, so to speak, that can't work.

In the Docker template you always have to use: 556450

 

 

What path in the Docker template is set for the Game files? Is it set to /mnt/cache/appdata/... or /mnt/user/appdata/...?

Please make sure that if it's set to /mnt/cache/appdata/... that your appdata share is set to stay on the cache (so to speak Cache as the Primary storage) and the Move takes no action or moves the files from the Array to the Cache.

7 hours ago, ich777 said:

And what is the exact error? Does the container restart?

yes, the container keeps restarting

You should see something like that:

GameServer init success. Port: 27015
Set a LogOnAnonymous
0208:fixme:cryptnet:check_ocsp_response_info check responder id
0208:fixme:cryptnet:check_ocsp_response_info check responder id
Connected to Steam successfully
The Forest Server is not VAC Secure!
Game server SteamID:90199603862891540
CoopSteamManager Initialize
CoopLobby.LeaveActive instance=
0024:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
CoopPlayerCallbacks::BoltStartBegin CoopVoice.VoiceChannel:[UdpChannelName Voice:1]
Platform assembly: Z:\serverdata\serverfiles\TheForestDedicatedServer_Data\Managed\Mono.Security.dll (this message is harmless)
Platform assembly: Z:\serverdata\serverfiles\TheForestDedicatedServer_Data\Managed\System.Xml.Linq.dll (this message is harmless)
Platform assembly: Z:\serverdata\serverfiles\TheForestDedicatedServer_Data\Managed\Boo.Lang.dll (this message is harmless)
Will force game to new because GameSetup.IsSavedGameTrue LevelSerializer.CanResume False
[<color=#FFF>TIMER</color>] Cleanup - Elapsed Milliseconds: 0
[<color=#FFF>TIMER</color>] LoadAsync Start - Elapsed Milliseconds: 2
[<color=#FFF>TIMER</color>] failsafe - Elapsed Milliseconds: 4673
[<color=#FFF>TIMER</color>] Query state - Elapsed Milliseconds: 0
The referenced script on this Behaviour (Game Object 'Selector') is missing!
 
(Filename:  Line: 1744)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 8.934900 ms
VR SWITCHER AWAKE
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

VR SWITCHER RUNNING ON DEFAULT SETTINGS
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Switching vr rig enable = False
****** Game Activation Sequence ******
Game Activation Sequence step 0 (GameStartType=New)
[<color=#FFF>TIMER</color>] LoadSave Awake - Elapsed Milliseconds: 7
PlayerPreferences.Load

 

How much resources is the container using, on my server Intel i9-10900 it is looking something like that:grafik.thumb.png.267744506f9afa8d2e05bd47d620b0b8.png

image.thumb.png.977b46b4663c285d862dafae1af22c41.png

this is how it shows up

This should be the last message in the container logs:

Game autosave started

grafik.png.00f7126af215fb549f3493224caaac8d.png

 

On what hardware do you try to run the server?

i run it on a 4 core i5-3470 CPU with 16 gigs of ram

As you can see above I just tried it and the container is running fine on my system.

 

Why do you want to do that? This is the game ID from the game itself and not the dedicated server, so to speak, that can't work.

In the Docker template you always have to use: 556450

got it, thanks! now i used the AppID 242760 to generate my steam token

 

What path in the Docker template is set for the Game files? Is it set to /mnt/cache/appdata/... or /mnt/user/appdata/...?

Please make sure that if it's set to /mnt/cache/appdata/... that your appdata share is set to stay on the cache (so to speak Cache as the Primary storage) and the Move takes no action or moves the files from the Array to the Cache.

image.thumb.png.a55d6369439c9f42aacb716dab488266.png

config.cfg

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.