[Support] ich777 - Gameserver Dockers


Recommended Posts

5 hours ago, pengrus said:

Yes, Ark requires a username, had to set up a separate account for that with SteamGuard disabled.

Now that i'm at home i could try it out and ark doesn't need a username or password, downloads just fine, the error that you get is just that this account doesn't had the game in the library (also one other reason why you don't have to specify a username) -> also attached a picture of the steamdatabase where it shows that this needs no login.

 

5 hours ago, Masterism said:

After that it looks like you would need to stop the container then add the account info and start it back up.

Really mine showes up just fine without a username and password in the server list the only thing that needs to be set is the filter: show custom servers.

 

 

grafik.thumb.png.1fee6a6843b221e380cc90c4f8bd2771.png

Link to comment
17 hours ago, ich777 said:

Really mine showes up just fine without a username and password in the server list the only thing that needs to be set is the filter: show custom servers.

All I did was download the docker and let it install. I don't have Ark installed atm to see if the server is up. Most of these game servers don't require a steam account. Also with a the couple servers that I have tried to use an account with, it just failed. So, don't use an account and it'll work! :D

  • Like 1
Link to comment
On 11/19/2019 at 3:54 PM, ich777 said:

Hello, I've got no list of upcoming gameservers because i don't plan them, just request it and i will look into it. You could request all gameservers if there is a linux version of the game or better a dedicated server version for linux, I've also made some windows games but this is possible through WINE but this gameservers with WINE will consume a fair ammount of your system resources since it is not linux native.

Hope this helps

 

I will look into it, it's maybe possible through WINE but i can not guarantee that it works.

Thanks ich777, the game I am after is called Mindustry. It's a tiny game with clients that run on linux, MacOS, windows etc but I am not sure if the server is windows only or not. You can find the server here:

 

https://anuke.itch.io/mindustry

 

I have purchased the game on Steam but you can download the server for free via the website.

 

I have also found a GitHub docker for Mindustry but it didn't seem to play well with Unraid:

 

https://github.com/thehuntedpie/docker-mindustry

 

Thanks!

Link to comment
21 hours ago, Mantiphex said:

Added to list, but please keep in mind that i not got much spare time at the moment, it will take a while but i will definitely look into it and report back.

 

Edit: It's a game written in java should be possible to get it running in a container, please give me a little time, if it's not too much work i will do it as soon as possible. ;)

 

Edit 2: @Mantiphex Game should be available in the next few hours through the CA App.

Edited by ich777
Link to comment
On 11/22/2019 at 5:09 PM, ich777 said:

Added to list, but please keep in mind that i not got much spare time at the moment, it will take a while but i will definitely look into it and report back.

 

Edit: It's a game written in java should be possible to get it running in a container, please give me a little time, if it's not too much work i will do it as soon as possible. ;)

 

Edit 2: @Mantiphex Game should be available in the next few hours through the CA App.

Amazing! Thank you so much!

  • Like 1
Link to comment
  • 2 weeks later...

I don't know if this is because of the docker container or my reverse proxy, but when trying to link the Discord Id in the CSMM docker, I get an Oauth error. So I'm able to use Steam of course to authenticate to get this to work, but when I go here..

 

image.png.19007d2c3817be788c2991e961b5b6ab.png

 

And I click on the link I get this

 

image.png.ae577584ec710d6bba9d24e30bb56b6d.png

 

Any ideas?

 

Edited by HellraiserOSU
Link to comment
5 hours ago, HellraiserOSU said:

I don't know if this is because of the docker container or my reverse proxy, but when trying to link the Discord Id in the CSMM docker, I get an Oauth error. So I'm able to use Steam of course to authenticate to get this to work, but when I go here..

 

Please refer to this guide, have you created all the required things (ID, secret, token)?
 

You have a reverse proxy for this container?

Don't do that please, it's not necessary because all the services run without root privileges and in an isolated Docker environment.

Btw yes it may be that it's not working properly because you reverse proxy the container.

 

