self-host-csmm-support
textPage 60 of 373
50 messages on this page
Monday, July 3, 2023
User bddf69
If you're using the Docker method, you cannot use 127.0.0.1 in your connection strings. You need to use the name of the container (like
db or cache)User 2593c2
have they, funpimps fixed this? as to am looking for way to select smaller chunks of lands to reset
User 963f55
Change the IP to the ones that the container is running on
User 6eb6d8
I went to using this example and I seem to be getting refused connections for 127.0.0.1 so I'm starting to think I do need to create my own DB and other stuff for this but I'll have to dig into this more tomorrow. Perhaps after I finally figure this all out I'll have to make an actual tutorail video to help people deal with this in the future because these docs while not useless can be a bit confusing at times.

image.png
PNG • 7.9 KB
User 963f55
i got sidetracked on another project so i never completed it to verify it works
User 963f55
for redis, i took out the PW portion of the .env

Screenshot_2023-07-03_001434.png
PNG • 3.9 KB
User 963f55
i did however in my early attempts make a db.env and specify that for the DB section and used for VARs for it
and the .env for CSMM was a copy from the documents, with updated field data
didnt need to do anything for redis
and the .env for CSMM was a copy from the documents, with updated field data
didnt need to do anything for redis

Screenshot_2023-07-03_001126.png
PNG • 11.4 KB
User 963f55
unfortunately im currently using the self host, im will be attempting to to move over to the docker method, but have not completed it yet.... sry, but at this point id be fishin like you currently are...
User 6eb6d8
I guess that same question would probably go to redis as well? Do I need to downloand and setup both of these servers? So far this seems to be what I'm understanding.
User 6eb6d8
So then I think I might have misunderstood some of the docs as well. Because I see this and I thought maybe I needed to setup both the .host and .docker but should I be just renaming .env.example.docker to .env after filling in the info and only running that if I'm doing the docker method?

image.png
PNG • 12.3 KB
User 6eb6d8
So I'm actually going about it via the Docker Method. I do see in the .docker and .host files mentions of DB stuff but it sort of seems like it's setting it up. So I guess for ex. DBSTRING=mysql2://csmm:your-db-password@127.0.0.1:3306/csmm do I need to create my own local SQL db on my pc or is Docker actually handling that stuff?
User 963f55
if you are doing the host install method, you would create it manually in the SQL engine prior to starting up the CSMM instance... you then take the SQL creds that you created and will put that info into the .env file that will get set up a bit later in the process
User 6eb6d8
And then when it comes to the mysql stuff is that stuff that is being created or do I need to create it ahead of time?
User 6eb6d8
Okay that makes sense. For things like the InviteLink is that just the invite link for my discord bot with my clientid then?
User 963f55
yes, as steam needs to verify your account on csmm, thus when the csmm sends the request out to steam, you get logged on, and then steam sends you back to csmm, it needs a public place to send you back to
User 6eb6d8
Okay that makes sense. Even if I'm running it locall would that still be the case with the duckdns?
User 963f55
yes, that is just the example, you would use the csmm.duckdns (or what ever you created in duck dns like below
https://csmm.duckdns.org/auth/discord/returnUser 6eb6d8
Hi I'm trying to work through the 'Configuring CSMM' portion of the Docs and I'm trying host my own local CSMM. I see it metnions in refrence to the Dicsord Redirects using your CSMM domain. I guess should I be using the DuckDNS domain I created or is there a different domain that I'm missing?
Saturday, July 1, 2023
User bbeab6
Solved http://joxi.ru/nAy7ORRikENGWm i don't know how. I did nothing.
User bbeab6
It send but not receiving messages http://joxi.ru/zANxbvvTwMXvZm in console my messages http://joxi.ru/82Qybvvf4B6wB2 last one is answer.
User bddf69
Does it show correctly on the web dashboard of CSMM?
User bbeab6
It started after game update to A21. I thought it is need to update csmm. Update csmm not solved it. In web pnnel everything is ok http://joxi.ru/LmGZbvvCZaKeer
User bddf69
Have you tried troubleshooting at all?
User bddf69
I dunno what characters are supposed to be there, it's likely that somewhere between the game, allocs API, CSMM and Discord there's something messing up the encoding
User bbeab6
Help.
User ec9e05
Yup, restarting the container after starting up the server did fix it, @User 45622657.
I had some trouble registering, but it's good now and we're up and running ❤️
Sorry for the trouble!
I had some trouble registering, but it's good now and we're up and running ❤️
Sorry for the trouble!
User ec9e05
maybe this fixed it!
User ec9e05
ooh! I restarted the docker container again and it looks like it purged the old server
Friday, June 30, 2023
User 23fa64
Sorry.
User 23fa64
Not sure.
User ec9e05
I feel dumb, but is there an easy way for me to verify the currnetly pulled version?
User ec9e05
User ec9e05
docker-compose pullUser ec9e05
As far as I'm aware, yes (via docker)
User 23fa64
Have you updated CSMM also?
User ec9e05
https://fatalexpedition.com/sdtdserver/2/settingsUser ec9e05
I hate to say this, but my settings page isn't loading and whenever I try to load a player's details, I get an error.. not sure why.
I feel like I'm missing something very obvious (this was just working on a previous map 5 minutes ago in A20... now in A21 it isn't...)
I have updated CPM to latest and have updated CSMM to latest via docker 🤔
Running latest Alloc's and TFP mods
Running latest Alloc's and TFP mods
User bbeab6
I have some problems with encodings http://joxi.ru/ZrJ3bvvHk46kWm
Saturday, June 24, 2023
User a506fe
in a ui
User a506fe
csmm uses it
User a506fe
webapiUser a506fe
its an api
User a506fe
as said
User a506fe
that permission is not for a ui
User efaa80
well, there's a UI as well
User a506fe
you do a get with parameters
User a506fe
its an api
User efaa80
you can set this in webpermissions.xml:
<permission module="webapi.executeconsolecommand" permission_level="0" /> but I don't see a text field anywhere in the web UIUser efaa80
Should there be a way to enter a console command in Alloc's web UI?
