self-host-csmm-support

textPage 47 of 373
50 messages on this page
Friday, August 11, 2023
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
o shit it worked
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
What folder is that in?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I mean the Redis database that's running on your install
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Do you mean the .../7-days-to-die-server-manager/node_modules/redis folder?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Like this
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
❤️
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
no remind me how please
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Did you regenerate the webtoken too?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
image.png

image.png

PNG26.3 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
it can find the server but no commands are working
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Change web port to 8080 and save, then reload.
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
The Discord chatbridge? Yes, it's configured and doesn't stop responding.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
image.png

image.png

PNG10.3 KB

Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Yes but CSMM has to ne configured to access your server. The port it uses to talk to your server has changed from 8082 to 8080.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
yes it's 8082
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
i already had csmm
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
No, in the CSMM web interface, under Settings/Basic server settings
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
of webdashboard/
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Did you change the port to 8080 from 8082?
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
csmm not connecting anymore
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
i did the update
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Need help !
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
You might want to try deleting the data in Redis. That's cache data, it's safe to delete and will rebuild itself.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Do you have chatbridge enabled? Does that stop working after a certain time too?
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Ok, more testing, it seems to be only repeating commands that don't work. If I execute a new command CSMM will respond, but reusing a command I've already used since the last prefix reset there's no response.
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Alright, been testing with commands other than teleports and it still does it after about a minute of resetting the command prefix... No matter which command is used. Changing the command prefix makes it work again, for about a minute. That's so weird! Still no error in the logs.
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
teleports are stored in the csmm.db iirc
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
So I can confirm that it's using a teleport name that existed in A20 that makes CSMM stip responding to commands. That wasn't the case under A21, only since it's been updated to A21.1. Maybe something changed in Allocs and how teleports are stored? I deleted the old teleports that showed up when I clicked teleport on my user but it's still bugging out CSMM if I use the same yeleport name. Not much of an issue now that I know (I can just use different teleport names and my other users weren't around in A20) but still a weird bug!
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
updates are good.. it's when they stop that shit happens xD
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Yip.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Thats done already.. but now i'm viewing your discord and i see that everything needs update xD
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The saved teleports are different from player teleports. All data comes from the SQL database
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
to stable you mean?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
And the server.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
So basically cpm, csmm and allocs all need to be updated
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
If I click another user profile that didn't exist in A20, it shows their teleport targets on their profile but if I click the teleport button, it doesn't show any teleport targets. Where are those pulled from?
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
I think I have isolated the trigger, whenever I issue the command to teleport home (same teleport name as I had in A20) CSMM stops responding to commands. I think it gets confused because it seems to have two different databases with teleport names for the same player, even after deleting the player profile.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
ok 😛 thanks
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Hmm sorry but without more details it's not really possible for me to troubleshoot.. Since you're self hosting there could be a lot of things going on that I don't know about.
I'll monitor the situation and if more reports come in from the hosted instances, I'll take a closer look (because then I'll have data to look at)
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Another weird thing is that the llayer profile lists all teleport for the player but if I click on "teleport" it shows me different teleports, from back in A20 (I've since deleted all player profiles)
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Scratch that, stopped working...
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Huh, weird!
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
I think it just didn't like that I was using $ as a command prefix, changing that to # seems to work!
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Got the welcome message from the bot but commands don't work... Weird!
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
Reloading client to see if that fixes it, last time I reloaded CSMM the client was already logged on.
Avatar for 2a67ecc710aa4e54951991680060004b3cb47d0772d513206389c7224b05dcab
User 2a67ec
None...
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
CSMM logs*