7 Days to Die Server Installation

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Ahh yes, probably another question that would be so easy for you to answer as you are so familiar with the topic yet you are reluctant to do so because you have answered it, probably, so many times to other, well, not so search-savvy n00bs!

Hey, I know how it is...I get to answer so many questions in my field of expertise - where most of them are like - really? You don't know how to do that?! - but I do so anyways because, well, we are all on our levels in different areas and must begin somewhere.

CORE to SCALE went excellent. The Pool - check. Plex data - check. Nvidia HW transcoding on Plex - check. Emby - check. Handbrake - check. iSCSI transfer - check. You guys must be doing something right here - everything transitioned smoothly for me!

Kidding aside though! I have be attempting to get a steamcmd game server going on my server for a few hours now and have caved - I need (or want, I suppose?) your help!

How does one go about taking the information from the link below to getting it running on their SCALE installation?

I've tried the Pull Image button and Launch Docker Image button all whilst following through the instructions as laid out in the link below.

I can get the application to run however there is no game server - what am I doing wrong? I've never done the Docker thing outside of pressing the 'ol install button and the magic happens and things work.

TIA!
 
Last edited:

stavros-k

Patron
Joined
Dec 26, 2020
Messages
231
First things first :) Docker in scale is not like the docker you probably know.
It uses the docker images only, the underlying system is kubernetes and helm. When using the Launch docker button, it just converts it to a helm chart for kubernetes.

I'm happy handbrake is working for you *assuming you used if from our catalog TrueCharts* (as i'm the maintainer!) and the other apps of course! In case you have any problems with the apps let us know in our channels (discord, github), you can find the on https://truecharts.org/

Now about your steamcmd not working correctly, I can't really help without looking into logs, but i can suggest making an App request in our github, and if a maintainer show up and want to add it, you will have it ready to deploy with minor settings :)
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Thanks Stav.

I did log onto the TrueCharts Discord however I see things are locked right down. I sent a DM to @ornias, I'm sure he'll add me at some point (maybe?).

I would like to request some Steam Game Servers, primarily one for 7 Days to Die. I believe it may require steamcmd to be installed as well. As mentioned above, I don't know much about the manual install of docker images and whatnot. I wonder if ich777 on GIT would be interested in setting these items up for SCALE, like he does for Unraid.
 

stavros-k

Patron
Joined
Dec 26, 2020
Messages
231
I did log onto the TrueCharts Discord however I see things are locked right down. I sent a DM to @ornias, I'm sure he'll add me at some point (maybe?).

Just wait about 10min, its an anti-bot / spam system :)

I would like to request some Steam Game Servers, primarily one for 7 Days to Die. I believe it may require steamcmd to be installed as well. As mentioned above, I don't know much about the manual install of docker images and whatnot. I wonder if ich777 on GIT would be interested in setting these items up for SCALE, like he does for Unraid.


That would be nice if he did contribute on truecharts, but it needs enough customizing to get them into scale. Which might keep people away.
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
That would be nice if he did contribute on truecharts, but it needs enough customizing to get them into scale. Which might keep people away.

I've been messaging back and forth with him and it sounds like he is a busy man and will not have the time to be able to contribute.

He did say that it may be possible to make his contributions work in Kubernetes but doesn't have the time to verify, nor does he really play around with it or Truenas. Makes sense, since he's developing the stuff to work on Unraid. I don't have the knowledge to attempt it beyond running through the automated processes that I tried last night (Pull Image and Launch Docker Image buttons).
 

ksimm1

Dabbler
Joined
Dec 7, 2020
Messages
42
How does one go about taking the information from the link below to getting it running on their SCALE installation?

TIA!

With the caveat that I have no clue about game servers, I was able to use the docker link you provided and spin up the game server using the "Launch Docker Image" button. So if you don't want to wait on the truecharts maintainers to add the app, you can go that route.

I wish there were an easier way to paste the config of an app, but hopefully these screen captures get you started...
Screen Shot 2021-06-26 at 1.18.23 PM.png

Env variables can get mapped like this:
Screen Shot 2021-06-26 at 1.18.57 PM.png


