[Support] ich777 - Gameserver Dockers


Recommended Posts

ok im trying load the Wurm Unlimited docker and i keep getting failed to find jvm installation. once failed it proceeds to reboot until i stop it

 

---Checking if UID: 99 matches user---
---Checking if GID: 100 matches user---
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...Failed to init SDL priority manager: SDL not found
Failed to set thread priority: per-thread setup failed
Failed to set thread priority: per-thread setup failed
OK.

Connecting anonymously to Steam Public...Generated client id: 6237967594240825360
Listening for IPv4 broadcast on: 27036
Logged in OK
Waiting for user info...OK
---Update Server---
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...Failed to init SDL priority manager: SDL not found
Failed to set thread priority: per-thread setup failed
Failed to set thread priority: per-thread setup failed
OK.

Connecting anonymously to Steam Public...Loaded client id: 6237967594240825360
Listening for IPv4 broadcast on: 27036
Logged in OK
Waiting for user info...OK
Success! App '402370' already up to date.
---Prepare Server---
---Checking folder structure---
---Checking folder structure for 'Adventure'---
---Standard folder structure copied---
---Checking if LaunchConfig.ini is present---
---LaunchConfig.ini present---
---Checking if Steam file is present---
---Steam file present---
---Please wait---
---Standard folder structure copied---
---Checking if LaunchConfig.ini is present---
---LaunchConfig.ini present---
---Checking if Steam file is present---
---Steam file present---
---Please wait---
---Server ready---
---Start Server---
Starting
Logs found: 0
SteamAppId set.
/serverdata/serverfiles
Failed to find jvm installation.

 

Link to comment
3 hours ago, jagr200 said:

Is a DayZ server docker possible? That would be AMAZING.

At the time i must sadly say no.

Since DayZ is only designed for Windows and Linux don't in mind.

 

I've tried it allready with Wine but DayZ needs so much Microsoft librarys that it seems impossible to do.

I will try it again in the near future because Wine 5.0 was released but i got no hope to get it working as it should.

Link to comment
6 hours ago, Seiver said:

ok im trying load the Wurm Unlimited docker and i keep getting failed to find jvm installation. once failed it proceeds to reboot until i stop it

Have you installed a cache drive in your server?

 

If so please change the path for the 'ServerFiles' in the template from '/mnt/user/...' to '/mnt/cache/...' and it will work (all without quotes, allready updated the template in the CA App but it will take some time to update if you wish to download it from there again).

Edited by ich777
Link to comment

I'm using MinecraftBasicServer (the latest docker image for Unraid).  I have installed Minecraft 1.12.2 along with forge-1.12.2-14.23.5.2852.  Everything is working great.  I have also installed some mods for testing and so far those work as well.  However, the problem I am having is I cannot find where the config files are being stored for those mods.  Usually those are a sub-folder \config in the same parent folder as \mods ---- but I'm not seeing that.  Any idea where this docker is storing the mods \config folder?

 

EDIT: Upon further research I've determined that I hadn't ran forge prior to copying the server files over to my Unraid server.  I now have the \config directory as expected.  However, I cannot get my Minecraft forge server to run.  I changed the 'Serverfile name' parameter to forge-1.12.2-14.23.5.2847-universal but my MC client cannot connect to the server.  Additionally when attempting to view the screen of the server by executing "docker exec -u minecraft -ti MinecraftBasicServer screen -xS Minecraft" at the terminal prompt, no screen named Minecraft can be found.   So I'm assuming that the server is not running but I'm unable to figure out why.

 

Any help you can offer would be greatly appreciated.  Thanks in advance!

 

Edited by cwdean
Link to comment
11 hours ago, ich777 said:

At the time i must sadly say no.

Since DayZ is only designed for Windows and Linux don't in mind.

 

I've tried it allready with Wine but DayZ needs so much Microsoft librarys that it seems impossible to do.

I will try it again in the near future because Wine 5.0 was released but i got no hope to get it working as it should.

Well that is unfortunate. I'd love to run a server but I'm not paying their absurd rates when I have fully capable hardware.

Link to comment

Good morning!

I installed the Minecraft Basic server for the first time today, and was getting presented with errors to the effect of 

 

Failed to start the minecraft server joptsimple.UnrecognizedOptionException: X is not a recognized option at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[server.jar:?] at joptsimple.OptionParser.validateOptionCharacters(OptionParser.java:633) ~[server.jar:?] at joptsimple.OptionParser.handleShortOptionCluster(OptionParser.java:528) ~[server.jar:?] at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:523) ~[server.jar:?] at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59) ~[server.jar:?] at joptsimple.OptionParser.parse(OptionParser.java:396) ~[server.jar:?] at net.minecraft.server.MinecraftServer.main(SourceFile:879) [server.jar:?]

