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
1 hour ago, Evidenz said:

What kind of port forwarding are you using? I cannot get to connect to the server and I think we have a similar setup with PFSENSE in between. 

Have you changed anything in the template or the ports or something similar?

 

I'm using OPNsense which should be pretty similar, here is what it looks like on my OPNsense Firewall:

grafik.thumb.png.700280ff11d2715574eabb80fb612fa3.png

  • 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

27 minutes ago, ich777 said:

Have you changed anything in the template or the ports or something similar?

 

I'm using OPNsense which should be pretty similar, here is what it looks like on my OPNsense Firewall:

grafik.thumb.png.700280ff11d2715574eabb80fb612fa3.png

Nope, have not changed a bit. Same config as yours.

 

Is the server supposed to be reachable from LAN? Because if I try with the LAN option ticked (in game) then I receive these logs on the container side:

 

Screenshot 2022-06-08 180921.png

  • Author
20 minutes ago, Evidenz said:

Is the server supposed to be reachable from LAN? Because if I try with the LAN option ticked (in game) then I receive these logs on the container side:

Please don't use the LAN option in game, I think it will only work if you use this option on the server side too.

It should always be reachable when you click direct connect and enter your Unraid IP.

I agree with ich777. My rule matches the one they shared. Also I do not check the LAN option. While on LAN I connect with my local IP. My friends use my external IP.

18 hours ago, RoyalJackV said:

I agree with ich777. My rule matches the one they shared. Also I do not check the LAN option. While on LAN I connect with my local IP. My friends use my external IP.

That works for me, too now. Does your server pop up in the server list for your friends?

  • Author
41 minutes ago, Evidenz said:

That works for me, too now. Does your server pop up in the server list for your friends?

From the testing with @RoyalJackV (I hope you was the one that I tested this with) it's a hit and miss and seems that it sometimes doesn't display in the list.

I think that's caused because the server list is huge and the same was the case in the beginning for Valheim too (same game engine)...

On 6/10/2022 at 3:56 AM, ich777 said:

From the testing with @RoyalJackV (I hope you was the one that I tested this with) it's a hit and miss and seems that it sometimes doesn't display in the list.

I think that's caused because the server list is huge and the same was the case in the beginning for Valheim too (same game engine)...

That wasn't me but in testing with friends I had the same result.

V Rising Lag - Error when playing with friend?

image.thumb.png.403310f42a323fd6129450871fc5f37d.png

SteamLog [SDR k_ESteamNetworkingSocketsDebugOutputType_Warning] SteamNetworkingSockets lock held for 190.1ms. (Performance warning.) ServiceThread,RecvUDPPacket(x29),ThinkPingProbes,EnsureDataCenterRoutesValid
This is usually a symptom of a general performance problem such as thread starvation.
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Stunlock.Network.Steam.Wrapper.SteamSocketNetworkingLogs:OnLog(LogSource, ESteamNetworkingSocketsDebugOutputType, IntPtr)

SteamLog [SDR k_ESteamNetworkingSocketsDebugOutputType_Warning] SteamNetworkingSockets lock held for 9.9ms. (Performance warning.) ServiceThread,RecvUDPPacket(x412),SNP_SendPacket(x4),SendUDPacket(x4),ThinkPingProbes,EnsureDataCenterRoutesValid
This is usually a symptom of a general performance problem such as thread starvation.

 

Never got this error playing solo on my server but it started popping up constantly when my friend joined. we get lag frequently. 
I have a ryzen 3900x and 64gb of ran. the appsdata is on my nvme cache drive. The only other docker running on my server is plex so I am  not sure what would be causing the thread starvation. Any help is greatly appreciated!

Edited by Kvo1087

  • Author
6 hours ago, Kvo1087 said:

Never got this error playing solo on my server but it started popping up constantly when my friend joined. we get lag frequently. 
I have a ryzen 3900x and 64gb of ran. the appsdata is on my nvme cache drive. The only other docker running on my server is plex so I am  not sure what would be causing the thread starvation. Any help is greatly appreciated!