You can also post a issue on Github *click* with your error (please also include that you use my container on Unraid.

Edited by ich777
Link to comment
4 hours ago, ich777 said:

Please refer to this guide, have you created all the required things (ID, secret, token)?
 

You have a reverse proxy for this container?

Don't do that please, it's not necessary because all the services run without root privileges and in an isolated Docker environment.

Btw yes it may be that it's not working properly because you reverse proxy the container.

 

You can also post a issue on Github *click* with your error (please also include that you use my container on Unraid.

Yes, everything's setup with the ID and secret. etc.. I have narrowed it down to the return URL

 

On this post though you said you need to setup a reverse proxy

On 10/15/2019 at 2:41 AM, ich777 said:

As @JDK said you could use this tools.

I've also made a CSMM 7DtD (Catalysm Server Monitor & Manager for 7 Days to Die) Docker to manage the servers but it's a little bit complicated to set up, you need a reverse proxy and a real domain name with a subdomain then you can host this docker.

 

OK I'll try not doing it as a reverse proxy.  Thanks!

Edited by HellraiserOSU
add quote
  • Like 1
Link to comment
On 12/3/2019 at 12:41 PM, HellraiserOSU said:

Yes, everything's setup with the ID and secret. etc.. I have narrowed it down to the return URL

 

On this post though you said you need to setup a reverse proxy

 

OK I'll try not doing it as a reverse proxy.  Thanks!

I think i will drop support and the container including the repository on the CSMM container because it's a container from CSMM directly available, but i'm not 100% sure, can you try their container (since i've got no Discord or 7DtD itself it makes no sense for me to support it)?

Edited by ich777
Link to comment
3 hours ago, ich777 said:

I think i will drop support and the container including the repository on the CSMM container because it's a container from CSMM directly available, but i'm not 100% sure, can you try their container (since i've got no Discord or 7DtD itself it makes no sense for me to support it)?

No problem!. I'll try it out..  no worries.. Since you don't play it and this is sort of out of bounds for a game server, I'd say drop it. Thanks for all your help

Link to comment

Thank you for the docker @ich777.

 

Could anyone be so kind and share their CS:GO startup commands? I´m having issues to connect to it via internet though all ports are forwarded correctly (works for other containers so not a router problem). Could it be that SV_lan is set to 1 by default?

 

Thank you in advance. 

Link to comment
2 hours ago, Fantomen said:

Thank you for the docker @ich777.

 

Could anyone be so kind and share their CS:GO startup commands? I´m having issues to connect to it via internet though all ports are forwarded correctly (works for other containers so not a router problem). Could it be that SV_lan is set to 1 by default?

 

Thank you in advance. 

Yes the container is initially set to be lan only, please read the discription in the template how to make it publicly available:


 

Quote

 

PUBLIC PLAY: If you want that your server is public listed you must add '+sv_setsteamaccount YOURTOKEN' to the GAME_PARAMS (without the quotes and replace YOURTOKEN with your token).

Create your token here: https://steamcommunity.com/dev/managegameservers (every gameserver needs it's own token!!!)

 

 

Link to comment

Yeah, I’m having it entered correctly as far as I can see.


These are my start up commands. I have changed few numbers in key. 

+game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount secret
 

Perhaps I should try another port completely different. 

 

 

Edited by jonathanm
Removed key
Link to comment
54 minutes ago, Fantomen said:

Yeah, I’m having it entered correctly as far as I can see.


These are my start up commands. I have changed few numbers in key. 

+game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount [secret]
 

Perhaps I should try another port completely different. 

 

 

Firstly please edit your post and delete your steam account key since everyone can use it and corrupt your account!

 

Have you changed the standard port? Is the server reachable from your LAN?

Did you change the ports through NAT in your router (the ports must be the same)?

Also if you change the port for the container please note that you must delete the old entry in the tamplate and create a completely new one.

Steam ports are a little bit complicated and they won't let you use NAT easily.

Link to comment

I have a problem with DST server that didn't happen before and the server won't start

 

---Update SteamCMD---
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.

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...OK.
Logging in user '****' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.

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...OK.
Logging in user '****' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) validating, progress: 5.63 (98789167 / 1754498226)
Update state (0x5) validating, progress: 11.94 (209530378 / 1754498226)
Update state (0x5) validating, progress: 18.43 (323299410 / 1754498226)
Update state (0x5) validating, progress: 25.00 (438686110 / 1754498226)
Update state (0x5) validating, progress: 32.75 (574554972 / 1754498226)
Update state (0x5) validating, progress: 45.06 (790511169 / 1754498226)
Update state (0x5) validating, progress: 57.63 (1011075233 / 1754498226)
Update state (0x5) validating, progress: 66.15 (1160680453 / 1754498226)
Update state (0x5) validating, progress: 79.17 (1388985624 / 1754498226)
Update state (0x5) validating, progress: 94.38 (1655963302 / 1754498226)
Success! App '343050' fully installed.
---Prepare Server---
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) validating, progress: 5.63 (98789167 / 1754498226)
Update state (0x5) validating, progress: 11.94 (209530378 / 1754498226)
Update state (0x5) validating, progress: 18.43 (323299410 / 1754498226)
Update state (0x5) validating, progress: 25.00 (438686110 / 1754498226)
Update state (0x5) validating, progress: 32.75 (574554972 / 1754498226)
Update state (0x5) validating, progress: 45.06 (790511169 / 1754498226)
Update state (0x5) validating, progress: 57.63 (1011075233 / 1754498226)
Update state (0x5) validating, progress: 66.15 (1160680453 / 1754498226)
Update state (0x5) validating, progress: 79.17 (1388985624 / 1754498226)
Update state (0x5) validating, progress: 94.38 (1655963302 / 1754498226)
Success! App '343050' fully installed.
---Prepare Server---
---Server ready---
---Checking for old logs---
---Start Server---
==> /serverdata/serverfiles/masterLog.0 <==
[00:00:00]: ~cEventLeaderboardProxy()
[00:00:00]: ~ItemServerLuaProxy()
[00:00:00]: ~InventoryLuaProxy()
[00:00:00]: ~NetworkLuaProxy()
[00:00:00]: ~SimLuaProxy()
[00:00:00]: lua_close took 0.00 seconds
[00:00:00]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager.
[00:00:00]: CurlRequestManager::ClientThread::Main() complete
[00:00:00]: HttpClient2 discarded 0 callbacks.
[00:00:00]: Shutting down

==> /serverdata/serverfiles/cavesLog.0 <==
[00:00:00]: ~cEventLeaderboardProxy()
[00:00:00]: ~ItemServerLuaProxy()
[00:00:00]: ~InventoryLuaProxy()
[00:00:00]: ~NetworkLuaProxy()
[00:00:00]: ~SimLuaProxy()
[00:00:00]: lua_close took 0.00 seconds
[00:00:00]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager.
[00:00:00]: CurlRequestManager::ClientThread::Main() complete
[00:00:00]: HttpClient2 discarded 0 callbacks.
[00:00:00]: Shutting down

and in masterLog/caveslog i get 

 

setrlimit: Operation not permitted
Warning: core dumps may be truncated or non-existent
[00:00:00]: PersistRootStorage is now /serverdata/.klei//DoNotStarveTogether/Cluster_1/Master/ 
[00:00:00]: Starting Up
[00:00:00]: Version: 385648
[00:00:00]: Current time: Fri Dec 13 15:20:24 2019

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: 616629363c3c
[00:00:00]: Release(Kernel) Version: 4.19.88-Unraid
[00:00:00]: Kernel Build Timestamp: #1 SMP Mon Dec 9 11:16:40 PST 2019
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 385648 LINUX
[00:00:00]: Build Date: 5580
[00:00:00]: Mode: 32-bit
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -shard Master 
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: THREAD - started 'GAClient' (687110976)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: Mounting file system databundles/klump.zip skipped.
[00:00:00]: Mounting file system databundles/shaders.zip skipped.
[00:00:00]: Mounting file system databundles/fonts.zip skipped.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip skipped.
[00:00:00]: Mounting file system databundles/bigportraits.zip skipped.
[00:00:00]: Mounting file system databundles/images.zip skipped.
[00:00:00]: Mounting file system databundles/scripts.zip skipped.
[00:00:00]: ProfileIndex:7.76
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: THREAD - started 'Ping Job Thread' (679521088)
[00:00:00]: Platform: 1
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: THREAD - started 'StreamInput' (676330304)
[00:00:00]: OnLoadPermissionList: /serverdata/.klei//DoNotStarveTogether/Cluster_1/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: /serverdata/.klei//DoNotStarveTogether/Cluster_1/adminlist.txt (Success)
[00:00:00]: OnLoadUserIdList: /serverdata/.klei//DoNotStarveTogether/Cluster_1/whitelist.txt (Failure)
[00:00:00]: Token retrieved from: /serverdata/.klei//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:00]: Token retrieved from: /serverdata/.klei//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: Renderer initialize: Okay
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile Could not load lua file scripts/main.lua
[00:00:00]: Error loading main.lua
[00:00:00]: Failed mSimulation->Reset()
[00:00:00]: Error during game initialization!
Updates 0Seconds elapsed: 0.0631316 fps:0
Saving Dedicated server data...
[00:00:00]: attempt to call a nil value
LUA ERROR stack traceback:
[00:00:00]: attempt to call a nil value
LUA ERROR stack traceback:
[00:00:00]: Collecting garbage...
[00:00:00]: lua_gc took 0.00 seconds
[00:00:00]: ~ShardLuaProxy()
[00:00:00]: ~cEventLeaderboardProxy()
[00:00:00]: ~ItemServerLuaProxy()
[00:00:00]: ~InventoryLuaProxy()
[00:00:00]: ~NetworkLuaProxy()
[00:00:00]: ~SimLuaProxy()
[00:00:00]: lua_close took 0.00 seconds
[00:00:00]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:00:00]: CurlRequestManager::ClientThread::Main() complete
[00:00:00]: HttpClient2 discarded 0 callbacks.
[00:00:00]: Shutting down

I tried removing all the mods i had, didn't help. Deleted serverfiles and cluster_1 and recreate the docker, still the same error. Last time i played it was september-october and it worked. The only new thing now is unraid 6.8.0 and the winter's feast DST update

Edited by vik2or
Link to comment
On 12/4/2019 at 9:25 AM, ich777 said:

I think i will drop support and the container including the repository on the CSMM container because it's a container from CSMM directly available, but i'm not 100% sure, can you try their container (since i've got no Discord or 7DtD itself it makes no sense for me to support it)?

So I finally got around to doing a VM with the CSMM program installed on an Unbuntu VM. It exhibits the same issues. So if you want to put the docker back of CSMM as yours as a lot simpler I think to setup, I'll still use it. I had no problems setting it up. If you want to keep it off docker hub, I understand that as well. Just wanted to let you know!

Link to comment
On 12/13/2019 at 4:28 PM, vik2or said:

I have a problem with DST server that didn't happen before and the server won't start

 

and in masterLog/caveslog i get 

 

I tried removing all the mods i had, didn't help. Deleted serverfiles and cluster_1 and recreate the docker, still the same error. Last time i played it was september-october and it worked. The only new thing now is unraid 6.8.0 and the winter's feast DST update

I've tested the docker and everything works just fine i also attached the log.

Log.txt

 

Is it possible that something with your savegame is wrong?

It also looks like the container can't download the main lua file.

Can you try to redownload it through the CA App and test if the vanilla Docker works?

Link to comment
3 hours ago, HellraiserOSU said:

So I finally got around to doing a VM with the CSMM program installed on an Unbuntu VM. It exhibits the same issues. So if you want to put the docker back of CSMM as yours as a lot simpler I think to setup, I'll still use it. I had no problems setting it up. If you want to keep it off docker hub, I understand that as well. Just wanted to let you know!

I will reactivate it soon.

  • Like 1
Link to comment
27 minutes ago, ich777 said:

I've tested the docker and everything works just fine i also attached the log.

Log.txt 16.56 kB · 0 downloads

 

Is it possible that something with your savegame is wrong?

It also looks like the container can't download the main lua file.

Can you try to redownload it through the CA App and test if the vanilla Docker works?

I deleted everything again, serverfiles, cluster_1 (which has the savefiles) even steamcmd this time and deleted the docker image too.  

 

The same error "DoLuaFile Could not load lua file scripts/main.lua" and main.lua exists in scripts.zip in data/databundles. Is like it can't read the zip file anymore. I tried unzipping scripts into data folder and it went past that but gave other zip errors (couldn't load fonts/ animations .. etc) 

Edited by vik2or
Link to comment
36 minutes ago, vik2or said:

I deleted everything again, serverfiles, cluster_1 (which has the savefiles) even steamcmd this time and deleted the docker image too.  

 

The same error "DoLuaFile Could not load lua file scripts/main.lua" and main.lua exists in scripts.zip in data/databundles. Is like it can't read the zip file anymore. I tried unzipping scripts into data folder and it went past that but gave other zip errors (couldn't load fonts/ animations .. etc) 

Please try the following:

Stop the docker and remove it completely, the delete the whole 'dontstarve' folder in your appdata directory.

After that, try to reinstall it from the CA App.

 

Can ot be that you've rebuild permissions im the unraid settings page or something?

Link to comment
17 minutes ago, ich777 said:

Please try the following:

Stop the docker and remove it completely, the delete the whole 'dontstarve' folder in your appdata directory.

After that, try to reinstall it from the CA App.

 

Can ot be that you've rebuild permissions im the unraid settings page or something?

I don't have any dontstarve files (except steamcmd) in appdata, i have a share with 2 folders, serverfiles and cluster for that.  I tried leaving the default paths but same error. 

I didn't use the rebuild permissions. I did move some files around from drive to drive with mc when i changed the cache SSD but that shouldn't affect the /mnt/user/... path or permisions. The dst files are set to nobody/users 777

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.