self-host-csmm-support

textPage 83 of 373
50 messages on this page
Saturday, December 10, 2022
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Success?
image.png

image.png

PNG5.9 KB

Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
CSMM is it's own user.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
But yeah, connecting via redis cli and doing that works 😄
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Depends on how you installed CSMM, if you used Docker, it's defined by your volumes
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
if you ONLY have the CSMM/Redis installed on your server, command should be
redis-cli FLUSHALL
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Where would this redis data be?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
The only thing I did was restarted all my network equipment and servers and such and everything seems to be working well now.
Though, it seemed to be working fine when I woke up this morning.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Thank you.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Redis data is OK to delete, CSMM can recreate most of it. You'll lose any queued work though
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Either wait for everything to get processed, or you can delete the redis data and restart CSMM
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Eg too much stuff happened and your CSMM instance couldn't keep up
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
^ I think your queues are backlogged
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
I will look tomorrow, that is too much info for my phone screen.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Didn't know that was a thing.
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
https://(FQDN)/admin/queues/queue/sdtdserver%3Alogs
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Bull Dashboard?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
have you checked the Bull Dashboard?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Something weird is happening.
Chat goes from discord to game, but not game to discord.
I keep getting ghost messages from someone who is offline.
Commands aren't working.
I have restarted by messaging the bot.
I have restarted using PM2.
I updated the other day, and it is still current.
I have disabled CSMM in the server settings and then enabled it.
I have set the discord guild.
It is only a problem on this 1 server.
The other 4 servers are fine.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
What would I look for in the logs to see a problem with the discord bridge?
Friday, December 9, 2022
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
if you mean direct from the server, IF droplet also uses PM2, then
pm2 status
will see it running and
pm2 stop csmm
and
pm2 start csmm
should be what you need
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
oh wait, you said console not discord.... you mean TCL on the server itself?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
not since CSMM updated to 2.0 with slash commands.... was a sad day for all of us
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
Is there a console command I can run for csmm to restart itself?
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
negative. also the documentation states I must have the correct role, and ability to use ExecCommand, etc. Which I clearly do, so he shouldnt be telling me he doesnt know me.
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
do you have DMs turned off for your discord?
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
I did, the bot tells me he doesnt know me, which is strange.
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
like SF suggested, DM the bot the word restart.....
shut.PNG

shut.PNG

PNG23.0 KB

Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
k I thought so
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
server
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
No content
image.png

image.png

PNG26.8 KB

Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
Does Restart, restart CSMM, or shutdown the server?
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
yeah sort of. droplet installs via a script, then you SSH in and run an isntaller which asks for all the info that it put in to the .env
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
oh, i dont know the droplet setup steps, sorry... im guessing its just a scripted setup then...
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
im just now discovering it selected 4 vcore, 8GB, 320GB SSD, droplet. which is super fucking over kill
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
bro this was all one click droplet. I gave up trying to get it to run in AWS.
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
curious, your donor status say patron, why was that chosen vs enterprise in the env setup?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
if you're not an admin in the env file, you cant restart it....iirc
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
but my Discord ID, etc is all set correctly. I'm an admin, etc.
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
says he does not know me
image.png

image.png

PNG53.6 KB

Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
that "should" work
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
k
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
just dm hte bot restart
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
or just DM the bot "restart"?
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
exec restart?
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
No content
image.png

image.png

PNG46.2 KB

Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
let me check
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
you should be able to PM the bot and give it the restart command
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
Droplet, Digital Ocean
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
you are self hosting it right?
Avatar for 2ecfe951114110ec4460657d863ac20969660552d64152eadfcb4afc4600d108
User 2ecfe9
like via ssh?