self-host-csmm-support
textPage 29 of 373
50 messages on this page
Thursday, December 28, 2023
User 0cec7b
so an update, the bot decided to have its token reset again :/ reset the bot etc connected to discord but now it says that there is an issue when setting the chat bridge channel.. accoring tho the logs the token wasnt there but it IS! otherwise i would be able to invite the bot to the discord server.
Something went horribly wrong! Just kidding, it's probably not that bad. Here's the error message:
Internal Server Error - Error: Expected token to be set for this request, but none was present at _RequestManager.resolveRequest (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/RequestManager.cjs:142:15) at _RequestManager.queueRequest (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/RequestManager.cjs:115:46) at REST.raw (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/REST.cjs:56:32) at REST.request (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/REST.cjs:52:33) at REST.post (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/REST.cjs:43:17) at TextChannel.send (/home/csmm/7-days-to-die-server-manager/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:175:38) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.fn (/home/csmm/7-days-to-die-server-manager/api/controllers/SdtdServer/discordBot/set-chat-channel.js:72:9)
[16:56]
Internal Server Error - Error: Expected token to be set for this request, but none was present at _RequestManager.resolveRequest (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/RequestManager.cjs:142:15) at _RequestManager.queueRequest (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/RequestManager.cjs:115:46) at REST.raw (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/REST.cjs:56:32) at REST.request (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/REST.cjs:52:33) at REST.post (/home/csmm/7-days-to-die-server-manager/node_modules/@discordjs/rest/dist/lib/REST.cjs:43:17) at TextChannel.send (/home/csmm/7-days-to-die-server-manager/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:175:38) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.fn (/home/csmm/7-days-to-die-server-manager/api/controllers/SdtdServer/discordBot/set-chat-channel.js:72:9)
[16:56]

image.png
PNG β’ 67.6 KB
User 0cec7b
never mind i deleted the bot and created new works a treat
User 0cec7b
But yet on my server says I have a guild π€·π»ββοΈ

IMG_5644.png
PNG β’ 1.7 MB
User 0cec7b
The boy is on the discord server but I canβt select my server guild π€
User 0cec7b
my discord token reset again due to me playing about with the server last night (restarting the game server), i have reset the token but and bot is visable on the discord but not showing any messages etc. i have looked at the logs and they says
" [32minfo[39m: Initializing custom hook (
[32minfo[39m: Started the system stats gathering interval
[31merror[39m: Server failed to start."
" [32minfo[39m: Initializing custom hook (
discordChatbridge)[32minfo[39m: Started the system stats gathering interval
[31merror[39m: Server failed to start."
i have put the new token into the env file and restarted csmm but still nothing.
Wednesday, December 27, 2023
User 23fa64
Yes
User 6c4a2d
Oh so its a known issue?
User 23fa64
There was an issue with the discord integration.
Not sure when it will be resolved.
User 6c4a2d
Funny thing is, its still showing both ways, its just that every message from discord gets reacted with the warning reaction. I've also removed and re-added the bot to the discord server, and its still happens.
User bddf69
Same for you! :)
User bddf69
Not something I'll fix in CSMM but know that it'll be better π
User bddf69
Fwiw, the IP lookup system is better in Takaro. Fetches more detailed data and updates itself
User 0cec7b
BTW hope you had a good Christmas π
User 0cec7b
makes sense π
User bddf69
CSMM uses a free geo ip database, it's likely outdated compared to whatever online lookup you used
User 0cec7b
but if my IP changed it would have changed on the IP look up, unless the other geo location companies are still on christmas break?
User bddf69
Your IP likely changed since the 23rd then?
User 0cec7b
ive done a IP look up and thats all correct
User 0cec7b
yes that is correct no VPN/Proxy being used, it was saying i was un the uk on the 23rd but move forward a few days and apprently im on the otherside of the world..
User bddf69
(assuming you're not using a VPN/proxy or anything like that)
User bddf69
Not much you can do
User bddf69
Outdated geo IP info I'm afraid
User 23fa64
That means there was something wrong and the message may not have been sent.
It looks like you may need to relink you Discord in Patreon.
Your name isn't yellow here.
User 0cec7b
turns out its an issue not with csmm but with the game deployment software (will be sorted on their next update) so all good
User 0cec7b
i did this, it seems to do it still.. i restarted the server with csmm turned off and still does the same so maybe something to do do with the server side. i shall inviistigate..
Tuesday, December 26, 2023
User 6c4a2d
weird issue, just reconfigured the chat-bridge between discord and the server. Now, when someone sends a message in that channel, the bot puts a "warning" reaction. Have anyone else seen this before? If so, any fixes?
User 23fa64
CSMM
User 0cec7b
The Server or just the instance?
User 23fa64
If you're self hosting, just give it a restart.
User 0cec7b
Merry Christmas everyone, csmm is duplicating on the server, any reason as to why it would be doing this?

IMG_5624.png
PNG β’ 1.1 MB
Sunday, December 24, 2023
User 602ca8
Thanks for checking Cata π
User bddf69
'/help' is not a CPM command, so it probably doesnt output it for unknown commands
User bddf69
I can tell you with high confidence, it's not coming from CSMM π
https://github.com/search?q=repo%3ACatalysmsServerManager%2F7-days-to-die-server-manager%20Received%20command%3A&type=code
https://github.com/search?q=repo%3ACatalysmsServerManager%2F7-days-to-die-server-manager%20Received%20command%3A&type=code
User 602ca8
You see the message doesn't appear and cpm is there.. it must be in CSMM π

image.png
PNG β’ 183.7 KB
User 602ca8
That's the first place I looked and I found nothing -,-
In my public server where i have csmm and cpm it sends the message and in my test server where csmm is not connected it doesn't but cpm is there..
User bddf69
That's not CSMM, that's CPM doing it :P
User 602ca8
CSMM sends a message in game when a command is sent in the chat. It says
Command received "command"Where can i find that in the CSMM files ?
Thanks
Saturday, December 23, 2023
User 0cec7b
was actually the setup of pm2 and the fact i didn't set pm2 from the root user
User 6c4a2d
Thanks for that
User 602ca8
human bot
User bddf69
Ha way ahead of me
User 6c4a2d
General question, is there any plans on supported other games other than 7D2D? Like Valheim, Conan Exiles, Ark, ect...? I would love to have CSMM work with those too in the future
Friday, December 22, 2023
User 0cec7b
i tried the looking at the api and actually created a new bot just incase it was conflicting with something, all was dandy for about a couple of hours then i got the same message again from discord saying they have reset my token.
User 23fa64
Yip, nasty storm came through and I am here.

Screenshot_20231222-162756.png
PNG β’ 230.0 KB
User 602ca8
It's always when your away that these things happen.
User 602ca8
mmm i really don't know. My setup is different than yours. Maybe cata could give you better information



