self-host-csmm-support

textPage 60 of 373
50 messages on this page
Monday, July 3, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
)
Avatar for 2593c2b632ec0113ac44e26319e8166533aef7cf59958c4f3adea463ffbea163
User 2593c2
have they, funpimps fixed this? as to am looking for way to select smaller chunks of lands to reset
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
Change the IP to the ones that the container is running on
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
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

image.png

PNG7.9 KB

Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
i got sidetracked on another project so i never completed it to verify it works
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
for redis, i took out the PW portion of the .env
Screenshot_2023-07-03_001434.png

Screenshot_2023-07-03_001434.png

PNG3.9 KB

Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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
Screenshot_2023-07-03_001126.png

Screenshot_2023-07-03_001126.png

PNG11.4 KB

Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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...
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
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.
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
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

image.png

PNG12.3 KB

Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
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?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
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?
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
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?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
User 6eb6d8
Okay that makes sense. Even if I'm running it locall would that still be the case with the duckdns?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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/return
Avatar for 6eb6d8c3e385ca55e539e730182007c00a91af7f68a8a6f90639b2591762bf56
User 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
Avatar for bbeab6fa8af96f60b4eb0ecc9471e10299d5a1d8d9f4f0b3c2f42a4978929d93
User bbeab6
Solved http://joxi.ru/nAy7ORRikENGWm i don't know how. I did nothing.
Avatar for bbeab6fa8af96f60b4eb0ecc9471e10299d5a1d8d9f4f0b3c2f42a4978929d93
User bbeab6
It send but not receiving messages http://joxi.ru/zANxbvvTwMXvZm in console my messages http://joxi.ru/82Qybvvf4B6wB2 last one is answer.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Does it show correctly on the web dashboard of CSMM?
Avatar for bbeab6fa8af96f60b4eb0ecc9471e10299d5a1d8d9f4f0b3c2f42a4978929d93
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
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Have you tried troubleshooting at all?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for bbeab6fa8af96f60b4eb0ecc9471e10299d5a1d8d9f4f0b3c2f42a4978929d93
User bbeab6
Help.
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
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!
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
maybe this fixed it!
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
ooh! I restarted the docker container again and it looks like it purged the old server
Friday, June 30, 2023
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Sorry.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Not sure.
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
I feel dumb, but is there an easy way for me to verify the currnetly pulled version?
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
docker-compose pull
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
As far as I'm aware, yes (via docker)
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Have you updated CSMM also?
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
https://fatalexpedition.com/sdtdserver/2/settings
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
No content
image.png

image.png

PNG46.9 KB

Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User 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
Avatar for bbeab6fa8af96f60b4eb0ecc9471e10299d5a1d8d9f4f0b3c2f42a4978929d93
User bbeab6
I have some problems with encodings http://joxi.ru/ZrJ3bvvHk46kWm
Saturday, June 24, 2023
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
in a ui
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
csmm uses it
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
webapi
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
its an api
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
as said
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
that permission is not for a ui
Avatar for efaa80c3e89af7a551af62a1d46a899e5c49d3cdb596bdec89053260f146770e
User efaa80
well, there's a UI as well
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
you do a get with parameters
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
its an api
Avatar for efaa80c3e89af7a551af62a1d46a899e5c49d3cdb596bdec89053260f146770e
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 UI
Avatar for efaa80c3e89af7a551af62a1d46a899e5c49d3cdb596bdec89053260f146770e
User efaa80
Should there be a way to enter a console command in Alloc's web UI?