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, RoyalJackV said:

I haven't been able to replicate on a friends unraid server. For some reason the server gets a stuck main thread every day at 10AM Central.

This seems to me that something is triggered at 10AM on your server which actually causes the stuck thread, but I really can't tell what that is.

I've run the server for about two weeks without any issue whatsoever.

 

Is it possible that the Mover causes this? I hope your appdata share is set to Prefer or Only in terms of Use Cache.

  • 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

On 2/9/2021 at 3:21 PM, luckyy said:

World Name is the name of your world, this can be anything, if you wish to import a single-player or self-hosted save file in your docker, this name must be set to the same name/spelling as your save game world.

 

We are trying to move our Valheim world to a dedicated Unraid server. I follow the instructions and stop the server, copy over the files, and set the name in the docker. When I start the docker back up and log in with the Valheim client, I get a world that seems to be the default that comes with the docker? On checking the files, it seems that the Docker overwrote the files I put into it as the Date Modified changes to the DTG that I started the Docker. Can I get some help? This thing doesn't seem to be working the same way as has been explained and I have no idea what I am not doing...

  • Author
1 hour ago, lazarusomega2000 said:

This thing doesn't seem to be working the same way as has been explained and I have no idea what I am not doing...

I would recommend that you just rename the world that you transfer over to "Dedicated" or at least to the same name which world gets created.

I've never got an issue by renaming the "World Name" to a world that I want to import so that it get picked up by the container.

 

How do you copy it over? I would recommend that you use SMB and not Krusader or any other container that copies things over as root.

Are you trying to copy over a world from a Windows machine?

Try to load the world on your local computer, change something in the world and then exit the game and then try to copy it over.

Usually the dedicated server only overwrites the world when something is wrong with the permissions or the save itself.

8 hours ago, ich777 said:

This seems to me that something is triggered at 10AM on your server which actually causes the stuck thread, but I really can't tell what that is.

I've run the server for about two weeks without any issue whatsoever.

 

Is it possible that the Mover causes this? I hope your appdata share is set to Prefer or Only in terms of Use Cache.

Thank you for the quick reply. My appdata is set to prefer Cache. This did help me though! My SSD TRIM is scheduled for 10AM daily and my cache is on an SSD. I am surprised the TRIM would cause a freeze though. I'll adjust the TRIM schedule to 8AM and see if that changes when things hang up.

 

Edited by RoyalJackV

12 hours ago, RoyalJackV said:

Thank you for the quick reply. My appdata is set to prefer Cache. This did help me though! My SSD TRIM is scheduled for 10AM daily and my cache is on an SSD. I am surprised the TRIM would cause a freeze though. I'll adjust the TRIM schedule to 8AM and see if that changes when things hang up.

 

@ich777 the stuck main thread did follow the SSD Trim to 8AM Central. my appdata is set to prefer cache, my cache is a single xfs SSD. My Valhiem docker doesn't run into this so its something unique between V-Rising and the scheduled TRIM. I'll continue to experiment but if you have any additional ideas I'd love to hear them.

Thank you!

  • Author
6 hours ago, kezzkezzkezz said:

How do I convert this to a docker container

Is this a question or a request?

If it's a question, maybe start at looking at my GitHub.

  • Author
22 minutes ago, RoyalJackV said:

@ich777 the stuck main thread did follow the SSD Trim to 8AM Central. my appdata is set to prefer cache, my cache is a single xfs SSD. My Valhiem docker doesn't run into this so its something unique between V-Rising and the scheduled TRIM. I'll continue to experiment but if you have any additional ideas I'd love to hear them.

V-Rising is in pretty early alpha and I can be everything because I run it through WINE, that's why it's marked as Beta.

Keep in mind Valheim is not running through WINE... But I don't think this is caused by WINE. As said above it could be everything...

 

Why not disable TRIM? Or do you need the speed gain?

3 hours ago, ich777 said:

How do you copy it over? I would recommend that you use SMB and not Krusader or any other container that copies things over as root.

Are you trying to copy over a world from a Windows machine?

 

The world files are on a windows machine. Unraid uses SMB as far as I can tell. I tried again last night, deleting the original world files while the server was off and replacing them with the files for the world we're working on. The system still overwrote them but reset the world-spawn, so I got a different world than the other times I have logged on.

  • Author
56 minutes ago, lazarusomega2000 said:

I tried again last night, deleting the original world files while the server was off and replacing them with the files for the world we're working on. The system still overwrote them but reset the world-spawn, so I got a different world than the other times I have logged on.

Can you maybe send me the world files per PM so that I can try it on my own?

 