I did a little research and digging in the start-server script and found that the ${GAME_PARAMS} were being called after -jar. I corrected this call in the file and everything started great after that!

 

Part of my digging found: https://bugs.mojang.com/browse/MC-148234?attachmentViewMode=list which lead to the answer! 

 

Thanks for the image! 

 

(Side note: it is only downloading 1.15.1 currently. 1.15.2 is the latest!)

Edit: I see looking further that you have options for EXTRA_JVM_PARAMS, but nowhere in the default container pull does it have an input field. I would wager that adding one would allow one to retain the GAME_PARAMS at the end, and use the EXTRA_JVM_PARAMS in the place where I have them now though. Just a heads up.

Edited by omninewb
Additional Info
Link to comment
5 hours ago, cwdean said:

EDIT: Upon further research I've determined that I hadn't ran forge prior to copying the server files over to my Unraid server.  I now have the \config directory as expected.  However, I cannot get my Minecraft forge server to run.  I changed the 'Serverfile name' parameter to forge-1.12.2-14.23.5.2847-universal but my MC client cannot connect to the server.  Additionally when attempting to view the screen of the server by executing "docker exec -u minecraft -ti MinecraftBasicServer screen -xS Minecraft" at the terminal prompt, no screen named Minecraft can be found.   So I'm assuming that the server is not running but I'm unable to figure out why.

 

Any help you can offer would be greatly appreciated.  Thanks in advance!

 

