[Support] ich777 - Gameserver Dockers


Recommended Posts

37 minutes ago, ich777 said:

It sounds like a redirection error.

A few post above you mentioned that your URL is: "http://csmm.personalised.duckdns.org"

I was using that as an example only. everything is set to csmm.xg-gaming.duckdns.org

2020-05-20 14_55_53-Steam Community __ Steam Web API Key.png

2020-05-20 14_52_04-Lupus_UpdateContainer.png

2020-05-20 14_52_50-Nginx Proxy Manager.png

2020-05-20 14_53_09-Nginx Proxy Manager.png

2020-05-20 14_54_24-Nginx Proxy Manager.png

2020-05-20 14_54_52-Lupus_Docker.png

Edited by Natcoso9955
Added screenshots
Link to comment
8 hours ago, EmilionDK said:

Hi And thank you for the good work you do :) 


The Terraria-TShock Docker I'm trying to run version 1.4.0.2 but it doesn't pick up the latest version of TShock (v4.4.0-pre3) and Terraria

(The Game Version variable is set to: 1.4.0.2)

 

The log:


TShock 4.3.26.0 (Mintaka) now running.
AutoSave Enabled
Backups Disabled
Welcome to TShock for Terraria. Initialization complete.
[Server API] Info Plugin TShock v4.3.26.0 (by The TShock Team) initiated.
Terraria Server v1.3.5.3


And If I manually overwrite the files it fails


So my question is
Is it possible to choose the TShock version yourself with a variable? 

 

Looked into this, the container pulls only official releases and 4.3.26.0 is the latest official release the following version are 'Pre-Releases' and that's why the container won't pull it.

You should be able to update it manually by simply placing the files in your serverfolder.

Link to comment
4 hours ago, ich777 said:

In the template try 'http' instead of 'https'.

I changed to http, and also removed the cert from proxy ( and obviously removed the force SSL), still getting 502 error.

 

