self-host-csmm-support

textPage 38 of 373
50 messages on this page
Thursday, November 9, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
CSMM is running from those logs, how are you trying to access it? You might need to open up the port or something?
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Do u have a link where i can check out the hosted option pls
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
You can also just donate a small amount and have Cata host CSMM for you.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Nope, can be separate.
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
And thankyou for your help badplayer
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Or does it need to be installed on the same server?
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Can i run 7d2d on win server, then make a linux server for csmm?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
The 7 Days server can be either windows or linux.
If you are looking to self host CSMM, CSMM will need to be hosted on a linux server. Unless you are really really good with windows.
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Hi, looking to use csmm, dont currently have a server up but can create. Ive made a few 7d2d servers all windows based either from steam cmd or steam, whats the best way to get started? Never built on linux but can make a vm if needed for that.
Wednesday, November 8, 2023
Avatar for 420781a27030fce7a7ab86d317296744faaab636f385fab7eff6ae23e42cb246
User 420781
I see more output after removing the port from the CSMM_HOSTNAME, yup. https://pastebin.com/2bz6ZuBd
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
You should seemore output then?
Avatar for 420781a27030fce7a7ab86d317296744faaab636f385fab7eff6ae23e42cb246
User 420781
But there is no page at http://ip:1337
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
CSMM is probably running if that's all you see
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
ubuntu-csmm-migrations-1 exited with code 0
Exit code zero means success πŸ˜‰
Avatar for 420781a27030fce7a7ab86d317296744faaab636f385fab7eff6ae23e42cb246
User 420781
I'm trying again now to run CSMM with
docker compose -f docker-compose.yml up
with the docker-compose.yml seen here https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/docker-compose.yml I also commented out all build lines and uncommented the image ones like the documentation said, but I am getting this error:
ubuntu-db-1               | 2023-11-08 18:24:38 30 [Warning] Aborted connection 30 to db: 'csmm' user: 'csmm' host: '172.19.0.4' (Got an error reading communication packets) ubuntu-csmm-migrations-1 exited with code 0
I tried all the steps listed in host installation too.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Your env var for DB connection is not loaded in
Tuesday, November 7, 2023
Avatar for 420781a27030fce7a7ab86d317296744faaab636f385fab7eff6ae23e42cb246
User 420781
No content
Screenshot_2023-11-07_171906.png

Screenshot_2023-11-07_171906.png

PNG β€’ 25.0 KB

Monday, November 6, 2023
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Ok thanks anyway ^^
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Tbh, it's a sizable change and I'd rather spend the time I have working on Takaro... Sorry man :(
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
.json files dont really work properly in containers, it would need to get stored in the database to be properly persisted
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Well if it's hard for you to do imagine how hard it is for me 🀣
What I did is I created a message that displays players, time etc in discord using server automation (it fires every 1 minute since i edit
create.js
. Now this message is currently being deleted every 50 seconds using another bot and than when the automation fires again I have the new message.
Sometimes the bot doesn't work and I have like 5 messages..
So could you maybe make a
.json
file or something where I can store the message id (I would create the message beforehand) and channel id and maybe create a different line instead of
senddiscord
so it only works with the config file data I input? If I put the same message id it will replace it or edit the same message all the time.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I'm not sure what the cleanest implementation is for this πŸ€”
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Well the change is not just that, would also need to store the message ID (each time) in a variable
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
How much would it cost me so you can do it for me ? πŸ˜›
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Not without modifying code, you might want to add a new helper ( like
removeDiscordMessage()
) similar to
sendDiscord
OR make adjustments to
sendDiscord
itself
Sunday, November 5, 2023
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I'm trying something out using
sendDiscord
. I suppose there is no way i can delete the previous message maybe by adding the message ID so it gets replaced right?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Yep worked that was it ^^
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Can you please point me to where i have to edit so i allow
server automation
timeframe to be less than 5 minutes? thanks πŸ™‚
Saturday, November 4, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Good, then every 60 seconds is not 'too often' πŸ˜„ I'm sure it's a different mechanism than the interactions that CSMM uses though
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I already have a server status bot that updates every 60 seconds with how many players are online.. i just wanted this so i get the player list.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
... or something like that. But Discord wont like you, you might hit rate limits if you make it run too often
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
To do what you are trying to do, you'd need to first post a normal message, store that message ID in the database and then continually update it
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The interaction only stays active for ~5 minutes, after that you can't interact with it anymore
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Ah it doesnt work like that I'm afraid
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
rewe.png

rewe.png

PNG β€’ 30.4 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Hey mate. I am trying to refresh the embed and it works for about 5 minutes. After that i get an error in the web log. Can you help me before i blow my brains out? πŸ˜›
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Thanks πŸ™‚
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yep, and just to be clear, this index.js (cause there's like 100 files calles index.js i nthe codebase :P)
https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/api/hooks/discordBot/commands/index.js
Friday, November 3, 2023
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I'm trying to add a new script so i can run it in discord just like
/status
/exec
etc
Do i just insert it in
\csmm\api\hooks\discordBot\commands
and edit
index.js
?
Wednesday, November 1, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yeah that export/import is meant for transferring between instances so the ID needs to be adjusted ^^ NIce find!
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Ohh never mind. I changed the server id in
.json
and it worked
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Any idea whats wrong?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I checked the logs and i have the following error
image.png

image.png

PNG β€’ 34.0 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Hi i have exported a server using http://address:1337/api/admin/import
And it's giving me this error when i import the
.json
file.
image.png

image.png

PNG β€’ 2.2 KB

Friday, October 27, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Aha that final screenshot of your game logs is the killer. It looks like there's something wrong with your TFP_ mods or you are missing allocs fixes
Thursday, October 26, 2023
Avatar for 5f245a081275ffb458627d027e76496722a3a69a600c8e7a1f7d734ee633861e
User 5f245a
I'm also still using Cloudflare tunnels instead of a conventional reverse proxy. I kept that because I've used it before and it worked however, that doesn't mean that Cloudflare hasn't changed something on their side I guess
Avatar for 5f245a081275ffb458627d027e76496722a3a69a600c8e7a1f7d734ee633861e
User 5f245a
@User 22055452 It's me again!
So I went ahead and completely rebuilt CSMM from the ground up with the docker image, but I'm still getting a connection issue.
However, this time upon pulling up the logs it looks like CSMM is talking to my server, but it's have trouble with this error.
The log from my gameserver is after I removed all mods and applied a fresh allocs and CPM version.
I have ports 26900, 8081, 8082, 8083 open on the server and usually I connect over 8082. For shits and grins I also tried connecting over 8081 and 8083 just to see what happens and no dice.
My server is hosted through OVH. Have you run into any connection issues with OVH and their anti-DDOS stuff?
image.png

image.png

PNG β€’ 160.0 KB

image.png

image.png

PNG β€’ 21.8 KB

image.png

image.png

PNG β€’ 95.2 KB

Wednesday, October 25, 2023
Avatar for 0a0718912398a91193ad30028367098a093043fb7c48948bb3aa441eb785ac27
User 0a0718
Nevermind my last message, found it again^ <:RetardMoment:1013245663217205319>