First of all please remember that I've run this server through WINE because Linux is not supported yet and also please note that this game is in pretty early alpha and such issues are very common.

 

AMD Platforms have the most issues with V-Rising from my experience but have you yet tried to restart the container?

What upload do you have, is maybe something downloading in the background?

I restarted and redownloaded the container to start from scratch. I noticed that when the server initially launches that this error is displayed. 

src\steamnetworkingsockets\clientlib\steamnetworkingsockets_lowlevel.cpp (774) : Assertion Failed: GetBestInterfaceEx failed with result 3 for address '000.000.00.000:0' - my ip

My upload is 15Mbps, nothing running in the background. made sure to test late at night when no streams were running on my plex docker. 

I am in the process of creating another unraid server right now and I could use an intel processor on that one. Is Intel more stable for V rising?

  • Author
10 hours ago, Kvo1087 said:

My upload is 15Mbps, nothing running in the background. made sure to test late at night when no streams were running on my plex docker. 

Are we talking about 1,5MB/s up? Even if you have that upload it should be enough for 2 clients but I could be wrong about that...

Valheim was also a little bit buggy if there was not enough bandwith available...

 

10 hours ago, Kvo1087 said:

I am in the process of creating another unraid server right now and I could use an intel processor on that one. Is Intel more stable for V rising?

Depends and I really can't give you a clear answer here but Intel gave me none trouble so far where on AMD platforms I had various issues that the container won't start and so on...

I think I also read somewhere similar to your issue but I really couldn't remember if that was on Intel or AMD.

Hello,

 

I'm unable to have ark SE server working. I install from scratch, I see it in the game browser but when I click join, it fail with connection timeout.

 

If I try to join from console, I get:

 

Lost/Timedout connection to host

 

In the log file, I have this line:

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

 

 

Also, I can only find the server in the lan section.

 

edit:

I found out the problem is when I need to change the port. Looking at the log file, the new port aren't passed to the commandline. Is there a way to change the queryport and gameport? Changing them in the docker interface doesn't work

Edited by Nodiaque

  • Author
50 minutes ago, Nodiaque said:

I found out the problem is when I need to change the port.

This is simply because a game server isn't something like a web server or a noVNC.

You can't just simply change the port mappings like you do for example for a WebGUI or for SWAG.

 

You have to first change the ports in the game config or via the command line, for example you can add something like this to the GAME_PARAMS variable in the Docker template:

?Port=7799?QueryPort=27020

and then delete the old port mappings for the Game and Query port in the template and create new ones with the host and container ports to the corresponding ports for like in this case Game Port 7799 UDP and Query Port 27020 UDP.

 

This is somewhat similar to the Recommende Post on top of this thread to host multiple Valheim servers, but only somewhat similar.

Yeah I found out about the ?PORT later. I'm used to have these things in the config file.

 

I don't get why recreate the port entry though, I can simply click edit and change the port, which yield the same result in the end.

 

I manage to have it working when I'm on lan, but I still don't see it in the gamebrowser.

 

edit: OK I manage to see in the command line what happen when the port aren't recreated. Weird thing is the interface when creating a port doesn't show me the container port. I had to start it, edit again and then the container port showed. Nothing to do with the template, unraid bug I guess

Edited by Nodiaque

  • Author
29 minutes ago, Nodiaque said:

I don't get why recreate the port entry though, I can simply click edit and change the port, which yield the same result in the end.

Because the container and host port has to be the same, otherwise it won‘t work properly.

 

EDIT: Some query ports send the game port in the first response back to the client and if you just simply changed it in the template from 7777 to 7778 and not in the config then it won‘t work because the client then tries to connect to 7777 instead of 7778 because you only changed the port and not the entire port mapping and the containers port.

Hi @ich777,

 

Do you think the valheim template needs updating based on the changes in save file structure patch that dropped today? https://steamdb.info/patchnotes/8954338/

 