on the docker compose it typically corresponds to
NodePort:ContainerPort in the config (note the separate TCP and UDP protocols).
Screen Shot 2021-06-26 at 1.20.28 PM.png


For the ports below 9000, keep the container port the same and change the node port like this:
Screen Shot 2021-06-26 at 1.30.44 PM.png



Volumes can be mapped as host path if you want to use an existing folder on your system or

contained within the app from scratch with Volumes (as shown here)
Screen Shot 2021-06-26 at 1.20.53 PM.png


once it's run it looks like it needs you to modify the XML settings if you want to enable the webmin portal, so if you use the volumes like in the screen capture it's located here:
/mnt/YOURPOOL/ix-applications/releases/sevendtd-server/volumes/ix_volumes/serverfiles/sdtdserver.xml

change from false to true:
<property name="ControlPanelEnabled" value="true"/>

Restart the container and from the webmin portal at http://YourHostIPAddress:9080 after it's started:
Screen Shot 2021-06-26 at 1.29.24 PM.png
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Thank you for taking the time to test and write this up!

I previously did everything above with the exception of the 8081 and 8082 ports. Maybe volume locations were a little different too.

I'll give it a try!
 
Last edited:

ksimm1

Dabbler
Joined
Dec 7, 2020
Messages
42
My comment about below 9000 is referring to a constraint from truenas (mentioned in their docs) nothing specific to the sdtd install:
"TrueNAS SCALE requires all Node Ports to be above 9000."

As to your question about 8081/8082, I just entered all the ports listed on the docker page, I have no idea how they're used. But it shows them as optional in the page.
Screen Shot 2021-06-26 at 2.06.44 PM.png
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
I saw those optional ports and modified my post afterwards....sorry!

I know how those ports are used, just administrative stuff for moderating the game etc.

It seems to still be deploying...did yours take a while?

It does created the folders, though, nothing in them.
 

Attachments

  • Capture.PNG
    Capture.PNG
    11.5 KB · Views: 329

ksimm1

Dabbler
Joined
Dec 7, 2020
Messages
42
I saw those optional ports and modified my post afterwards....sorry!

I know how those ports are used, just administrative stuff for moderating the game etc.

It seems to still be deploying...did yours take a while?

It does created the folders, though, nothing in them.

It's probably stuck on something if it is still showing deploying (perhaps your network interface or permissions issue or something else). Take a look at the logs from the scale UI and see if you can figure out what's going on:
Screen Shot 2021-06-26 at 2.14.45 PM.png
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
The logs are not pulling anything up...just a black screen.

Attaching some screenshots of my settings...maybe something stands out to you?
 

Attachments

  • env1.PNG
    env1.PNG
    27.7 KB · Views: 391
  • env2.PNG
    env2.PNG
    28.8 KB · Views: 397
  • ports 1.PNG
    ports 1.PNG
    20 KB · Views: 349
  • ports 2.PNG
    ports 2.PNG
    17.7 KB · Views: 407
  • vol1.PNG
    vol1.PNG
    25.4 KB · Views: 365
  • vol2.PNG
    vol2.PNG
    21.9 KB · Views: 394

ksimm1

Dabbler
Joined
Dec 7, 2020
Messages
42
change your volume mount paths to remove the "backups:" and "LGSM-config:" etc
the mount path in my screencapture above started with /home
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
You might be on to something with the permissions. I am unable to get a VM to boot up either because of an error about the VM Drive being unavailable.

Is there something that I could have missed when I imported the pool from CORE?

Ok. So deleting those items at the beginning of each path seems to have allowed it to start!

Logs shows it's doing something!

...Standby!...

It starts but is not creating the world. I will have to try out some other stuff for that portion of it. Thanks for the help!

I'll update when I have it fully operational.
 
