[Support] ich777 - Gameserver Dockers


Recommended Posts

On 1/8/2020 at 4:13 PM, ich777 said:

This should not happen. What exactly did you change? And did it overwrite it the confg everytime you restart the container?

Eventually hook me up with a PM what you exactly change and i will look into it. ;)

It should run perfectly fine since its downloaded about 15.000 times.

It probably is user error but what, exactly, I don't know. I didn't change anything in the initial docker install except add my steam account name, password, and set authentication to true. Otherwise all settings are the same.

 

And yes, once I turn off the docker, make changes to the config file, and then restart the docker, the config file is reset to its initial state. I assume that is what's going on with the web admin since the config file defaults to it being disabled.

Quote

Since i don't own the game i can't tell how to access the web admin panel (it was only tested if you can connect to it from 'outside' to the game from the requester - please understand that it's always hard to make a container for games that i don't personally own).

I'm not blaming you. :) I just hoped someone had the same issue and could point me in the right direction is all.

 

Update: Problem fixed. I removed my username and password and set authentication off and that resolved the problem.

Edited by thunderclap
Issue resolved
Link to comment

@thunderclap Please try to change the serverdir from '/mnt/cache/appdata/7dtd' to '/mnt/user/appdata/7dtd' eventually this can solve your problem, if it does please report back so i can change the template.

 