Yep because, i think the Forge server doesn't run that's why no screen can be found, please look in the logfile for Forge itself (i also tried to run a Forge server, it rund fine for a week or so and then it won't start so i switched over to Spigot/Bukkit).

 

4 hours ago, jagr200 said:

Well that is unfortunate. I'd love to run a server but I'm not paying their absurd rates when I have fully capable hardware.

Yep totaly understandable but like i've said this game is designed without linux in mind...

 

4 hours ago, omninewb said:

I did a little research and digging in the start-server script and found that the ${GAME_PARAMS} were being called after -jar. I corrected this call in the file and everything started great after that!

Is that a Ryzen specific problem? On my Xeon it works just fine. What are your Extra Parameters that you've entered (can you give me your full startup command)?

This link that you provided says that the -Xms and -Xmx commands should be bevor the -jar and they are.

 

4 hours ago, omninewb said:

(Side note: it is only downloading 1.15.1 currently. 1.15.2 is the latest!)

Yep, many people don't run actually the vanialla server in my container and everyone who want's to update the server or run another version have to place the file manually in the server directory but i changed that already and a new container is available (the above issue is not solved and i would advice you to not update since it will delete your above fix).

 

4 hours ago, omninewb said:

I see looking further that you have options for EXTRA_JVM_PARAMS, but nowhere in the default container pull does it have an input field.

Yep, that's only if someone needs it and an entry can easily be created by clicking on 'Add another Path, Port, Variable, Label or Device' then selecting 'Variable' enter the correseponding variable from the docker file in the 'Key' section (in this case 'EXTRA_JVM_PARAMS') and enter your paramaters at 'Value' ('Name' can be empty or what you want), click 'Add' and then 'Apply' the container will now start with your extra java startup parameters.

 

I think you are using the GAME_PARAMS wrong you should create this variable like i said above and use it like that (some minecraft jre's can also use command line switches and that are the GAME_PARAMS look for example at spigot: Click).

 

The EXTRA_JVM_PARAMS is for example for something like this: '-XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M'.

  • Thanks 1
Link to comment
29 minutes ago, ich777 said:

Yep because, i think the Forge server doesn't run that's why no screen can be found, please look in the logfile for Forge itself (i also tried to run a Forge server, it rund fine for a week or so and then it won't start so i switched over to Spigot/Bukkit).

 

Yep totaly understandable but like i've said this game is designed without linux in mind...

 

Is that a Ryzen specific problem? On my Xeon it works just fine. What are your Extra Parameters that you've entered (can you give me your full startup command)?

This link that you provided says that the -Xms and -Xmx commands should be bevor the -jar and they are.

 

Yep, many people don't run actually the vanialla server in my container and everyone who want's to update the server or run another version have to place the file manually in the server directory but i changed that already and a new container is available (the above issue is not solved and i would advice you to not update since it will delete your above fix).

 

Yep, that's only if someone needs it and an entry can easily be created by clicking on 'Add another Path, Port, Variable, Label or Device' then selecting 'Variable' enter the correseponding variable from the docker file in the 'Key' section (in this case 'EXTRA_JVM_PARAMS') and enter your paramaters at 'Value' ('Name' can be empty or what you want), click 'Add' and then 'Apply' the container will now start with your extra java startup parameters.

 

I think you are using the GAME_PARAMS wrong you should create this variable like i said above and use it like that (some minecraft jre's can also use command line switches and that are the GAME_PARAMS look for example at spigot: Click).

 

The EXTRA_JVM_PARAMS is for example for something like this: '-XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M'.

Sir,

 

You are absolutely correct. I was under the impression that the GAME_PARAMS were what the EXTRA_JVM_PARAMS actually are as that was the only field I saw during the initial setup. After I had dug in I found both variables, reset the docker to stock, added the jvm variable, added my params, and everything was joy. Running paper and a couple mods with no issues!

 

Thanks for the reply, and thanks again for the image; running great!

  • Like 1
Link to comment
3 hours ago, ozzylins said:

Hi guys... did anyone have success on installing CStrike1.6 bot on the server? I've tried pretty much every thing I know, and i did't make it work...

can anyone help me please?

Hope so, is there somewhere a documentation how to install it?

I think this is the same problem with the DM Classic bots, you have to edit the path (the absolute path to the serverdirectory in the conainter is: '/serverdata/serverfiles' without quotes).

You can search this thread for the keyword 'bot' or 'bots'.

Please report back!

Link to comment

I've got the Ark container up and running, does it take a save of the world before restarting or shutting down? I know its set to save at intervals, I'm just thinking of if i shut the container down without manually saving is progress lost between then and the most recent save. 

Link to comment
12 hours ago, PrisonMike said:

Hello, can you make a server container for Pirates Vikings and Knights? It runs on source engine. Thanks!

I will take a look at it on sunday, but it should be doable i think.

 

10 hours ago, dannyo13 said:

I've got the Ark container up and running, does it take a save of the world before restarting or shutting down? I know its set to save at intervals, I'm just thinking of if i shut the container down without manually saving is progress lost between then and the most recent save. 

I would save manually because it's not made for it that it saves if you stop the container for one reason.

Think of another system, not unraid, where the container kill time (if the container not stops within a given time - because it have to save) is very tight it could possibly mess up the save file when it's saving and the docker daemon kills the container.

Link to comment

Hello, im having some trouble with my killing floor 2 server. I can see and connect to the server on my LAN, however when I try to connect via internet (dicrectly to my IP) im getting no luck. Also, cant see the server in the server browser. However, I can connect to the webadmin over the internet (using port 3596). Any ideas? all ports are forwarded through my unifi controller.

Link to comment

I was just getting ready to install a VM for some HLDSes and thought "Hmm, I wonder if there is a Docker container for this" and was pleasantly surprised to see a Sven Co-op server, used to run a bunch many years ago and want to get back into it again.

 

Since you have plenty of other HLDSes, any chance of adding a "The Specialists" mod? https://www.moddb.com/mods/the-specialists ts-3-final-linux.tar.gz is the file you would want.

Link to comment
2 hours ago, alael said:

Hello there

 

is there any way to start the Planetary annihilation server w/o password to make it work with the connect to mod? currently if i leave the field empty i can join the server but the Ui dosent load correctly.

 

the mod allow you to set an IP and port but not a password so no one can join using it and the public listing of private server have been disabled by the developer.

 

any  suggestion?

 

thanks

Implemented a quick and dirty fix for this, you now can leave the password field empty and it will start the server without a password (please update the container first on the docker page within unraid - if unraid won't let you start the container remove the required flag from the template - but please be sure that you leave the field empty!!!).

 

2 hours ago, PrisonMike said:

Hello, im having some trouble with my killing floor 2 server. I can see and connect to the server on my LAN, however when I try to connect via internet (dicrectly to my IP) im getting no luck. Also, cant see the server in the server browser. However, I can connect to the webadmin over the internet (using port 3596). Any ideas? all ports are forwarded through my unifi controller.

Got a few weeks ago a similar issue, are you sure that you've forwarded all the correct ports TCP und UDP and also please be sure that your ISP doesn't block some ports.

The container works just fine, tried it a few minutes ago, if you want i set up a fresh install and you can try to join on my server.

 

45 minutes ago, cjcinfotech said:

I was just getting ready to install a VM for some HLDSes and thought "Hmm, I wonder if there is a Docker container for this" and was pleasantly surprised to see a Sven Co-op server, used to run a bunch many years ago and want to get back into it again.

 

Since you have plenty of other HLDSes, any chance of adding a "The Specialists" mod? https://www.moddb.com/mods/the-specialists ts-3-final-linux.tar.gz is the file you would want.

What is this exactly and can i install it through SteamCMD directly? On what is this mod based?

You can also make your own mod server with let's say the HL2 container, simply change the startup paramters in the template in unraid and you're good to go.

Did you got a link to a tutorial or something similar?

Link to comment
9 minutes ago, ich777 said:

What is this exactly and can i install it through SteamCMD directly? On what is this mod based?

You can also make your own mod server with let's say the HL2 container, simply change the startup paramters in the template in unraid and you're good to go.

Did you got a link to a tutorial or something similar?

I looked up the games in SteamCMD and it is not listed there. Since I am familiar with, but a bit rusty after all these years, I can just install "Half Life Dedicated Server" or "Sven Co-op" and modify things from there since it is not obtainable from SteamCMD directly.

 

I can make a tutorial or something so you can add it to the Docker List possibly?

Edited by cjcinfotech
Link to comment
2 minutes ago, cjcinfotech said:

I looked up the games in SteamCMD and it is not listed there. Since I am familiar with, but a bit rusty after all these years, I can just install "Half Life Dedicated Server" or "Sven Co-op" and modify things from there since it is not obtainable from SteamCMD directly.

 

I can make a tutorial or something so you can add it to the Docker List possibly?

If you provide me a link how to do such a server i will look into it and can add it to my list but you don't have to write a tutorial, i think there are somewhere tutorial out there ;)

But please note that weekends are family time for me so i will look into it on sunday evening or monday.

Link to comment
2 hours ago, ich777 said:

If you provide me a link how to do such a server i will look into it and can add it to my list but you don't have to write a tutorial, i think there are somewhere tutorial out there ;)

But please note that weekends are family time for me so i will look into it on sunday evening or monday.

It wouldn't be quite as one click as Sven Co-op.

 

First I would start with the https://developer.valvesoftware.com/wiki/Half-Life_Dedicated_Server which is SteamCMD 90 (I did not see this in the Dockers listed in Community Applications). Or maybe I am blind?

 

Then you would need to find a source for ts-3-final-linux.tar.gz (the linux server files and the windows server files are the same IIRC) here is one I found https://www.moddb.com/downloads/the-specialists-v30-server-linux as it states on that page the size and md5 hash and they have been around a long long long time in the Half-Life mod community. Inside that tarball is a folder called "ts" it is as simple as putting that ts folder in the same directory as the executable and then adding "-game ts" to the launch parameters.

Edited by cjcinfotech
Link to comment
16 hours ago, cjcinfotech said:

It wouldn't be quite as one click as Sven Co-op.

 

First I would start with the https://developer.valvesoftware.com/wiki/Half-Life_Dedicated_Server which is SteamCMD 90 (I did not see this in the Dockers listed in Community Applications). Or maybe I am blind?

 

Then you would need to find a source for ts-3-final-linux.tar.gz (the linux server files and the windows server files are the same IIRC) here is one I found https://www.moddb.com/downloads/the-specialists-v30-server-linux as it states on that page the size and md5 hash and they have been around a long long long time in the Half-Life mod community. Inside that tarball is a folder called "ts" it is as simple as putting that ts folder in the same directory as the executable and then adding "-game ts" to the launch parameters.

You can use the DMClassic server for that (so i think it's a Gold Source game?).

You can use any template and modify it, you can easily run for example the CS:GO server as a CS Source server or HL2DM server (there are light modifications to the startup script for each container but for the gould source games it should all be the same).

 

Also please note that many of my containers are not simply one click installs if you do it manually.

Take for example my Arma 3 ExileMod container.

 

I will look into this and report back.

 

EDIT: Yep works OOB, just install the DMClassic or DoDClassic container and change the start parameters and everything works just fine, but since i can't find a direct download i will not make a container for it...

But it's not hard to do, simply download the container as said above (please keep in mind not to delte the 'dmc' or 'dod' folder since the container will always try to readownload it), extract the mod that you want in the main directory of the server, change the server parameters to whatever mod you want to run and restart the container. ;)

Edited by ich777
Link to comment

I was able to run your docker for Arma3 vanilla with no issues. However, who wants to run without mods? I assumed the docker also pulled down the mods with steamcmd but that doesn't appear to be the case.

 

Can you include the logic to sync mods?  Here is a GitHub script that could be included in the startup logic.

 

https://github.com/michaelsstuff/Arma3-stuff/blob/22fde3f14590d0d52a2fb198334d250af20ebd34/mod-sync/README.md

 

Link to comment
10 minutes ago, kiowa2005 said:

I was able to run your docker for Arma3 vanilla with no issues. However, who wants to run without mods? I assumed the docker also pulled down the mods with steamcmd but that doesn't appear to be the case.

 

Can you include the logic to sync mods?  Here is a GitHub script that could be included in the startup logic.

 

https://github.com/michaelsstuff/Arma3-stuff/blob/22fde3f14590d0d52a2fb198334d250af20ebd34/mod-sync/README.md

 

You can run any script at startup since the container will look on startup for a user.sh bash script.

Simply mount it to: '/opt/scripts/user.sh' and the server will execute it. ;)

But i don't recommend to use the script that you've attachted since it uses other paths.

The server directory can be reached with this variable: '$SERVER_DIR' translates to: '/serverdata/serverfiles'.

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.