self-host-csmm-support

textPage 37 of 373
50 messages on this page
Wednesday, November 22, 2023
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
K, now I'm seeing two issues
  1. I can't sign in with my Steam, I get an invalid redirect
  2. When I try to add a server, when I submit, I get the error shown
    Anyone able to help me figure this out?
csmm-error-01.PNG

csmm-error-01.PNG

PNG7.8 KB

csmm-error-02.PNG

csmm-error-02.PNG

PNG6.4 KB

Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
Figured it out, im able to access it now
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
Okay, so I figured out the next error. Found out from stackoverflow that if I did this:
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
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
any ideas?
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
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
[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
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Thankyou my guy
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Okay, I updated the underlying snapshot. It's not listed as 'pending'. Hopefully DO handles it soon 🙏
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Some issues with DO :( I don't have a answer immediately, I'm contacting their support
Thursday, November 16, 2023
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Can i please have a link to the digital ocean csmm file
Avatar for 13558ac10ee4c6f35d9eed74350420eb4306bac5484abd43cbbf1097bc1dc77d
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
.env
configuration is that you need to set a root password
And with that the docker configuration runs in Windows
image.png

image.png

PNG22.8 KB

image.png

image.png

PNG11.5 KB

Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Thankyou fornyour time as well.
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
I go to digiyal ocean but i get a file not found error https://docs.digitalocean.com/products/marketplace/catalog/csmm/
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
So i will check later again.. everything is working so it's not a big deal
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
But i think this error is normal
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
IMG_0842.png

IMG_0842.png

PNG44.3 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I turned on the notification so when the job runs it send a discord message and i'm getting this.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
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
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Hiya, iirc the env file is located at /etc/csmm_version on the digital ocean isntall
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
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
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Hi, ive installed Csmm on a linux box but i cant seem to locate a config file maybe lil help?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
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
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
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
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
but yeah, server connection error
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
If you comment/change some stuff there you should be able to get to the bottom of it
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The error gets censored because otherwise sensitive data gets leaked to the logs
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Aha, in that case I'd say the error is what it says, sometthing going wrong when connecting to the server
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
aa nowp i got it again
image.png

image.png

PNG33.1 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
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.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Hmm no, that config is unrelated
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Maybe i have to edit this one?
this.RATE_LIMIT_MINUTES = parseInt(process.env.SSE_RATE_LIMIT_MINUTES, 10) || 5;
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
if i increase the time to 6 minutes between the messages it goes away
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Do i have to edit anywhere else?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
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

image.png

PNG2.2 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Thanks Cata.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Just one bot.
If the server is restarting fast enough, CSMM might still be considering it 'connected'
isConnected
and thus not sending out the notification
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
IMG_0840.png

IMG_0840.png

PNG22.7 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 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
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
guides are in the documentation
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
you can self host for free
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
yes
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Csmm & patreon is that fornthe paid for service?
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
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
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
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 ?
Avatar for f3773fcb7284934a886645e1ef1f487cbfcab6d7eb6be9ed8a81c35deee61a88
User f3773f
Ok, thanks!
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
I don't believe CSMM has much overhead as it can be run on a Raspberry Pi
Tuesday, November 14, 2023
Avatar for f3773fcb7284934a886645e1ef1f487cbfcab6d7eb6be9ed8a81c35deee61a88
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!