self-host-csmm-support
textPage 37 of 373
50 messages on this page
Wednesday, November 22, 2023
User 6c4a2d
Figured it out, im able to access it now
User 6c4a2d
Okay, so I figured out the next error. Found out from stackoverflow that if I did this:
After that, I was able to go further.
Now, from looking at the guide, I should be able to access CSMM through a browser by going to https://serverip:1337 right?
Reason I'm asking its not working if that is how to access it.
ALTER USER 'csmm'@'localhost' IDENTIFIED WITH mysql_native_password BY 'youactuallythinkimgoingtopostthis'After that, I was able to go further.
Now, from looking at the guide, I should be able to access CSMM through a browser by going to https://serverip:1337 right?
Reason I'm asking its not working if that is how to access it.
FYI - CSMM is installed on a headless ubuntu server
Tuesday, November 21, 2023
User 6c4a2d
any ideas?
User 6c4a2d
Heya, where do I find the key that DISCORDOWNERIDS= is asking for? Found it, could really have used a clue in the guide for that
Now I have a new issue: The error I'm getting is this
Now I have a new issue: The error I'm getting is this
[app] error: More details (raw): {"error":{"code":"ER_NOT_SUPPORTED_AUTH_MODE","errno":1251,"fatal":true,"sqlMessage":"Client does not support authentication protocol requested by server; consider upgrading MySQL client","sqlState":"08004"}}Friday, November 17, 2023
User 38805f
Thankyou my guy
User bddf69
Okay, I updated the underlying snapshot. It's not listed as 'pending'. Hopefully DO handles it soon 🙏
User bddf69
Some issues with DO :( I don't have a answer immediately, I'm contacting their support
Thursday, November 16, 2023
User 38805f
Can i please have a link to the digital ocean csmm file
User 13558a
I know this is somewhat old, but since the problem is with MariaDB replacing it with MySQL fixes the problem.
The only difference in the
The only difference in the
.env configuration is that you need to set a root passwordAnd with that the docker configuration runs in Windows
User 38805f
Thankyou fornyour time as well.
User 38805f
I go to digiyal ocean but i get a file not found error https://docs.digitalocean.com/products/marketplace/catalog/csmm/
User 602ca8
So i will check later again.. everything is working so it's not a big deal
User 602ca8
But i think this error is normal
User 602ca8
I turned on the notification so when the job runs it send a discord message and i'm getting this.
User 602ca8
Ye in-fact the error went in the other directory now instead of web. I did not check before i sent this message. I will give it another go after work and let you know
User bddf69
Hiya, iirc the env file is located at /etc/csmm_version on the digital ocean isntall
User bddf69
That's... weird but glad you got it working!
There should be no difference between doing Discord actions from a hook or from a cronjob
User 38805f
Trying to follow the documentation, one click installation digital ocean .. couldnt find what you where looking for. .Am i use8ng the wrong guide?
Wednesday, November 15, 2023
User 38805f
Hi, ive installed Csmm on a linux box but i cant seem to locate a config file maybe lil help?
User 602ca8
So as i suspected apparently automatic jobs don't mix well with senddiscord. What i did is i created a random job running every 1 minute
shownexthordetime and than i created a hook to fire the senddiscord command. No more errors.Also the issue where i only get 1 notification was fixed by splitting the message of both servers in different discord channels
User 602ca8
I will try this. Also i reverted all the changes that i made in the past. So i'm thinking that either automatic jobs are not made to send a message to discord or else there was some problem when i exported the server info and imported everything back. The reason i'm saying this is because i have never managed to put the server id to 1 .. had to use 2 since it said 1 was in use but actually there are no servers
User bddf69
but yeah, server connection error
User bddf69
If you comment/change some stuff there you should be able to get to the bottom of it
User bddf69
User bddf69
The error gets censored because otherwise sensitive data gets leaked to the logs
User bddf69
Aha, in that case I'd say the error is what it says, sometthing going wrong when connecting to the server
User 602ca8
hmmm. the mesages keeps sending although i get that error. But yes as soon as i increase it to 6 minutes the error goes away.
User bddf69
I'm guessing you're hitting Discord rate limits if you can get the error to stop if you make the interval higher
User bddf69
Hmm no, that config is unrelated
User 602ca8
Maybe i have to edit this one?
this.RATE_LIMIT_MINUTES = parseInt(process.env.SSE_RATE_LIMIT_MINUTES, 10) || 5;User 602ca8
if i increase the time to 6 minutes between the messages it goes away
User 602ca8
Do i have to edit anywhere else?
User 602ca8
Cata i'm using server automations to send a discord message and as you might know i edited the time limit to 1 minute. It's working but it send this annoying error

image.png
PNG • 2.2 KB
User 602ca8
Thanks Cata.
User bddf69
Just one bot.
This is where that notification gets sent from: https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/684fb9b9d47ed06da4696c5fcfec381552d8487e/api/hooks/sdtdLogs/eventDetectors/7d2dSSE.js#L130
If the server is restarting fast enough, CSMM might still be considering it 'connected'
isConnected and thus not sending out the notificationUser 602ca8
Should i set up a different bot for my csmm second server ? Sometimes the connected to csmm notification only send a notification of 1 server
User 374c5d
guides are in the documentation
User 374c5d
you can self host for free
User 374c5d
yes
User 38805f
Csmm & patreon is that fornthe paid for service?
User 374c5d
allocs 1st, then webtokens, csmm.app and you have to sign up with patreon. patreon & discord linked, csmm & discord link. patreon & discord take about 15 minutes to sync
User 38805f
So .... I set some webtokens via telnet or in game console, i download extract and place allocs fixs in the mod file then i head over to csmm.app ?
User f3773f
Ok, thanks!
User 374c5d
I don't believe CSMM has much overhead as it can be run on a Raspberry Pi
Tuesday, November 14, 2023
User f3773f
I have a followup question from the answer that @User 45622657 said about the fact that CSMM can be separate. I've not setup a public 7d2d server (done private servers for friends and family) nor used CSMM before. Is there any advantages to running CSMM on a separate machine? split up CPU usage, etc? I'm asking because I'm not sure how much overhead CSMM will have, so not sure if I'm better off splitting up the workload among 2 VMs instead of 1. I do have a proxmox HA cluster I will be running all of this on, so I can run the 7d2d server and CSMM on separate hosts if I wanted to. Thanks!




