self-host-csmm-support
textPage 21 of 373
50 messages on this page
Saturday, April 20, 2024
User 1a0164
i follow the website doc
User 1a0164
i changed the env before i run the
docker-compose up -d
docker-compose up -d
User bddf69
What I'd try (since this is a new install) is to delete all the DB data, then restart it so it boots up with the correct username and password
User bddf69
I think what happened is that you started your containers with the default SQL password, and later changed the password in your .env file. THis means your database user and password in your .env aren't active right now
User 602ca8
also it's not wise to give out the bot secret token etc publicly
User 602ca8
well csmm cannot connect to your database. I don't know how your setup is
User 1a0164
i am out of ideas
User 1a0164
then when i going to localhost:1337
its give me error in chrome called "this page not working"
its give me error in chrome called "this page not working"
User 1a0164
then i have that error
[Warning] Access denied for user 'csmm'@'172.25.0.5' (using password: YES)
2024-04-20 11:36:06 2024-04-20 8:36:06 188
[Warning] Access denied for user 'csmm'@'172.25.0.5' (using password: YES)
2024-04-20 11:36:06 2024-04-20 8:36:06 188
User 1a0164
huh ok thank
User bddf69
That is the IP address of your docker container
Friday, April 19, 2024
User bddf69
Do you have a correct
DISCORDBOTTOKEN configured in your env file?User 7bfd06
cause i wanna host it by my self in future
User 7bfd06
?
User 23fa64
If you donated, why are you trying to self host?
User fcf272
No you dont
Saturday, April 13, 2024
User 1a0164
i can make it to run on windows docker its say cant access to the site
Friday, April 12, 2024
User fcf272
That makes sense
Friday, April 5, 2024
User bddf69
It uses realtime data and your localstorage data. If chat messages happen while the page isn't open, it wont show there
Tuesday, April 2, 2024
User 935085
it doesnt really seem to work correctly
User 935085
why is the chat-window empty half the time
Thursday, March 28, 2024
User bddf69
In any case, this 100% points to a misconfig in the Discord env variables, please check that you have the correct client id and secret set there
User bddf69
It's this part of the code, it should log an error https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/2ccd778a4a81e374eaf0920b8f9ab87ba60a413f/api/controllers/AuthController.js#L141
Wednesday, March 27, 2024
User 3b0ccd
Looking at the logs (prod.log), it only shows (Looking at the last line) reveals "Undefined" while the user TNTUP wants to update his Discord ID gives
Discord authentication error. This should never occur! Please report this on the dev server.^[[32minfo^[[39m: GET 200 /api/stats ^[[32minfo^[[39m: GET 200 /images/meta/feature-tracking.png ^[[32minfo^[[39m: GET 200 /images/meta/homepage-masthead.jpg ^[[32minfo^[[39m: Serving add-server view to TNTUP ^[[32minfo^[[39m: GET 200 /sdtdserver/addserver ^[[32minfo^[[39m: GET 200 /api/user/serverswithpermission ^[[32minfo^[[39m: GET 200 /user/1/profile ^[[32minfo^[[39m: GET 200 /api/sdtdserver/donatorStatus ^[[32minfo^[[39m: GET 304 /api/user/serverswithpermission ^[[31merror^[[39m: undefined ^[[32minfo^[[39m: GET 200 /auth/discord``` There's nothing else to pinpoint what the issue is
Tuesday, March 26, 2024
Sunday, March 24, 2024
User 9b0a20
^[[32minfo^[[39m: Loaded 3 records of CSMM usage stats
^[[32minfo^[[39m: GET 200 /api/stats
^[[32minfo^[[39m: GET 200 /user/1/profile
^[[32minfo^[[39m: GET 304 /api/sdtdserver/donatorStatus
^[[32minfo^[[39m: GET 304 /api/user/serverswithpermission
^[[31merror^[[39m: undefined
^[[32minfo^[[39m: GET 200 /auth/discord
^[[32minfo^[[39m: GET 200 /api/stats
^[[32minfo^[[39m: GET 200 /user/1/profile
^[[32minfo^[[39m: GET 304 /api/sdtdserver/donatorStatus
^[[32minfo^[[39m: GET 304 /api/user/serverswithpermission
^[[31merror^[[39m: undefined
^[[32minfo^[[39m: GET 200 /auth/discord
User bddf69
Your CSMM logs will have more details on what went wrong
Saturday, March 23, 2024
User 9b0a20
Finally! I've just solved my problem! https://qcmgcsmm.ddns.me ... Mintenent I have a NAT problem and I don't know how to fix it xD
User bddf69
So this means that Caddy failed to start. I don't really see the exact error telling us why it failed though... Can you try using journalctl to view the logs of Caddy? That should show the error and we can debug more from there
User 9b0a20
I know Windows well.. not Linux. Then I really need a boost. Any answer provided, I will execute it with the greatest pleasure. Message written with google translate. PS: Merci encore @User 22055452 !
User 9b0a20
My friend he has a Minecraft server has been made for 10 years that maintains his website he knows APACHE park. He's been doing computer science for years! Is he just more solution he to deploy all his knowledge, he managed to solve the MySQL, is we stuck on this problem so below. I use NO-IP for ETC domains... Personally, I don't know! I think I'm doing well so far!
User bddf69
You probably need to use the FQDN (csmm.example.com) for your TLS certificate to be applied instead of the IP address
User bddf69
It needs to run a nodejs process, so probably will not work of plesk
Friday, March 22, 2024
User 9b0a20
The CSMM website is functioning. The problem is that Caddy/Apache etc refuses to take the certificate into account for HTTPS. I don't know what to try anymore.
User 4f75c3
Hey, can I run csmm with plesk web panel? or only working on vps?
User 9b0a20
https refuses to work.

