56 minutes ago, lazarusomega2000 said:

Unraid uses SMB as far as I can tell.

Sure, but you can also move them via Krusader, SFTP,... (seen a lot so far... :) )

6 hours ago, ich777 said:

V-Rising is in pretty early alpha and I can be everything because I run it through WINE, that's why it's marked as Beta.

Keep in mind Valheim is not running through WINE... But I don't think this is caused by WINE. As said above it could be everything...

 

Why not disable TRIM? Or do you need the speed gain?

I'll be honest, I don't know how critical the TRIM function is in UnRaid. I've seen a lot of mixed interpretations on whether its actually needed or not. Perhaps I'll disable TRIM and see if the issue goes away completely or change the frequency to something less often.

  • Author
14 minutes ago, RoyalJackV said:

I'll be honest, I don't know how critical the TRIM function is in UnRaid. I've seen a lot of mixed interpretations on whether its actually needed or not. Perhaps I'll disable TRIM and see if the issue goes away completely or change the frequency to something less often.

I haven't done a single TRIM since I've started Unraid...

As long as the drives are recent there should not be a real downside to this except for the slower write speeds (but in my opinion that negligible).

 

Keep in mind this is my opinion on this... :)

13 hours ago, ich777 said:

Is this a question or a request?

If it's a question, maybe start at looking at my GitHub.

I'd give it a go on my side but i think its above my level of knowledge so it's more of a request but i wouldn't mind trying

  • Author
3 hours ago, kezzkezzkezz said:

I'd give it a go on my side but i think its above my level of knowledge so it's more of a request but i wouldn't mind trying

I've stopped creating containers for games that I don't own because troubleshooting on such containers is a real pain for me, however if you are willing to donate the game to me, I can look into creating a container through WINE since this game doesn't officially support Linux (can't tell for sure if it's possible through WINE)...

On 6/6/2022 at 6:18 AM, RoyalJackV said:

@ich777 the stuck main thread did follow the SSD Trim to 8AM Central. my appdata is set to prefer cache, my cache is a single xfs SSD. My Valhiem docker doesn't run into this so its something unique between V-Rising and the scheduled TRIM. I'll continue to experiment but if you have any additional ideas I'd love to hear them.

Thank you!

I run trim hourly on my cache drive and have no issues with stuck threads, or anything else.  The world has been up 12 days since the last reboot and everything is fine.  The one difference I do notice between us tho is that my cache is formatted btrfs not xfs, not sure why it would matter but perhaps that is the issue if it is somehow related to trim.

I installed the latest Spigot 1.19 as follows:

 

1.) Install Minecraft Basic Server container with "jre17" as Runtime, "spigot" as serverfile name and "custom" as Game Version

2.) Open the container console and execute:

apt update
apt install git
cd /serverdata/serverfiles/runtime/jre17/bin
wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
./java -jar BuildTools.jar --rev 1.19

This creates /serverdata/serverfiles/runtime/jre17/bin/spigot-1.19.jar

3.) Now move it to your Minecraft appdata root dir:

mv /serverdata/serverfiles/runtime/jre17/bin/spigot-1.19.jar /serverdata/serverfiles/spigot.jar

4.) Restart the container

 

Alternatively to point 3, you could download my spigot-1.19.jar and paste it into your appdata dir:

https://www.dropbox.com/s/w8p745uysdt1cqq/spigot-1.19.jar?dl=0

30 minutes ago, rclifton said:

I run trim hourly on my cache drive and have no issues with stuck threads, or anything else.  The world has been up 12 days since the last reboot and everything is fine.  The one difference I do notice between us tho is that my cache is formatted btrfs not xfs, not sure why it would matter but perhaps that is the issue if it is somehow related to trim.

My noob understanding is that btrfs no longer needs TRIM after a certain version of UnRaid so the TRIM command may not actually be doing anything to your btrfs drives. Is there an advantage to use one or the other (xfs vs btrfs)?

@ich777 with TRIM disabled I did not hit the stuck main thread this morning. I've at least confirmed that it is something to do with TRIM. I still don't really understand why the TRIM impacts only this container. For now I'll leave TRIM turned off and see if I notice any performance problems after a few weeks.

I am still having issues getting my world to display in the global list so I've been having to provide friends with my IP address since the game GUI doesn't allow you to enter a URL. I have the port forwarding and firewall rules set up in PFSENSE so I'm assuming I've missed something somewhere.

On 5/31/2022 at 12:18 AM, xXMrZombie20Xx said:

