[Support] ich777 - Gameserver Dockers


Recommended Posts

Thanks very much I wondered if there were any changes that I needed for the different os but is seems very similar to the linux so I shall work at that.

Truth is I think i'm just very new to this and it's quite complex..lol.

Again thanks very much for your time.

_0din

Link to comment
39 minutes ago, _0din said:

Thanks very much I wondered if there were any changes that I needed for the different os but is seems very similar to the linux so I shall work at that.

Unraid is Linux.

 

My container does everything automated up to the part where you want to mod your server.

 

40 minutes ago, _0din said:

Truth is I think i'm just very new to this and it's quite complex..lol.

Not really, just stick to the modding tutorial and create the files accordingly as described.

 

My Docker containers are not that much different that if you run it on Bare Metal Linux.

 

As said above, just navigate to your appdata folder via SMB then go into your insurgency directory and from there you should find all folders and files that you need, of course you have to let the container start fully one time to let it pull the game from SteamCMD and run for the first time.

As always, I recommend stopping the container when you edit create files for the container.

  • Like 1
Link to comment

Thanks for all these containers.

 

I was running a Satisfactory container for a few weeks. I had to reboot my Unraid server and my Satisfactory server basically started over from scratch, it showed up as unclaimed when I went to reconnect to it and of course, my save file is gone. I checked in my appdata folder for the saves, which a previous comment says is '.config/Epic/FactoryGame/Saved/SaveGames' and there's only a single file in there (ServerSettings.15777).

 

The saves do not seem to actually be in this location and I have searched the appdata and container image for any save files and cannot find them. If I put a local save into that folder, it does not show up in the manage saves browser.

 

So for anyone else running this container, do the save files show up in that location or anywhere in appdata? Has anyone else lost their complete server config like this? It seems to happen anytime my Unraid server reboots. I can restart the container, stop/start it, turn off docker entirely and the server seems to persist, but on reboot I see the error in the logs:

[2022.11.11-23.16.21:631][  0]LogStreaming: Warning: Failed to read file '/serverdata/serverfiles/.config/Epic/FactoryGame/Saved/SaveGames/ServerSettings.15777' error.

 

Before attempting to use the dedicated server again, I'd like to be able to backup my saves so I don't have to worry about the complete server reset but I can't find them to do so.

Link to comment
5 hours ago, Derrick said:

The saves do not seem to actually be in this location and I have searched the appdata and container image for any save files and cannot find them. If I put a local save into that folder, it does not show up in the manage saves browser.

From my testing everything is working and the saves are actually surviving reboots or container restarts.

 

Have you yet tried to restart the container and see if you have the same issue?

 

To what is your appdata share set in therms of Use Cache in the Share settings?

Have you changed anything in the template?

  • Thanks 1
Link to comment
7 hours ago, 7x00 said:

So I've downloaded both DayZ and Factorio variations and I'm unsure of where to go from there.

Are the servers not working or what is the issue?

A little bit more inforrmation would be nice.

 

To connect to the servers simply enter your SERVERIP:PORT

 

You maybe have to configure them first too…

I would recomment to look in the Container logs and start from there.

Link to comment
On 11/12/2022 at 12:18 AM, ich777 said:

From my testing everything is working and the saves are actually surviving reboots or container restarts.

 

Have you yet tried to restart the container and see if you have the same issue?

 

To what is your appdata share set in therms of Use Cache in the Share settings?

Have you changed anything in the template?

 

Good catch, I had accidentally set the serverfiles to `/mnt/cache/appdata/satisfactory` which explains why the files persisted under all conditions except a reboot and why I wasn't seeing the saves when i was looking in `/mnt/user/appdata/satisfactory`.  Looks like everything is working as expected now. 

 

Thanks for the help!

Link to comment
21 hours ago, ich777 said:

Stop the Docker, install/copy the mods to the Garrysmod directory and start the Docker again.

So how do i add counter strike dedicated server into this docker image as well? When I try to use steamcmd i get

Steam>app_update 232330
ERROR! Failed to install app '232330' (Disk write failure)