Last edited:

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
I am unable to connect to the webadmin area - it seems it is getting the following networking parameters:
[94mWeb Admin url: [0mhttp://172.16.0.53:8080

The host IP is 192.168.254.50...do you know why it would be obtaining the IP above?
 

ksimm1

Dabbler
Joined
Dec 7, 2020
Messages
42
It's attempting to map like this:
Container http://172.16.0.53:8080 -> Node(Host) http://192.168.254.50:9080

the 172.16.xxx.xx is the internal container ip that you can ignore for this setup.

Confirm that the container port 8080 / nodeport 9080 mapping is configured in your settings (i didn't see it in your screencaptures), then try going to http://192.168.254.50:9080 in your browser.

(also make sure you modified that line in the XML file i mentioned in the earlier post)
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
With the caveat that I have no clue about game servers, I was able to use the docker link you provided and spin up the game server using the "Launch Docker Image" button. So if you don't want to wait on the truecharts maintainers to add the app, you can go that route.

I wish there were an easier way to paste the config of an app, but hopefully these screen captures get you started...
View attachment 47991
Env variables can get mapped like this:
View attachment 47992

on the docker compose it typically corresponds to
NodePort:ContainerPort in the config (note the separate TCP and UDP protocols).
View attachment 47993

For the ports below 9000, keep the container port the same and change the node port like this:
View attachment 47996


Volumes can be mapped as host path if you want to use an existing folder on your system or

contained within the app from scratch with Volumes (as shown here)
View attachment 47994

once it's run it looks like it needs you to modify the XML settings if you want to enable the webmin portal, so if you use the volumes like in the screen capture it's located here:
/mnt/YOURPOOL/ix-applications/releases/sevendtd-server/volumes/ix_volumes/serverfiles/sdtdserver.xml

change from false to true:
<property name="ControlPanelEnabled" value="true"/>

Restart the container and from the webmin portal at http://YourHostIPAddress:9080 after it's started:
View attachment 47995

Would you be able to offer a screenshot of the network settings portion of it? I cannot get a good IP to establish. It keeps going to 0.0.0.0:8080 now.
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
It's attempting to map like this:
Container http://172.16.0.53:8080 -> Node(Host) http://192.168.254.50:9080

the 172.16.xxx.xx is the internal container ip that you can ignore for this setup.

Confirm that the container port 8080 / nodeport 9080 mapping is configured in your settings (i didn't see it in your screencaptures), then try going to http://192.168.254.50:9080 in your browser.

(also make sure you modified that line in the XML file i mentioned in the earlier post)

I didn't see this reply come through. I did set it up as advised however it is unable to connect.
 

Attachments

  • ports.PNG
    ports.PNG
    18.4 KB · Views: 414

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Got it!

So apparently, I had to try one of the other IP addresses of my server (have 4 of them plugged in - 2x10g & 2xgigabit). Silly.

Thanks!
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Is there a way to run Docker-Compose script and have it import the app into the UI at the same time? So if you run the yml file via shell, will the app automatically be added to the Apps area in the SCALE UI?
 

Dorbiman

Cadet
Joined
Jul 31, 2023
Messages
1
With the caveat that I have no clue about game servers, I was able to use the docker link you provided and spin up the game server using the "Launch Docker Image" button. So if you don't want to wait on the truecharts maintainers to add the app, you can go that route.

I wish there were an easier way to paste the config of an app, but hopefully these screen captures get you started...
View attachment 47991
Env variables can get mapped like this:
View attachment 47992

on the docker compose it typically corresponds to
NodePort:ContainerPort in the config (note the separate TCP and UDP protocols).
View attachment 47993

For the ports below 9000, keep the container port the same and change the node port like this:
View attachment 47996


Volumes can be mapped as host path if you want to use an existing folder on your system or

contained within the app from scratch with Volumes (as shown here)
View attachment 47994

once it's run it looks like it needs you to modify the XML settings if you want to enable the webmin portal, so if you use the volumes like in the screen capture it's located here:
/mnt/YOURPOOL/ix-applications/releases/sevendtd-server/volumes/ix_volumes/serverfiles/sdtdserver.xml

change from false to true:
<property name="ControlPanelEnabled" value="true"/>

Restart the container and from the webmin portal at http://YourHostIPAddress:9080 after it's started:
View attachment 47995
I apologize for the necro, but I've got the server up and running, but I don't know how to edit the server xml file to enable the webadmin portal. How would I go about doing this?
 
Top