self-host-csmm-support
textPage 3 of 373
50 messages on this page
Sunday, January 19, 2025
User be1820
When I try to send commands to my discord bot to execute on the in-game console it seems to error whenever I need to use a command that has a space. Is there a know way to do this? Tried using "ban list" and it doesn't work also tried -_/""
Friday, January 10, 2025
User 595736
have it, it was a mistake in the remoteip module of apache (remoteipheader config). now it works. Many Thanks!
User bddf69
Any error logs in CSMM when that happens?
User 595736
I have an apache reverse proxy in front of the docker, that forwards https://mydomain -> :1337
User 595736
the URL I have in the .env matches the URL I am using to connect to CSMM and the URL that steam has as "return to"
User 595736
Ok the docker works, but now when I try to login via Steam, I am anytime redirected to steam login again. so the jump back to my server just redirects to steam again
User bddf69
That's not the actual blocking error. The reason why CSMM is crashing is the intent config issue
User 595736
and for the docker: looks like the mysql does not accept connections to 172.29.0.4:3306
User 595736
no edits to anything else than the .env
User bddf69
This one I have no idea about, did you make any edits to that .js file?
User bddf69
For your Docker error, you need to enable some privileged intents in the Discord bot config page
https://docs.csmm.app/en/CSMM/self-host/configuration.html#discord-bot-account
https://docs.csmm.app/en/CSMM/self-host/configuration.html#discord-bot-account
User 595736
and in the docker variant I am getting DB issue:
b_1 | 2025-01-10 18:27:54 7 [Warning] Aborted connection 7 to db: 'csmm' user: 'csmm' host: '172.29.0.5' (Got an error reading communication packets)
b_1 | 2025-01-10 18:27:54 7 [Warning] Aborted connection 7 to db: 'csmm' user: 'csmm' host: '172.29.0.5' (Got an error reading communication packets)
and another one:
csmm-worker_1 | Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
csmm-worker_1 | at WebSocketManager.createShards (/usr/src/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15)
csmm-worker_1 | at async Client.login (/usr/src/app/node_modules/discord.js/src/client/Client.js:232:7)
csmm-worker_1 | at async /usr/src/app/worker/worker.js:72:5 {
csmm-worker_1 | code: 'DisallowedIntents'
csmm-worker_1 | }
csmm-worker_1 | Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
csmm-worker_1 | at WebSocketManager.createShards (/usr/src/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15)
csmm-worker_1 | at async Client.login (/usr/src/app/node_modules/discord.js/src/client/Client.js:232:7)
csmm-worker_1 | at async /usr/src/app/worker/worker.js:72:5 {
csmm-worker_1 | code: 'DisallowedIntents'
csmm-worker_1 | }
User 595736
the .env file look similar to the examples
User 595736
Hi, I try to setup the host variant, successfully did the db:migrate part but when I try npm run start, I get the error:
[app] error: A hook (
[app] error: Failed to lift app: Error: Attempted to
[app] --
[app] TypeError: Cannot read properties of undefined (reading 'requestHandler')
[app] at Object. (/home/csmm/7-days-to-die-server-manager/config/http.js:166:36)
userconfig) failed to load![app] error: Failed to lift app: Error: Attempted to
require('/home/csmm/7-days-to-die-server-manager/config/http.js'), but an error occurred:[app] --
[app] TypeError: Cannot read properties of undefined (reading 'requestHandler')
[app] at Object. (/home/csmm/7-days-to-die-server-manager/config/http.js:166:36)
Tuesday, January 7, 2025
User 4fdc81
That worked
User bddf69
If you DM the bot
restart it should do thatUser 4fdc81
Are we still able to restart our csmm using discord. I tried telling our bot to restart but nothing happens.
Friday, December 13, 2024
User 7be995
Self-reply, but it looked like my Redis server was locked up and needed purged/reinstalled - that fixed the issue.
User 7be995
I believe you primarily need the 3 major intents
User 7be995
x.x I could use some help again - I thought I had everything up and running well enough, and went to make my CSMM website publicly accessible - now the website displays (csmm.easygoingaming.com) - but the steam login seems to not want to work (clicking login just refreshes the steam page, and doesnt send the user back - logged in).
Hate to be a bother, but would someone know what would cause this off hand, or maybe have a few mins to help me double check my config?
Wednesday, December 11, 2024
User 7be995
Ooo thanks for the help WoWWow and Grandpa! I think Grandpa is leaning into the issue we were experiencing.
Unfortunately since we couldn't nail down the issue, we went with trying an A21 Darkness Falls kit instead of the 1.1 War3zuk, and the problem virtually disappeared. The user did note that the game itself was running rather chunky under War3zuk, and so I do believe it falls into one of those somewhat odd performance issues. (I call it odd, cause it's not behavior to expect when their PC seems to handle other more intensive games a bit better)
TLDR, I do think it's their computer performance that was the issue.
User 1b8f8f
every so often your client well send unused assets to the server
if the server doesn't receive those assests in 5 seconds litenetlib well auto kick you. Having more ram in your pc definately helps i usually see it only happen to players with 8gb ram, ask her how much ram is in her pc
if the server doesn't receive those assests in 5 seconds litenetlib well auto kick you. Having more ram in your pc definately helps i usually see it only happen to players with 8gb ram, ask her how much ram is in her pc
User 40038d
@User 19244457 Hi, we was having the same issue and what we did was recall all the hired NPC's and restarted the server.. and we never had the problem again.. don't know if this helps you but it helped us.
Monday, December 2, 2024
User 7be995
I am a bit newer to running a 7D2D server - I have CSMM up and running, meaning Alloc's files are part of my mod setup alongside War3zuk's Overhaul. I have one player that is getting kicked from my server in a strange way, I don't quite understand. Not certain if related to War3zuk, CSMM or even mods in general, but the issue started happening after we relaunched with the mod... Does anyone have any insights that might help keep this player from getting kicked? She logs in fine, and about 20 mins after login she gets kicked, and I see these 2 WRN entries in my log.
Of note, the player seems to have tried to connect once, while their mod install was improper (red lines on character creation) - and is continually able to connect, but seems to get kicked when the game verifies it's handshake?
We've tried a lot of combinations of them deleting all game/mod data - and me deleting the character "profile" - either in the appdata saves directory, or in CSMM, or both - her character has been reset, but the EOS # remains the same, if that means anything.
Anyway, just really hopeful I can find some help - the player and I struggled most of today trying various things, only for her to still be kicked roughly 20 mins after login each time. She's patient, but it's disheartening for both of us - I just want my players to be able to enjoy, y'know? Apologies for "leaving the message" but it is late and I need sleep. I'll take any suggestions with great appreciation. Thanks again!
User 7be995
Hello all - incredible mods and support tools I keep finding all around. I'm not sure that this is the right place - but I've exhausted a few other options and remain at a loss.
2024-12-01T00:03:48 21468.668 INF NET: LiteNetLib: MT: Client disconnect from: REDACTED / 0 (Timeout) 2024-12-01T00:03:48 21468.668 INF Exited thread NCS_Writer_0_0 2024-12-01T00:03:48 21468.668 INF Exited thread NCS_Reader_0_0 2024-12-01T00:03:48 21468.669 INF [NET] PlayerDisconnected EntityID=1610, PltfmId='Steam_REDACTED', CrossId='EOS_REDACTED', OwnerID='Steam_REDACTED', PlayerName='REDACTED', ClientNumber='25' 2024-12-01T00:03:48 21468.669 INF DynamicMusic: 1610 successfully removed from Bloodmoon state cache 2024-12-01T00:03:48 21468.669 INF Client disconnected from dy mesh: Id: 1610 Total: 8 2024-12-01T00:03:48 21468.669 INF Player set to offline: EOS_REDACTED 2024-12-01T00:03:48 21468.674 INF Player disconnected: EntityID=1610, PltfmId='Steam_REDACTED', CrossId='EOS_0REDACTED', OwnerID='Steam_REDACTED', PlayerName='REDACTED', ClientNumber='25' 2024-12-01T00:03:48 21468.674 INF Exited thread NCS_Reader_0_1 2024-12-01T00:03:48 21468.674 INF Exited thread NCS_Writer_0_1 2024-12-01T00:03:48 21468.675 INF GMSG: Player 'REDACTED' left the game 2024-12-01T00:03:48 21468.723 WRN DisconnectClient: Player EOS_REDACTED not found```
Sunday, December 1, 2024
User 6df07c
info: Loaded 1 records of CSMM usage stats
info: GET 304 /api/stats
warn: POLICY - isLoggedIn - 192.168.4.121 is not logged in, redirecting to /sdtdserver/addserver
info: GET 302 /sdtdserver/addserver
info: GET 302 /auth/steam
info: User Llamanutroll successfully logged in
error: AuthController - Error updating user profile AdapterError: Unexpected error from database adapter: ER_BAD_FIELD_ERROR: Unknown column 'crossId' in 'SELECT'
Executing (default): SELECT 1
info: GET 200 /health
User 6df07c
Ok, I'm back to spinning steam login that I can't get past after clicking the login for cssm. The error in the cssm-web during this time is the following:
Saturday, November 30, 2024
User 6df07c
Anyone have any ideas on how to resolve this issue?
Friday, November 29, 2024
User 6df07c
I am on the super strugglebus. At one point I got sails working and could get to the front page of cssm but then couldn't get past the steam auth. Now though, something happened where I can't even get sails up. I get the following on the web container:
Thursday, November 28, 2024
User 6df07c
Can anyone provide guidance to what options to select on the OAuth2 URL Generator on discord for the bot? For instance, under scopes, do I just choose "bot"? There are like 40 additional options. Also, for bot permissions, I am just choosing "administrator". That ok? Finally, for integration type, should I choose "Guild install" or "user install"? What is the differnce between these two? Could any of this result in my logging into the CSMM page with the steam redirect just hanging?
User 6df07c
I have it listed twice like the template. they are separated by a comma
User 6df07c
I did
User 602ca8
CSMM_ADMINS= that lineUser 602ca8
did you put your steam id in the env?
User 6df07c
Any ideas?
User 6df07c
error: AuthController - Error updating user profile AdapterError: Unexpected error from database adapter: ER_BAD_FIELD_ERROR: Unknown column 'crossId' in 'SELECT'
User 6df07c
Ok all, new problem. When I go to log into csmm with my steam credentials, it just spins. I get the following error at that time in my web container:
User 6df07c
Ya I went through it all yesterday once and got the bot integrated into a channel, but the whole authorization warnings got me thinking, so this morning, I just went back to the bot and turned on all the switches 🙂
User 602ca8
I don't port forward any ports
User 602ca8
I never did https tbh
User 602ca8
I told you if the bot is not set up properly csmm will never start
User 6df07c
OMG I think I may have gotten the web container working @User 53398683! I went through my discord bot settings and I turned on OAuth2 Code Grant switch and the Presence intent switch. I can now get to it by going to http://192.168.4.5:1337 but not https://192.168.4.5:1337. Progress!
User 6df07c
Ok this helps limit the issue I am having. Thank you for your help.
User 602ca8
I choose nothing. I just built the docker compose i sent you using the project tab. The dashboard will never appear if csmm-web doesn't start. I don't know what your issue is.
User 6df07c
Thanks for looking Tree. Appreciate it. When you started yours up, do you choose the option in the container manager UI to start a web server? Or does the git package contain this intrinsically?
User 602ca8
I don't know mate. What i gave you is what i use. Synology is a stable but complex thing.
Wednesday, November 27, 2024
User 6df07c
Here are my logs as well as my env and compose file I used to build from the github files that I had put into /docker/csmm. My main issue is that I can not connect to my local ip server with https://192.168.4.5:1337 and get any sort of front end to cssm. The next issue is that some of the containers are throwing some warnings.