Edited by Smegpot
Link to comment
6 hours ago, Derrick said:

/mnt/cache/appdata/

This is done by default on almost all of my templates and that should be the default way of doing it for game servers because some games doesn‘t run when using the FUSE (/mnt/user/…) file path and they simply will crash.

You are also saving some CPU time when using the real file path to the game (/mnt/cache/… or /mnt/diskX/…)

Link to comment
2 hours ago, Smegpot said:

So how do i add counter strike dedicated server into this docker image as well? When I try to use steamcmd i get

Can you give me the exact steps that you‘ve did?

 

I‘m also not sure what do you mean by that, do you want to add the assets for CS or do you want to also run a CS dedicated server?

Link to comment
2 hours ago, ich777 said:

This is done by default on almost all of my templates and that should be the default way of doing it for game servers because some games doesn‘t run when using the FUSE (/mnt/user/…) file path and they simply will crash.

You are also saving some CPU time when using the real file path to the game (/mnt/cache/… or /mnt/diskX/…)

Interesting. On my server, that directory gets cleared on reboot. When I had it set to /mnt/cache, I wouldn't just lose the save files but everything. It would have to rebuild the entire serverfiles directory, including re-downloading the game. I've run a bunch of your server containers and never had any issues with any of the others and they all appear to be using /mnt/user.

Link to comment
44 minutes ago, Derrick said:

Interesting. On my server, that directory gets cleared on reboot. When I had it set to /mnt/cache

Do you have a cache drive installed? If no then this directory is cleared out because you are basically writing it to RAM.

If you have for example a cache drive installed and named it differently then you have to change the name in the template too and make sure that the Share where the appdata directory is on is set to "Prefer" or "Only" in terms of Use Cache.

 

44 minutes ago, Derrick said:

I've run a bunch of your server containers and never had any issues with any of the others and they all appear to be using /mnt/user.

Try for example TeamFortress2 or PvK2 with /mnt/user/... and it will crash for sure, or better speaking it will segfault.

 

To circumvent that just specify /mnt/diskX/... (replace X with the correct disk number) if you have no cache drive installed. This will also as said above, save some CPU time because it doesn't have to go through FUSE.

  • Thanks 1
Link to comment
9 hours ago, ich777 said:

Do you have a cache drive installed? If no then this directory is cleared out because you are basically writing it to RAM.

If you have for example a cache drive installed and named it differently then you have to change the name in the template too and make sure that the Share where the appdata directory is on is set to "Prefer" or "Only" in terms of Use Cache.

 

You've done it again. I had a cache pool labeled 'cache' but added another cache disk and changed the name of both pools so that there was no longer anything named 'cache'. My appdata folder is set to "only" use a cache pool called "appdata_cache". I'm probably an edge case for someone not having a disk directly accessible via the 'cache' label.

Edited by Derrick
typos
  • Like 1
Link to comment
18 minutes ago, cracmeister said:

Hey are there instructions on how to setup your minecraft container so that it can host a technic pack server? Tekkit 2 specifically. Issue is that it doesn't start from a jar it has to start from launch.sh but I have no idea how to make this work.

Sadly enough no, not really but it should be pretty similar to if you set it up on bare metal.

Modding is always up to the user, I provide usually only basic functionality especially when it comes to Minecraft because there are so many mods out there...

Link to comment
20 minutes ago, DirkDiggler531 said:

Could you consider creating a docker for the Deadside game? I believe there is a dedicated server for it now. Here is the steam server db page.

Sadly enough no because I don't own the game and I've stopped creating containers for games that I don't own, because troubleshooting and giving support for even basic things is horrible.

 

If you want to donate it to me I'm happy to look into it. :)

Link to comment
9 hours ago, ich777 said:

Sadly enough no because I don't own the game and I've stopped creating containers for games that I don't own, because troubleshooting and giving support for even basic things is horrible.

 

If you want to donate it to me I'm happy to look into it. :)

 

Oh that totally makes sense. What's your Steam account, I'll gift it to you!

  • Like 1
Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.