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
6 minutes ago, DallasP said:

i figured out what happened when I was getting the path to the file i needed i accidentally made the whole docker path duplicated so it was going nuts.

So i assume the container is working?

 

Yes, the path is relative not absolute.

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

yeah now its working and i got the config part working too -SandboxIniPath=Config/WindowsServer/Server1Sandbox.ini is what you need of course the Server1Sandbox.ini can be named anything just gotta make sure the file is created beforehand

On 5/11/2024 at 1:28 AM, ich777 said:

Sorry but if that doesn't work the issue must be somewhere else.

Do you have other game servers running on your server and are reachable from outside?

 

Some ISPs going that far and blocking certain ports or even UDP traffic.

It didn't work, unfortunately. I do - I've set up and used Palworld, V Rising, Enshrouded, Minecraft, Satisfactory and several other servers on the same machine, also in Docker containers, all set up the same way, and all reachable externally with the ports forwarded - it's why this is so perplexing!

Hey ich777, thanks for the amazing work you do on setting up these server dockers. One question on the V Rising, is there a way to force it to update to latest version? I'm getting a version mismatch on docker but running windows server connects. I checked the repo and said it was last updated 7 months ago, is that just last time an edit was made or the server files age? Thanks!

44 minutes ago, FunkeyMonkey said:

Hey ich777, thanks for the amazing work you do on setting up these server dockers. One question on the V Rising, is there a way to force it to update to latest version? I'm getting a version mismatch on docker but running windows server connects. I checked the repo and said it was last updated 7 months ago, is that just last time an edit was made or the server files age? Thanks!

All ich's game servers update by restarting the container.

  • Author
48 minutes ago, FunkeyMonkey said:

One question on the V Rising, is there a way to force it to update to latest version?

Set this value to true:

grafik.png.f5194834860a25a0a6c8fbf9af115877.png