Thanks again for your work!

18 minutes ago, ich777 said:

These are client change notes or am I wrong?

I think @TimNL81 is right about a necessary update. I logged onto my server today to see it had started a brand new world. Unfortunately I had changed my backups to only two hours worth and the latest one did not get me my world back. I'm pretty new to UnRaid so I'm unsure if the previous backups would've been sent to some sort of recycling bin.
Dang, been meaning to raise the backups back to the defualt 24 too. Still a learning experience for me and our trio was planning on moving onto V Rising or Terraria very soon anyway so perhaps I can manage to put the lesson to use on the next template.

Ich777 first of all thank you so much for simplifying these setups on Unraid. But I've restarted my Valheim server, and now it's as if I started a brand new server. We lost about a week of play so I was going to try to restore the backup, but it doesn't seem to change anything. I've tried restoring several different backups, but they all seem to be the same? I don't know if this has been covered before of if it makes sense. I'm trying to restore to \Appdata\valheim\.config\unity3d\IronGate\Valheim which is the only place I've spotted the World folder on the server. Maybe I'm doing something wrong? TIA for any help you can offer.

Update on my missing world from half an hour ago:

 

I had to move the oldest backup file I had into the newly created

\\NAME\appdata\valheim\.config\unity3d\IronGate\Valheim\worlds_local

folder. Previously I was overwriting the the one in the original 'worlds' folder and found that I kept reconnecting to the new, blank, day 1 world. @aRcaNia have you tried moving a backup to this separate "local" folder?

  • Author

@Hokie Saiko & @aRcaNia & @TimNL81 I have to look into this and will report back.

 

For all others having issues with Valheim, I will report back when I got a proper solution and the container is updated.

 

Fix applied, update the container in the first place and then restart it.

14 minutes ago, Hokie Saiko said:

Update on my missing world from half an hour ago:

 

I had to move the oldest backup file I had into the newly created

\\NAME\appdata\valheim\.config\unity3d\IronGate\Valheim\worlds_local

folder. Previously I was overwriting the the one in the original 'worlds' folder and found that I kept reconnecting to the new, blank, day 1 world. @aRcaNia have you tried moving a backup to this separate "local" folder?

 

This fixed my world being reset as well. Thanks for the tip!

21 minutes ago, Hokie Saiko said:

Update on my missing world from half an hour ago:

 

I had to move the oldest backup file I had into the newly created

\\NAME\appdata\valheim\.config\unity3d\IronGate\Valheim\worlds_local

folder. Previously I was overwriting the the one in the original 'worlds' folder and found that I kept reconnecting to the new, blank, day 1 world. @aRcaNia have you tried moving a backup to this separate "local" folder?

@Hokie that solved it! Thank you so much for the rapid reply and the solution.

  • Author

@aRcaNia & @Stolas & @Hokie Saiko & @TimNL81 fix for Valheim is applied, but you first have to update the Docker container and after that restart it so that it moves the directory where it should belong now

 

That's the downside of the automatic update function...

 

For everyone else who experiencing that he starts on a new world on his Valheim server:

  1. Stop the container
  2. Go to your Backups folder (usually in .../valheim/Backups and open the latest Backup tar.gz file
  3. In the tar.gz archive go into the worlds folder and extract the contents to .../valheim/.config/unity3d/IronGate/Valheim/worlds_local and overwrite the existing files in there
  4. Start the container again

Hello @ich777Thank you that did it. Slightly different question, is it normal for it to take a long time for the server to be connectable via public IP + port.

 

on my LAN it's pretty quick for it to appear if I use my internal LAN network + port. But for external connections it can take hours. For example I left mine running last night, first hour or two server was not visible via Public IP + port. When I woke up this morning everything was good and my friends were able to connect.

 

Since I just updated the container and started it up again I'm just curious if it's normal for it to take that long for it to show in either steam > servers or even within the game when connecting via Public IP + port.

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.