This is the address that is generated after clicking signin on steam. (i have broken each & parameter into a new line for easier reading) obviously as this comes from steam, this would be the default url generated by steam when a website has a signin with steam module, but even this appears to be going to the correct address (unless for some reason the return to is wrong, http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn = http://csmm.xg-gaming.duckdns.org/auth/steam/return)

 

https://steamcommunity.com/openid/login?openid.mode=checkid_setup&
openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&
openid.sreg.optional=nickname%2Cemail%2Cfullname%2Cdob%2Cgender%2Cpostcode%2Ccountry%2Clanguage%2Ctimezone&
openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&
openid.ax.mode=fetch_request&
openid.ax.type.fullname=http%3A%2F%2Faxschema.org%2FnamePerson&
openid.ax.type.firstname=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&
openid.ax.type.lastname=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast&
openid.ax.type.email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&
openid.ax.required=fullname%2Cfirstname%2Clastname%2Cemail&
openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&
openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&
openid.return_to=http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn&
openid.realm=http%3A%2F%2Fcsmm.xg-gaming.duckdns.org

This is the url from the CSMM page with 502 error:

(again broken on & parameter for easier reading)

http://csmm.xg-gaming.duckdns.org/auth/steam/return?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
openid.mode=id_res&
openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&
openid.claimed_id=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&
openid.identity=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&
openid.return_to=http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn&
openid.response_nonce=2020-05-20T10%3A43%3A26Z%2FzpafCztUT7dwGhsbHr2LuGINps%3D&
openid.assoc_handle=1234567890&
openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&
openid.sig=LsOyR7DyYTAZ1CyyF8S%2BooV5T4U%3D

 

Link to comment
11 hours ago, ich777 said:

Looked into this, the container pulls only official releases and 4.3.26.0 is the latest official release the following version are 'Pre-Releases' and that's why the container won't pull it.

You should be able to update it manually by simply placing the files in your serverfolder.

I don't get that to work. If I place the latest version manually in the server folder and start the container it reverts it to v1.3.5.3.

If I then place the latest version again in the server folder and by doing so overwriting what the container did when it startet, the container failes when it is started the second time.

Link to comment
1 hour ago, LordShaaver said:

I don't get that to work. If I place the latest version manually in the server folder and start the container it reverts it to v1.3.5.3.

If I then place the latest version again in the server folder and by doing so overwriting what the container did when it startet, the container failes when it is started the second time.

From what the latest version? The game itself? Have you set the Prefered Version to 1.4.0.2 otherwise it won't work...

Link to comment
9 hours ago, Natcoso9955 said:

I changed to http, and also removed the cert from proxy ( and obviously removed the force SSL), still getting 502 error.

 

This is the address that is generated after clicking signin on steam. (i have broken each & parameter into a new line for easier reading) obviously as this comes from steam, this would be the default url generated by steam when a website has a signin with steam module, but even this appears to be going to the correct address (unless for some reason the return to is wrong, http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn = http://csmm.xg-gaming.duckdns.org/auth/steam/return)

 

This is the url from the CSMM page with 502 error:

(again broken on & parameter for easier reading)

 

Sorry i've tried this with my domainname and it works flawlessly.

But i also use the Let's Encrypt container from Linuxserver.io with a reverse proxy.

Link to comment
10 minutes ago, ich777 said:

From what the latest version? The game itself? Have you set the Prefered Version to 1.4.0.2 otherwise it won't work...

These are the steps I took.

 

1. The variable "Game version" inside the docker template is set to 1.4.0.2

2. I downloaded Terraria Server 1.4.0.2 from https://terraria.gamepedia.com/Server#Downloads and extracted the content into the docker folder.

3. I downloaded TShock 4.4.0 Pre-release 4 for Terraria 1.4.0.2 from https://github.com/Pryaxis/TShock/releases and extracted that into the docker folder and overwrote the TerrariaServer.exe file that came with the "Terraria Server 1.4.0.2" zip file. The Terraria version I choosed was the Linux based one.

4. Started the container and the log showsed the old server version and when I try to access the terraria server with Terraria I get a message saying I'm using the wrong version. The Terraria client version I'm using is the 1.4.0.2 version.

Link to comment
1 hour ago, LordShaaver said:

These are the steps I took.

 

1. The variable "Game version" inside the docker template is set to 1.4.0.2

2. I downloaded Terraria Server 1.4.0.2 from https://terraria.gamepedia.com/Server#Downloads and extracted the content into the docker folder.

3. I downloaded TShock 4.4.0 Pre-release 4 for Terraria 1.4.0.2 from https://github.com/Pryaxis/TShock/releases and extracted that into the docker folder and overwrote the TerrariaServer.exe file that came with the "Terraria Server 1.4.0.2" zip file. The Terraria version I choosed was the Linux based one.

4. Started the container and the log showsed the old server version and when I try to access the terraria server with Terraria I get a message saying I'm using the wrong version. The Terraria client version I'm using is the 1.4.0.2 version.

Step 2 isn't necessarry, this older 'release' build of TShock reports every build as 1.3.5.3

 

Don't use the linux build, this server is based on windows because TShock is not 'really' compatible with linux.

I think the newer build is not compatible with my mono version but it could also be a general issue (keep in mind this is a pre-release as it on github say's).

Link to comment

Okay so i think i found the issue, just testing it now. So in the docker container it asks for a mariadb port, by default this is 3306, however i had a mariadb already running on that port so i changed the container setting to 3307. However looking csmm log its still trying to go to 3306.

{ host: 'localhost',
port: 3306,
schema: true,
adapter: 'sails-mysql',
url: 'mysql2://csmm:csmm7dtd@127.0.0.1:3306/7dtd',
identity: 'default' } } }

I am now swapping existing instance to 3307, and leaving csmm on 3306 and seeing what happens, however is this possibly a bug in the container config?

Okay i dont think it made any difference attached is what im seeing in the log after a fresh install including clearing the appdata. honestly cant understand why this is not working.

 

NOTE: after this first boot, the log never has this info, but always has:

 

---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Starting MariaDB...---
---Starting Redis Server---
---Checking if CSMM is installed---
---CSMM found---
---Prepare Server---
---Configuring Redis---
OK
OK
Background saving started
---Checking for old logs---
---Configuring CSMM---
---Checking if Databse is present---
---Database found, injecting, please wait---

csmm.log

Edited by Natcoso9955
Link to comment

I'm trying to figure out how to update the Terraria server, I set it to be version 1.4.0.3 (officially released yesterday) and restarted it but it stays on 1.4.0.2. Can you help me figure out how to update it? Here is part of the log:


---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...---
------------------------------------------------------------------------------------
---------------------------------W A R N I N G--------------------------------------
---The variable Prefered Version doesn't work anymore for Version 1.4.0.2 and up----

---The conatainer will always pull the latest version if set to 1.4.0.2 or higher---

------------------------------------------------------------------------------------
---Version Check---

---Terraria Version up-to-date---

---Prepare Server---
---Server ready---
---Checking for old logs---
---Start Server---
Error Logging Enabled.

[?1h=[6n[H[JTerraria Server v1.4.0.2

 

Link to comment
17 hours ago, Natcoso9955 said:

What settings did you use?

And your saying you can sign-in with steam and it redirects back to csmm?

Yes it's working fine, I use my domain with http:// and I've made a custum subdomain for cssm.

Eventually @Spectral Force can help, he uses this container.

You don't have to use an external database, please try it with the built in.

 

1 hour ago, box said:

I'm trying to figure out how to update the Terraria server, I set it to be version 1.4.0.3 (officially released yesterday) and restarted it but it stays on 1.4.0.2. Can you help me figure out how to update it? Here is part of the log:

 

Please update the container, i've released a fix and it should now work. This game drive me nuts... (they recently changed a few things and this ruined my version check).

Link to comment
6 hours ago, ich777 said:

Yes it's working fine, I use my domain with http:// and I've made a custum subdomain for cssm.

Eventually @Spectral Force can help, he uses this container.

You don't have to use an external database, please try it with the built in.

I wasnt trying with an external, i have MariaDB setup for a completely different docker.

Also im fairly sure something is not being removed properly as now a fresh install fails to load the webpage completely.

 

Plan for today is to completely strip mariadb from unraid, and clear appdata, and try and manually go through your docker steps.

 

As you said, hopefully Spectral can eventually comment, It would be good to have step by step guides created (happy to help) for this dockers that are not so straight forward.

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

I wasnt trying with an external, i have MariaDB setup for a completely different docker.

Also im fairly sure something is not being removed properly as now a fresh install fails to load the webpage completely.

 

Plan for today is to completely strip mariadb from unraid, and clear appdata, and try and manually go through your docker steps.

 

As you said, hopefully Spectral can eventually comment, It would be good to have step by step guides created (happy to help) for this dockers that are not so straight forward.

You can try their container too but @Spectral Force said that this container is easier to use as the container directly from CSMM.

 

This is pretty simple, download it from the CA app, make a SteamAPI key, enter the SteamAPI key and your URL, create a Proxy redirection to Port 80 or 443 to the outside world and go to the web panel (also don't forget to open port 80 or 443 on your router).

Link to comment

Okay, so after removing mariaDB docker (and appdata) and CSMM (and appdata), absolute brand new grab seems to be working, well working in that i can atleast get to the webpage.

 

I decided to do some digging, in the logs to see whats going on, im still not sure if its an nginx problem or not. I opened the nginx file to see how the code looked backend, and reverse proxy now set to include the location "/" with extra settings. (this may have been what fixed the webpage)

 

Stilling getting error, and nginx log suggests its a timeout somewhere:

2020/05/22 13:27:06 [error] 5821#5821: *200 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.1, server: csmm.xg-gaming.duckdns.org, request: "GET /auth/steam/return?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&openid.identity=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&openid.return_to=http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn&openid.response_nonce=2020-05-22T03%3A55%3A06ZuqnNtHZGyjwcvL5Kz8P9ietu634%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=WNR0DE%2FhzbHBxNNdcFbOdlwasXw%3D HTTP/1.1", upstream: "http://192.168.1.129:1337/auth/steam/return?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&openid.identity=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&openid.return_to=http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn&openid.response_nonce=2020-05-22T03%3A55%3A06ZuqnNtHZGyjwcvL5Kz8P9ietu634%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=WNR0DE%2FhzbHBxNNdcFbOdlwasXw%3D", host: "csmm.xg-gaming.duckdns.org"

Which lines up with the individual proxy log

[22/May/2020:13:21:04 +0930] - 304 304 - GET http csmm.xg-gaming.duckdns.org "/" [Client 192.168.1.1] [Length 0] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
[22/May/2020:13:21:06 +0930] - 500 500 - GET http csmm.xg-gaming.duckdns.org "/api/stats" [Client 192.168.1.1] [Length 21] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "http://csmm.xg-gaming.duckdns.org/"
[22/May/2020:13:21:10 +0930] - 304 304 - GET http csmm.xg-gaming.duckdns.org "/" [Client 192.168.1.1] [Length 0] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "http://csmm.xg-gaming.duckdns.org/"
[22/May/2020:13:21:10 +0930] - 101 101 - GET http csmm.xg-gaming.duckdns.org "/socket.io/?__sails_io_sdk_version=1.1.13&__sails_io_sdk_platform=browser&__sails_io_sdk_language=javascript&EIO=3&transport=websocket" [Client 192.168.1.1] [Length 96] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
[22/May/2020:13:21:11 +0930] - 500 500 - GET http csmm.xg-gaming.duckdns.org "/api/stats" [Client 192.168.1.1] [Length 21] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "http://csmm.xg-gaming.duckdns.org/"
[22/May/2020:13:24:58 +0930] - 302 302 - GET http csmm.xg-gaming.duckdns.org "/auth/steam" [Client 192.168.1.1] [Length 0] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "http://csmm.xg-gaming.duckdns.org/"
[22/May/2020:13:24:59 +0930] - 101 101 - GET http csmm.xg-gaming.duckdns.org "/socket.io/?__sails_io_sdk_version=1.1.13&__sails_io_sdk_platform=browser&__sails_io_sdk_language=javascript&EIO=3&transport=websocket" [Client 192.168.1.1] [Length 120] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
[22/May/2020:13:27:06 +0930] - 502 502 - GET http csmm.xg-gaming.duckdns.org "/auth/steam/return?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&openid.identity=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198024157322&openid.return_to=http%3A%2F%2Fcsmm.xg-gaming.duckdns.org%2Fauth%2Fsteam%2Freturn&openid.response_nonce=2020-05-22T03%3A55%3A06ZuqnNtHZGyjwcvL5Kz8P9ietu634%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=WNR0DE%2FhzbHBxNNdcFbOdlwasXw%3D" [Client 192.168.1.1] [Length 568] [Gzip -] [Sent-to 192.168.1.129] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"

So looking in CSMM log, im 99% sure issue is with database. @ich777 should i be able to access db outside of the docker? ie using adminer docker?
Because i dont seem to be able to.

2020-05-22T04:47:45.130Z - warn: Error during steam auth!
2020-05-22T04:47:45.130Z - error:  message=Unexpected error from database adapter: ER_NO_SUCH_TABLE: Table '7dtd.user' doesn't exist, name=AdapterError, name=AdapterError, adapterMethodName=find, modelIdentity=user, code=ER_NO_SUCH_TABLE, errno=1146, sqlMessage=Table '7dtd.user' doesn't exist, sqlState=42S02, index=0, sql=select `createdAt`, `updatedAt`, `id`, `steamId`, `discordId`, `username`, `avatar`, `admin`, `banned` from `user` where `steamId` = '76561198024157322' limit 2, isOperational=true, stack=AdapterError: Unexpected error from database adapter: ER_NO_SUCH_TABLE: Table '7dtd.user' doesn't exist
    at Deferred._.extend._WLModel [as _handleExec] (/csmm-7dtd/CSMM/node_modules/waterline/lib/waterline/methods/find-or-create.js:220:15)
    at Deferred.exec (/csmm-7dtd/CSMM/node_modules/parley/lib/private/Deferred.js:286:10)
    at Deferred.tryCatcher (/csmm-7dtd/CSMM/node_modules/bluebird/js/release/util.js:11:23)
    at ret (eval at makeNodePromisifiedEval (/csmm-7dtd/CSMM/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:14:23)
    at Deferred.toPromise (/csmm-7dtd/CSMM/node_modules/parley/lib/private/Deferred.js:572:19)
    at Deferred.then (/csmm-7dtd/CSMM/node_modules/parley/lib/private/Deferred.js:431:22)
    at process._tickCallback (internal/process/next_tick.js:68:7), adapterMethodName=find, modelIdentity=user, $ref=$["cause"]["raw"]

I have connected via the console and can see that the database is missing all the tables that it failed to inject. So the issue is with CSMM and how it tries to put data into the database.

MariaDB [7dtd]> use 7dtd;
Database changed
MariaDB [7dtd]> show tables;
+---------------------------+
| Tables_in_7dtd            |
+---------------------------+
| analytics                 |
| banentry                  |
| commandreply              |
| countryban                |
| cronjob                   |
| customcommand             |
| customcommandargument     |
| customdiscordnotification |
| customhook                |
| gblcomment                |
| gimmeitem                 |
| historicalinfo            |
| hookvariable              |
| player                    |
| playerclaimitem           |
| playerteleport            |
| playerusedcommand         |
| playerusedgimme           |
| role                      |
| sdtdconfig                |
| sdtdserver                |
+---------------------------+
21 rows in set (0.000 sec)

So I decided to look through the start.sh, which pointed to start-server.sh
Looking in here, i found the command to insert data into the database. (modified with full folder path below)

mysql -u "csmm" -p"csmm7dtd" 7dtd < csmm-7dtd/Database/7dtd.sql

When you run this manually you get an error.

ERROR 1064 (42000) at line 389: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHARS' at line 13

So i decided to rename the 7dtd.sql file and let it recreate.
However this time it is missing player and some other tables.

I think the timeout needs to be changed in the start-server.sh script, and/or how its set, as per below its using depreciated code.

(node:248) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.
(node:248) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.

Im going to assume that if it times out creating all the tables in DB then it doesnt work.

 

Link to comment
17 minutes ago, Natcoso9955 said:

 


(node:248) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.
(node:248) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.

Im going to assume that if it times out creating all the tables in DB then it doesnt work.

 

Sorry i can't help, i've tried it now and it works fine from my server and also from outside, SteamAPI registration also works fine and Steam can connect to my server.

 

For the above issue this is a CSMM thing and has nothing to do with the start script (allready opened a issue on github):

https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/issues/38

 

My thought is that something with your proxy is wrong, as i said i use the let's encrypt container from linuxserver.io and everything is working fine.

it can also be the issue that you have a subdomain of a subdomain, in my case i have http://csmm.example.at and this works fine.

Can you access the site from outside? Also please note that you must configure CSMM from the outside domain and not from your internal address.

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

Sorry i can't help, i've tried it now and it works fine from my server and also from outside, SteamAPI registration also works fine and Steam can connect to my server.

 

For the above issue this is a CSMM thing and has nothing to do with the start script (allready opened a issue on github):

https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/issues/38

 

My thought is that something with your proxy is wrong, as i said i use the let's encrypt container from linuxserver.io and everything is working fine.

it can also be the issue that you have a subdomain of a subdomain, in my case i have http://csmm.example.at and this works fine.

Can you access the site from outside? Also please note that you must configure CSMM from the outside domain and not from your internal address.

Your not understanding. This issue has nothing to do with proxy.

 

The database is incomplete and as such the command gets dropped by csmm. can you do me a favour, upload you 7dtd.sql file located in data_dir/Database.

 

dont worry it doesnt actually contain you data, just how the database tables are configured. I think the issue may be with CSMM, but thats coming from the call:

echo "---Checking if Databse is present---"
if [ -f ${DATA_DIR}/Database/7dtd.sql ]; then
        echo "---Database found, injecting, please wait---"
        mysql -u "csmm" -p"csmm7dtd" 7dtd < ${DATA_DIR}/Database/7dtd.sql
    export NODE_ENV=production
else
        echo "--------------------------------------------------------------"
        echo "---Please wait initializing CSMM this will take ~60 seconds---"
    echo "-------the CSMM will restart automatically after that it------"
    echo "--------------------------------------------------------------"
    sleep 5
    cd ${DATA_DIR}/CSMM
    timeout 60 nodejs ${DATA_DIR}/CSMM/app.js
export NODE_ENV=production
fi

This. This is not exporting correctly to the 7dtd.sql file, everytime i delete and restart the container, it recreates and has different missing tables.

Edited by Natcoso9955
Link to comment
22 minutes ago, Natcoso9955 said:

Your not understanding. This issue has nothing to do with proxy.

 

The database is incomplete and as such the command gets dropped by csmm. can you do me a favour, upload you 7dtd.sql file located in data_dir/Database.

 

dont worry it doesnt actually contain you data, just how the database tables are configured. I think the issue may be with CSMM, but thats coming from the call:


echo "---Checking if Databse is present---"
if [ -f ${DATA_DIR}/Database/7dtd.sql ]; then
        echo "---Database found, injecting, please wait---"
        mysql -u "csmm" -p"csmm7dtd" 7dtd < ${DATA_DIR}/Database/7dtd.sql
    export NODE_ENV=production
else
        echo "--------------------------------------------------------------"
        echo "---Please wait initializing CSMM this will take ~60 seconds---"
    echo "-------the CSMM will restart automatically after that it------"
    echo "--------------------------------------------------------------"
    sleep 5
    cd ${DATA_DIR}/CSMM
    timeout 60 nodejs ${DATA_DIR}/CSMM/app.js
export NODE_ENV=production
fi

This. This is not exporting correctly to the 7dtd.sql file, everytime i delete and restart the container, it recreates and has different missing tables.

I think i will pull the container from the CA App since i'm not personally using it and i got not much time to troubleshoot this and also it's too complicated to setup.

If @Spectral Force confirms that it's working or not i will publish it again or depricate the container.

Please try the official CSMM container.

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.