(please don't forget to unset it after the files where validated because this variable force a validation of the game files each time the container starts)

 

48 minutes ago, FunkeyMonkey said:

I checked the repo and said it was last updated 7 months ago

Most of my containers work differently and they are self maintaining, so to speak the containers itself barely need updates at all because they check on container start up for a new version.

However if nothing of the above did work please stop the container, delete everything in the directory for vrising except for the folder "save-data" (this is where your configuration and save files are located) and start the container afterwards.

 

If you are still having issues with a version mismatch then please also check on your client (so to speak your PC) if you use a different branch than the default one and the game files up to date.

How difficult would it be to have a knockout city private server docker up and running? When they shut down the game they took the time to allow people to host servers to keep playing and would love to get it working on unraid! Would it be possible to have this under your belt also ich777? 

image_2024-05-13_194812554.png

  • Author
4 hours ago, MrET said:

How difficult would it be to have a knockout city private server docker up and running?

Sorry but I don‘t accept any requests anymore with about 180 applications in the CA App.

Hi, I'm setting up a Palworld server for my friend and found that the server keep running even when no player is online. how can I make the game pause when no player connect?

Valheim server in reboot loop.  Dropping this error:

 

/opt/scripts/start-server.sh: line 272:    88 Segmentation fault      ${SERVER_DIR}/valheim_server.x86_64 -name "${SRV_NAME}" -port ${GAME_PORT} -world "${WORLD_NAME}" -password "${SRV_PWD}" -public ${PUBLIC} ${GAME_PARAMS} > /dev/null
/opt/scripts/start-server.sh: line 272:    77 Segmentation fault      ${SERVER_DIR}/valheim_server.x86_64 -name "${SRV_NAME}" -port ${GAME_PORT} -world "${WORLD_NAME}" -password "${SRV_PWD}" -public ${PUBLIC} ${GAME_PARAMS} > /dev/null

Session terminated, killing shell...kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
 Update state (0x5) verifying install, progress: 0.18 (4194304 / 2346408748)
 Update state (0x5) verifying install, progress: 32.69 (767146885 / 2346408748)
 Update state (0x5) verifying install, progress: 73.38 (1721706037 / 2346408748)

Is this due to the Mistlands update that dropped today?

I set up a Valheim server on unraid and it's working fine, but how can I view the Valheim server logs? I'm just using the default settings for everything, no BepinEX or Valheim+ installed

10 minutes ago, dabbo said:

I set up a Valheim server on unraid and it's working fine, but how can I view the Valheim server logs? I'm just using the default settings for everything, no BepinEX or Valheim+ installed

Go to the Docker tab, click on Valheim and choose LOGS.

image.png.1354db00251cd5be65fe19643674c06a.png

 

I am running mine with Vplus, no BepinEX and as a public server, password protected.  I am running several other servers on this machine and a second Unraid with no issues.

Edited by TheExplorographer
added text

34 minutes ago, TheExplorographer said:

Go to the Docker tab, click on Valheim and choose LOGS.

image.png.1354db00251cd5be65fe19643674c06a.png

 

I am running mine with Vplus, no BepinEX and as a public server, password protected.  I am running several other servers on this machine and a second Unraid with no issues.

sorry I meant the actual Valheim server logs, the Docker container logs just show that the server started and then nothing else. I mean the logs the game generates like when people join or chat on the server, and other stuff like that. The docker container logs just show this then stop.

 

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/serverfiles/Steam/logs/stderr.txt'
Logging directory: '/serverdata/serverfiles/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1715636761
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '896660' already up to date.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Update check deprecated!---
---Start Server---

 

  • Author
5 minutes ago, dabbo said:

The docker container logs just show this then stop.

Because the verbose log output is disabled by default.

Go into the Docker template in Unraid, click on Show more settings... and set Verbose Log Output to true:

grafik.thumb.png.36d91618f3adfd975b6f35cd5a4b8e20.png

6 minutes ago, dabbo said:

sorry I meant the actual Valheim server logs, the Docker container logs just show that the server started and then nothing else. I mean the logs the game generates like when people join or chat on the server, and other stuff like that. The docker container logs just show this then stop.

 

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/serverfiles/Steam/logs/stderr.txt'
Logging directory: '/serverdata/serverfiles/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1715636761
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '896660' already up to date.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Update check deprecated!---
---Start Server---

 

`/mnt/cache/appdata/valheim/Steam/logs/`

  • Author
1 hour ago, TheExplorographer said:

Is this due to the Mistlands update that dropped today?

Nope, usually not.
Do you have BepInEx or Valheim+ enabled? Most of the times it is caused after an update and if one or the other is enabled.

You usually have to wait a bit so that the mods are updated.

 

EDIT: I just read your second post, it could be the case that the savegame got corrupt but that happens very rarely, maybe try to delete the save game (backup the old savegames first) and try to start the container and see if it is working properly (since you had the backup daemon enabled there should be a work one in the Backups folder).

Do you maybe can post the full log output?

 

Do you run the other servers with Valheim+ too?

15 minutes ago, ich777 said:

Because the verbose log output is disabled by default.

Go into the Docker template in Unraid, click on Show more settings... and set Verbose Log Output to true:

grafik.thumb.png.36d91618f3adfd975b6f35cd5a4b8e20.png

Thanks! This is what I was looking for.

 

13 minutes ago, dlchamp said:

`/mnt/cache/appdata/valheim/Steam/logs/`

I checked in here but it looks like it's just logs for the steamcmd instance running in the container not the Valheim server itself

43 minutes ago, ich777 said:

Nope, usually not.
Do you have BepInEx or Valheim+ enabled? Most of the times it is caused after an update and if one or the other is enabled.

You usually have to wait a bit so that the mods are updated.

 

EDIT: I just read your second post, it could be the case that the savegame got corrupt but that happens very rarely, maybe try to delete the save game (backup the old savegames first) and try to start the container and see if it is working properly (since you had the backup daemon enabled there should be a work one in the Backups folder).

Do you maybe can post the full log output?

 

Do you run the other servers with Valheim+ too?

It must be because of Valheim Plus as it is still doing after deleting all files in /worlds_local  
 

50 minutes ago, ich777 said:

Nope, usually not.
Do you have BepInEx or Valheim+ enabled? Most of the times it is caused after an update and if one or the other is enabled.

You usually have to wait a bit so that the mods are updated.

 

EDIT: I just read your second post, it could be the case that the savegame got corrupt but that happens very rarely, maybe try to delete the save game (backup the old savegames first) and try to start the container and see if it is working properly (since you had the backup daemon enabled there should be a work one in the Backups folder).

Do you maybe can post the full log output?

 

Do you run the other servers with Valheim+ too?

Here is what my log says:

 

Your mono runtime and class libraries are out of sync.
The out of sync library is: /serverdata/serverfiles/unstripped_corlib/mscorlib.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
Obtained 15 stack frames.
#0  0x00153ec245b050 in __sigaction
#1             (nil) in (Unknown)
#2  0x00000040efb0ab in (wrapper managed-to-native) Mono.SafeStringMarshal:StringToUtf8 (string)
#3  0x00000040efafc3 in Mono.SafeStringMarshal:get_Value ()
#4  0x00000040efaf03 in System.Environment:internalGetEnvironmentVariable (string)
#5  0x00000040efae7f in System.Environment:GetEnvironmentVariable (string)
#6  0x00000040eec2a3 in System.TimeZoneInfo:CreateLocal ()
#7  0x00000040eebfe7 in System.TimeZoneInfo:get_Local ()
#8  0x00000040eebf77 in System.TimeZoneInfo:GetDateTimeNowUtcOffsetFromUtc (System.DateTime,bool&)
#9  0x00000040eeb69b in System.DateTime:get_Now ()
#10 0x00000040eeb203 in BepInEx.Preloader.Entrypoint:Main ()
#11 0x00000040eeb610 in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
#12 0x00153ec07e5453 in mono_runtime_invoke
#13 0x00153ec083f761 in mono_gc_pending_finalizers
#14 0x00153ec05dff60 in (Unknown)
---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---

** Press ANY KEY to close this window ** 

  • Author
15 minutes ago, TheExplorographer said:

Your mono runtime and class libraries are out of sync.

Try the following:

  1. Stop the container
  2. Delete everything except the saves folder in your Valheim directory
    (maybe back up your Valheim+ configuration file but don't put it in the directory yet)
  3. Start the container again and see if it is working

 

Usually the mono error means that something is not quiet right

28 minutes ago, ich777 said:

Try the following:

  1. Stop the container
  2. Delete everything except the saves folder in your Valheim directory
    (maybe back up your Valheim+ configuration file but don't put it in the directory yet)
  3. Start the container again and see if it is working

 

Usually the mono error means that something is not quiet right

Rebuilding everything...lots of errors...but it seems to be running.  Will post a final analysis when it's actually up.

On 5/11/2024 at 4:55 AM, Lethi said:

the download works now and it can handle a already downloaded version.

 

However I have to include a version on the folder name to make it recognize it, so instead of "BePiNex" I have to use something like "BepInEx-v5.4.18" and I think that makes some follow up code fail since the mods don't load (the server as such does), I believe if you download the .zip using your code it extracts it and the folder in there is always BePiNex without a version.

 

So maybe it's sufficient to do a folder check on Bepinex instead of Bepinex-*?

 

@Lethi after his update were you able to get the server working with Bepinex? I have completely deleted the container and wiped the files a few times and the server just crash loops when setting the "BepInEx" variable to true. As soon as I remove the true the server correctly starts again.

 

edit: Attached a screenshot of the console, it gets to start server and just closes.

loop.png

 

edit2: Attached what is dumped to server log

Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetMethodHandle(System.Reflection.MethodBase)
   at System.Delegate.CreateDelegateNoSecurityCheck(System.Type, System.Object, System.RuntimeMethodHandle)
   at System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetMethodHandle(System.Reflection.MethodBase)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform+<>c__DisplayClass29_0.<Pin>b__0(System.Reflection.MethodBase)
   at System.Collections.Concurrent.ConcurrentDictionary`2[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GetOrAdd(System.__Canon, System.Func`2<System.__Canon,System.__Canon>)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(System.Reflection.MethodBase)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform..ctor()
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform..ctor()
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETCorePlatform..ctor()
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETCore30Platform..ctor()
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNET60Platform..ctor()
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETCorePlatform.Create()
   at MonoMod.RuntimeDetour.DetourHelper.get_Runtime()
   at MonoMod.RuntimeDetour.DetourHelper.GetIdentifiable(System.Reflection.MethodBase)
   at MonoMod.RuntimeDetour.Detour..ctor(System.Reflection.MethodBase, System.Reflection.MethodBase, MonoMod.RuntimeDetour.DetourConfig ByRef)
   at MonoMod.RuntimeDetour.Detour..ctor(System.Reflection.MethodBase, System.Reflection.MethodBase, MonoMod.RuntimeDetour.DetourConfig)
   at MonoMod.RuntimeDetour.Detour..ctor(System.Reflection.MethodBase, System.Reflection.MethodBase)
   at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.Install()
   at HarmonyLib.Harmony..cctor()
   at HarmonyLib.Harmony.CreateAndPatchAll(System.Type, System.String)
   at BepInEx.Preloader.RuntimeFixes.ConsoleSetOutFix.Apply()
   at BepInEx.Unity.IL2CPP.Preloader.Run()
   at BepInEx.Unity.IL2CPP.UnityPreloaderRunner.PreloaderMain()
   at Doorstop.Entrypoint.Start()

 

If it's the version of bepinex being downloaded I know this release exists https://github.com/Odjit/BepInEx/releases/tag/vrising-release I thought maybe I could set the variable to "true", have it download what it wants and then replace the files with these new ones but I still am never able to get the server to actually start or use bepinex.

 

I really only want to use the killfeed plugin, I have a 20~ person pvp server with friends and it depends on this unfortunately.

Edited by kjstan
Add image, add log

  • Author
47 minutes ago, TheExplorographer said:

lots of errors

What do you mean with lot's of errors?

Where at the download stage or somewhere else?

  • Author
32 minutes ago, kjstan said:

@Lethi after his update were you able to get the server working with Bepinex? I have completely deleted the container and wiped the files a few times and the server just crash loops when setting the "BepInEx" variable to true. As soon as I remove the true the server correctly starts again.

BepInEx and V-Rising is not working with the new version 1.0 AFAIK, you have to leave it disabled for now.

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.