The only thing that the container really changes in the serverconfig is the Save and the User path (btw did you change this variable? eventually the container can't find the right file).

Link to comment

Hey, sorry if i'm just being super dumb...

I've got the csmm installed and I can launch it, configured nginx with the domain and stuff, the trouble is, when I try and authenticate using steam, the redirect when clicking login is taking me to https://<mydomain> rather than http://<mydomain>

Is there anyway to get the web UI to launch with https rather than http? I may well be wrong about this, but I think this will make the redirect work...

There may be something I can do using NGINX, but I'm not yet familiar enough with it to figure it out...

Any help is greatly appreciated! Cheers!

Link to comment
8 hours ago, WeAreTheDynamite said:

Hey, sorry if i'm just being super dumb...

I've got the csmm installed and I can launch it, configured nginx with the domain and stuff, the trouble is, when I try and authenticate using steam, the redirect when clicking login is taking me to https://<mydomain> rather than http://<mydomain>

Is there anyway to get the web UI to launch with https rather than http? I may well be wrong about this, but I think this will make the redirect work...

There may be something I can do using NGINX, but I'm not yet familiar enough with it to figure it out...

Any help is greatly appreciated! Cheers!

You can make a permanent redirection from your port 80 (http) to port 443 (https) within your nginx configuration.

Just do a quick google sear for something like: permanent redirect http to https in nginx

Then every traffic or request from port 80 or http will redirected to port 443 https

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

You can make a permanent redirection from your port 80 (http) to port 443 (https) within your nginx configuration.

Just do a quick google sear for something like: permanent redirect http to https in nginx

Then every traffic or request from port 80 or http will redirected to port 443 https

But if i redirect to https://<mydomain> the web ui fails to load as it's internal address is http://192.168.X.X:1337, so it will not load as a secure page...

As I said, I'm probably just being dumb here, and I am a complete noob to NGINX, but all of my testing has been unsuccessful...

Link to comment
14 minutes ago, WeAreTheDynamite said:

But if i redirect to https://<mydomain> the web ui fails to load as it's internal address is http://192.168.X.X:1337, so it will not load as a secure page...

As I said, I'm probably just being dumb here, and I am a complete noob to NGINX, but all of my testing has been unsuccessful...

Have you installed the LetsEncrypt container from @linuxserver.io if not, i recommend you to!

Make a reverse proxy with niginx, the LetsEncrypt container has a few examples in it.

Just look for nginx reverse proxy, sorry this weekend i'm not at home and i can't link you the right pages how to configure it properly.

 

You can create a subdomain and then reverse proxy it to the internal ip address with ssl enabled but also you must create a permanent redirection for all requests from http (port 80).

 

Please look at my github page and the DoH-Server i think there is something described or an example how it should look like.

github.com/ich777

Link to comment
8 hours ago, ich777 said:

Have you installed the LetsEncrypt container from @linuxserver.io if not, i recommend you to!

Make a reverse proxy with niginx, the LetsEncrypt container has a few examples in it.

Just look for nginx reverse proxy, sorry this weekend i'm not at home and i can't link you the right pages how to configure it properly.

 

You can create a subdomain and then reverse proxy it to the internal ip address with ssl enabled but also you must create a permanent redirection for all requests from http (port 80).

 

Please look at my github page and the DoH-Server i think there is something described or an example how it should look like.

github.com/ich777

I’m in! Cheers! 
Now to figure out how to use it! 
Thanks for your advice, much appreciated. 

Hope you have a pleasant weekend away from home. 👍🏻

  • Thanks 1
Link to comment

Couple of issues. How can I set resources for my server? I cant seem to set up number of cores, ram etc. This is thrashing my server on a single core. 

2nd. When I go to login to Conan Exiles I get "Incorrect Password" This is for the main password and the admin password.
To be honest I would prefer no password while I am setting this up locally before I deploy it
Thank you

 

 

eb83c39fb2a0d001fd19616f2ffed415.jpg

Edited by geekdomo
Link to comment
6 hours ago, geekdomo said:

Couple of issues. How can I set resources for my server? I cant seem to set up number of cores, ram etc. This is thrashing my server on a single core. 

2nd. When I go to login to Conan Exiles I get "Incorrect Password" This is for the main password and the admin password.
To be honest I would prefer no password while I am setting this up locally before I deploy it
Thank you

Just click on advanced settings in the template amd there you can allocate the cores, but why would you do that? Docker shares all system resources and also unraid manages so that you should have no slowdown of your server.

A container is not a VM...

The onitial password is 'Docker' and the admin password 'adminDocker' (without quotes) you can change that by editing your gameconfig file and restart the container.

Link to comment

I got some issues setting up the arma3 exile server.

Log:

---Setting umask to 000---
---Checking for old logs---
---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 'jsonch89' 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 'jsonch89' to Steam Public ...
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 'jsonch89' to Steam Public ...
Logged in OK
Waiting for user info...OK
Success! App '233780' already up to date.
---Starting MariaDB...---
---Checking for ExileMod---
---Checking if 'exile' database is connected correctly---
---Database not connected, connecting...---
ERROR at line 1: Failed to open file '/serverdata/serverfiles/data/MySQL/exile.sql', error: 2
---Something went wrong, could not connect database!---

I've tried to remove and reinstall several times but no difference.

i checked with shell and /data/mysql dosent exisist.

 

any clue what's up?

Link to comment
26 minutes ago, JsonC said:

I got some issues setting up the arma3 exile server.

Log:

I've tried to remove and reinstall several times but no difference.

i checked with shell and /data/mysql dosent exisist.

 

any clue what's up?

Yep, the ExileMod Server URL changed.

In the Docker template please click on advanced and change the server URL to: http://www.exilemod.com/ExileServer-1.0.4a.zip

But I would also recommend you to delete the exilemod folder in your appdata and the container completely redownload it from the CA App and change the URL.

 

At the time i'm doing a little code cleanup of all my containers and the ExileMod is one of the next containers that will get the update and then it will stop if it can't download a file (now it doesn't stop, it runns and loops over and over like in your case).

 

Also i changed the template file but it will be updated in a few hours.

Edited by ich777
  • Thanks 1
Link to comment

I'm having a problem since the latest update, My FTB server won't start. gives me the following error:

 

---Setting umask to 000---
---Checking for 'runtime' folder---
---'runtime' folder found---
---Checking if Runtime is installed---
---Runtime found---
---Checking for Minecraft Server executable ---
---Minecraft Server executable found---
---Preparing Server---
---Checking for 'server.properties'---
---'server.properties' found...
---Checking for old logs---
---Starting Server---
---Waiting for logs, please stand by...---
Cannot exec '/serverdata/serverfiles/runtime/jre1.8.0_211': Permission denied

 

Strange thing is I'm using jre1.8.0_241 

Link to comment
3 hours ago, sloob said:

I'm having a problem since the latest update, My FTB server won't start. gives me the following error:

 


---Setting umask to 000---
---Checking for 'runtime' folder---
---'runtime' folder found---
---Checking if Runtime is installed---
---Runtime found---
---Checking for Minecraft Server executable ---
---Minecraft Server executable found---
---Preparing Server---
---Checking for 'server.properties'---
---'server.properties' found...
---Checking for old logs---
---Starting Server---
---Waiting for logs, please stand by...---
Cannot exec '/serverdata/serverfiles/runtime/jre1.8.0_211': Permission denied

 

Strange thing is I'm using jre1.8.0_241 

Have you got two different folders in the runtime folder? Please note that it will always take the first (oldest java if there are more folders in it), please post a picture of your minecraft folder structure and also from your template in unraid.

 

Have you also updated the container itself? If not please try to update it.

Edited by ich777
Link to comment
14 minutes ago, ich777 said:

Have you got two different folders in the runtime folder? Please note that it will always take the first (oldest java if there are more folders in it), please post a picture of your minecraft folder structure and also from your template in unraid.

 

Have you also updated the container itself? If not please try to update it.

You were absolutely right! it works now! 1000 thanks!

  • Thanks 1
Link to comment
5 hours ago, Arandomdood said:

What's the root password for the MinecraftBasicServer docker? I need to change the server.properties file.

There is no root password for the minecraft container, just open a unRAID terminal (not from the container) and type in: 'docker exec -ti --user root MinecraftBasicServer /bin/bash' (without quotes and replace the MinecraftBasicServer with your containername).

 

Also you don't have to be root to change it!

 

Can't you just access ot from the smb share and change it?

Link to comment
17 minutes ago, Cornflake said:

Hey what have been changed in this container update? since that i cannot start more than one GMod Server ?! 

 

greets

Nothing has changed except the distribution of the container, is it possible that there is a port conflict or something with other containers?

Tested and should all work just fine ;)

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

Would it be possible to make a docker for space enginners?

Nope, since this is a game with linux don't in mind (this is a pure Windows game), even not with WINE since there are so much Windows librarys needed that are not available for WINE or not working with WINE.

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

Nope, since this is a game with linux don't in mind (this is a pure Windows game), even not with WINE since there are so much Windows librarys needed that are not available for WINE or not working with WINE.

oh okay.

how would you recomend to host such a server?

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.