self-host-csmm-support
textPage 83 of 373
50 messages on this page
Saturday, December 10, 2022
User 23fa64
CSMM is it's own user.
User bddf69
But yeah, connecting via redis cli and doing that works 😄
User bddf69
Depends on how you installed CSMM, if you used Docker, it's defined by your volumes
User 963f55
if you ONLY have the CSMM/Redis installed on your server, command should be
redis-cli FLUSHALLUser 23fa64
Where would this redis data be?
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.
User 23fa64
Thank you.
User bddf69
Redis data is OK to delete, CSMM can recreate most of it. You'll lose any queued work though
User bddf69
Either wait for everything to get processed, or you can delete the redis data and restart CSMM
User bddf69
Eg too much stuff happened and your CSMM instance couldn't keep up
User bddf69
^ I think your queues are backlogged
User 23fa64
I will look tomorrow, that is too much info for my phone screen.
User 23fa64
Didn't know that was a thing.
User 963f55
https://(FQDN)/admin/queues/queue/sdtdserver%3Alogs
User 23fa64
Bull Dashboard?
User 963f55
have you checked the Bull Dashboard?
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 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 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.
I have set the discord guild.
It is only a problem on this 1 server.
The other 4 servers are fine.
The other 4 servers are fine.
User 23fa64
What would I look for in the logs to see a problem with the discord bridge?
Friday, December 9, 2022
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 needUser 963f55
oh wait, you said console not discord.... you mean TCL on the server itself?
User 963f55
not since CSMM updated to 2.0 with slash commands.... was a sad day for all of us
User 2ecfe9
Is there a console command I can run for csmm to restart itself?
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.
User 963f55
do you have DMs turned off for your discord?
User 2ecfe9
I did, the bot tells me he doesnt know me, which is strange.
User 2ecfe9
k I thought so
User 963f55
server
User 2ecfe9
Does Restart, restart CSMM, or shutdown the server?
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
User 963f55
oh, i dont know the droplet setup steps, sorry... im guessing its just a scripted setup then...
User 2ecfe9
im just now discovering it selected 4 vcore, 8GB, 320GB SSD, droplet. which is super fucking over kill
User 2ecfe9
bro this was all one click droplet. I gave up trying to get it to run in AWS.
User 963f55
curious, your donor status say patron, why was that chosen vs enterprise in the env setup?
User 963f55
if you're not an admin in the env file, you cant restart it....iirc
User 2ecfe9
but my Discord ID, etc is all set correctly. I'm an admin, etc.
User 374c5d
that "should" work
User 2ecfe9
k
User 374c5d
just dm hte bot restart
User 2ecfe9
or just DM the bot "restart"?
User 2ecfe9
exec restart?
User 2ecfe9
let me check
User 374c5d
you should be able to PM the bot and give it the restart command
User 2ecfe9
Droplet, Digital Ocean
User 374c5d
you are self hosting it right?
User 2ecfe9
like via ssh?