I'm currently running your V-Rising server flawlessly, but I did run into one issue. I attempted to get rcon to work on the server and failed many times. I know there are not many commands for it but wanted to setup auto announce messages to all players or even use the announce restart command. But I keep getting failed to connect every time I put in info from config to rcon client.  Thank you

Found out how to fix this. You have to edit the save data files. This includes for settings after initial setup.

1 hour ago, RoyalJackV said:

My noob understanding is that btrfs no longer needs TRIM after a certain version of UnRaid so the TRIM command may not actually be doing anything to your btrfs drives. Is there an advantage to use one or the other (xfs vs btrfs)?

@ich777 with TRIM disabled I did not hit the stuck main thread this morning. I've at least confirmed that it is something to do with TRIM. I still don't really understand why the TRIM impacts only this container. For now I'll leave TRIM turned off and see if I notice any performance problems after a few weeks.

I am still having issues getting my world to display in the global list so I've been having to provide friends with my IP address since the game GUI doesn't allow you to enter a URL. I have the port forwarding and firewall rules set up in PFSENSE so I'm assuming I've missed something somewhere.

From Unraid 6.9 and up btrfs volumes are supposed to be mounted with the discard=async mount option which should mean that trim isn't needed.  However, I have found that if I stop using trim, after a few days the performance of my nvme cache drive drops dramatically so I have left it installed.

 

It could just be my use case, I don't know.  My cache drive has several hundred GB's of writes daily with the files being then moved from the cache onto either my array or sent to my TrueNAS server running on another machine.  

 

I still see, the details of how much space was recovered every time trim executes and do not have any conflicts with it and V-Rising or any other games I host.  How is your drive connected to your system? Is it nvme? Connected to onboard sata port? Or is it connected to a HBA or another way?

 

  • Author
2 hours ago, RoyalJackV said:

My noob understanding is that btrfs no longer needs TRIM after a certain version of UnRaid so the TRIM command may not actually be doing anything to your btrfs drives. Is there an advantage to use one or the other (xfs vs btrfs)?

@Hoopster can you help me out here? Is TRIM needed from your perspective?

 

2 hours ago, RoyalJackV said:

I am still having issues getting my world to display in the global list so I've been having to provide friends with my IP address since the game GUI doesn't allow you to enter a URL. I have the port forwarding and firewall rules set up in PFSENSE so I'm assuming I've missed something somewhere.

I think this is an issue from the game itself since there are currently a lot of servers around and I think it's not designed to list that much servers, the same was the case for Valheim back then...

I did some testing on my own and found out that sometimes my server displays and sometimes not but there is not really consistency on why this is the case.

  • Author
1 hour ago, xXMrZombie20Xx said:

Found out how to fix this. You have to edit the save data files. This includes for settings after initial setup.

Is this maybe this what you are looking for: Click

(Keep in mind that your files are located in .../appdata/vrising/save-data/Settings in my container)

6 hours ago, rclifton said:

I still see, the details of how much space was recovered every time trim executes and do not have any conflicts with it and V-Rising or any other games I host.  How is your drive connected to your system? Is it nvme? Connected to onboard sata port? Or is it connected to a HBA or another way?

 

It is a SSD(pny cs900 500gb) connected via SATA cable. Intel® Xeon® CPU E5-2620 v3 @ 2.40GHz.  

I have a similar concern with TRIM. My CACHE also gets a lot of writes and then transfers data to my Synology NAS. I've never gone a period of time with TRIM disabled so I do not know what performance impacts I'll see.

On 5/23/2022 at 1:47 AM, ich777 said:

I've tested the Container a few days ago and it worked perfectly fine.

The errors that you see on screen are usually caused by WINE but the container should run fine anyways.

 

Have you yet tried to connect to it via direct connection?

I gave up on it once I found out it wouldn't work with game consoles like Xbox and PS5 etc..  It works via pc only for this game in particular.  I never got it to work.  But thanks for replying back.

  • Author
12 minutes ago, Mogo said:

I gave up on it once I found out it wouldn't work with game consoles like Xbox and PS5 etc..  It works via pc only for this game in particular.  I never got it to work.  But thanks for replying back.

Exactly, cross play is only supported by a few games and you always have to buy a server somewhere if you want to have a private server and couldn't be done with most dedicated servers for PC.

19 hours ago, RoyalJackV said:


I am still having issues getting my world to display in the global list so I've been having to provide friends with my IP address since the game GUI doesn't allow you to enter a URL. I have the port forwarding and firewall rules set up in PFSENSE so I'm assuming I've missed something somewhere.

 

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. 

I only allow connections to the two Vrising ports on PFSENSE when coming from WAN connecting to the unRAID IP.

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.