self-host-csmm-support

textPage 36 of 373
50 messages on this page
Monday, December 4, 2023
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
i ran the docker-compose up -d command
Pulling csmm-migrations (catalysm/csmm:)...
latest: Pulling from catalysm/csmm
7264a8db6415: Already exists
eee371b9ce3f: Already exists
93b3025fe103: Already exists
d9059661ce70: Already exists
73e99eed841e: Pull complete
ea14740ba0c2: Pull complete
2ecda43d0315: Pull complete
Digest: sha256:1fa73af868a32f8b9005a25a61cfe731ee7c74fc5b737934da19542b781f738f
Status: Downloaded newer image for catalysm/csmm:latest
Creating 7-days-to-die-server-manager_cache_1 ... done
Creating 7-days-to-die-server-manager_db_1 ... done
Creating 7-days-to-die-server-manager_csmm-migrations_1 ... done
Creating 7-days-to-die-server-manager_csmm-worker_1 ... done
Creating 7-days-to-die-server-manager_csmm-web_1 ... done
got this instead of the running of standard build output
would this be due to the update that catalysm made?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
That is #cpm-support
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
Yeah totally get that, I suppose that docker is technically one click install minus the small amount of config needed. Top work btw 😬
Avatar for 7ba955c6e651dcc0cc0046809c26f331cc2d77f826a07b77bd8b306c9aa86f25
User 7ba955
how do i disable /bag from triggering before the players character fully respawns? (to stop soft locks)
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Otherwise it needs to support different distros, different hardware types, exisitng configs, ...
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
It is, needed a stable interface to make the one-click install
Sunday, December 3, 2023
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
isn't that just for digital ocean though?
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
maybe
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
question.. why isn't there a one click install option for self hosts? it would make the whole prcoess a lot faster 🙂
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
thank you
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
ok brilliant 🙂
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Yes file is called .env
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
cool, so i am to delete the .env.example.host .env and just label it .env (with extenstion .env)
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Your discord id and as .env
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
does anyone no with the DISCORDOWNERIDS= is that the bot or server owner ID?
also when i have completed the editing of .env.example.host .env what do i save it as?
Monday, November 27, 2023
Avatar for fdf03ad01c5476f8f2a4a7cbee9917b06bede0189a83793f75e9b833680f46a9
User fdf03a
Dang, I'm an idiot... You are right. It works. Thank you! @User 22055452
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
It should work if you use a FQDN in the IP field
7d2d.example.com
and the https port
443
in the port field ? Eg this config is working for my server (but maybe your reverse proxy is different than what I do)
image.png

image.png

PNG7.7 KB

Sunday, November 26, 2023
Avatar for fdf03ad01c5476f8f2a4a7cbee9917b06bede0189a83793f75e9b833680f46a9
User fdf03a
Background: I'm using a reverse proxy (NPM) to cover my systems/apps. (i.e.
7d2d-admin.domain.com
,
csmm.domain.com
, etc...) which already gets a port number attached (for example:
7d2d-admin.domain.com
=
<IP>:8080
. This all works as it should and I can connect to both from my browser without a problem.
I also understand that CSMM builds the server connection URL from the inputs provided on the
Add Server
form (i.e. IP/FQD + Port + "/api/getstats").
Issue: Since CSMM requires a port number be specified on the Add Server form, using a reverse proxied address doubles up the port number in the built URL. For example,
7d2d-admin.domain.com
=
<IP>:8080
, then when CSMM adds the port number to the end of it, it results in
7d2d-admin.domain.com:8080
which translates into
<IP>:8080:8080
. Naturally, this is an invalid address and the connection errors out.
Anyone know a way to get CSMM to allow an empty port number on the Add Server form or some other fix that would allow me to stay behind my reverse proxy?
Avatar for 62c09ba9e1337f44774ecc48f0f1ba8c1d3a58c0168c7eef9720530f73a42934
User 62c09b
understood thanks
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
If you're running with Docker, you can leave CSMM running on port 1337 but map it to a different one using Docker.
Avatar for 62c09ba9e1337f44774ecc48f0f1ba8c1d3a58c0168c7eef9720530f73a42934
User 62c09b
that's right, if I enter an example in the config (CSMM_PORT=1347), then when I just run the DB, nothing happens in the docker
but at the same time , checking 1337 on the test environment , everything is connected
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
What do you meany by 'it just doesn't connect to the port I put it on'? CSMM_PORT is the right env var
https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/config/env/production.js#L334
Avatar for 62c09ba9e1337f44774ecc48f0f1ba8c1d3a58c0168c7eef9720530f73a42934
User 62c09b
I tried to change the parameter (CSMM_PORT), but it just doesn't connect to the port I put it on, but if I return it to 1337, everything works
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
change it in the env
Avatar for 62c09ba9e1337f44774ecc48f0f1ba8c1d3a58c0168c7eef9720530f73a42934
User 62c09b
Good day , I wanted to find out if it is possible to somehow CSMM on another port , and not on port 1337 , I just have this port busy (((
Thursday, November 23, 2023
Avatar for 38805f1fa68a746124820b4a77d7905df37438aa7ba73f9a60dc3d51d9e67420
User 38805f
Thanks man!
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Just heard back from DO, it's live again :) https://marketplace.digitalocean.com/apps/csmm
Wednesday, November 22, 2023
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
working now, thanks for all the help @User 53398683
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
ah, its giving me a new error now, but that is just connecting to the server itself.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
ok
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
copy what you did exactly
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
give me your steam id
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
I double checked, I did, and I just uncommented that part so im testing it now
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
CSMM_ADMINS
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
you have to put your steam id here
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
yea those are good. I think it was the CSMM_ADMINS section. I put my steam id in but neglected to uncomment the damn thing
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
have you done your
API_KEY_STEAM
correctly?
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
hmm...
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
if you did log in than you did something wrong in the .env settings
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
you need to log in with your steam account
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
The pic with the white background above
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
whats to error?
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
still having the issue with adding a server though, but the redirect is now working
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
I'm a blind moron
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
have you added your port ?
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
I did that though
csmm-redirect-url.png

csmm-redirect-url.png

PNG18.1 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
image.png

image.png

PNG76.0 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Discord Developer website ---> your discord bot ---> create Redirect link