self-host-csmm-support
textPage 82 of 373
50 messages on this page
Monday, December 19, 2022
User bddf69
That'd bypass DNS and nginx
User bddf69
To confirm, you can try this on the host:
curl localhost:1337User bddf69
Yeah that seems likely
User aab6bd
getting a 502 when trying to pull up the site
User aab6bd
maybe that's a dns/nginx issue
User aab6bd
yeah tried to hit the website at port 1337 and nothing
User bddf69
Looks like a successful boot! Did you try accessing CSMM?
User aab6bd
yeah, wasn't sure what info to post so was waiting for someone to ask for something more specific.
> node app.js CSMM version: 2.1.0 No Discord client ID and/or client secret given in dotenv. Discarding Discord passport configuration -------------------------------------- WARNING You are not using https in your CSMM_HOSTNAME. This is insecure! Please consider adding a reverse proxy to your deployment WARNING -------------------------------------- error: Ignoring `sails.config.views.layout`... error: Sails' built-in layout support only works with the default EJS view engine. error: You're using a custom view engine, so you'll need to implement layouts on your own! debug: The `sails.config.security.cors.headers` config has been deprecated. debug: Please use `sails.config.security.cors.allowRequestHeaders` instead. debug: Warning: since `sails.config.session.cookie.secure` is not set to `true`, the session debug: cookie will be sent over non-TLS connections (i.e. with insecure http:// requests). debug: To enable secure cookies, set `sails.config.session.cookie.secure` to `true`. debug: debug: If your app is behind a proxy or load balancer (e.g. on a PaaS like Heroku), you debug: may also need to set `sails.config.http.trustProxy` to `true`. debug: debug: For more help: debug: • https://sailsjs.com/config/session#?the-secure-flag debug: • https://sailsjs.com/config/session#?do-i-need-an-ssl-certificate debug: • https://sailsjs.com/config/sails-config-http#?properties debug: • https://sailsjs.com/support debug: info: Initializing custom hook (`discordChatbridge`) info: Started the system stats gathering interval info: info: .-..-. info: info: Sails <| .-..-. info: v1.5.2 |\ info: /|.\ info: / || \ info: ,' |' \ info: .-'.-==|/_--' info: `--'-------' info: __---___--___---___--___---___--___ info: ____---___--___---___--___---___--___-__ info: info: Server lifted in `/usr/src/app` info: To shut down Sails, press <CTRL> + C at any time. info: Read more at https://sailsjs.com/support. info: Initializing custom hook (`gbl`) info: Initializing custom hook (`sdtdLogs`) info: Reloaded bans for 0 servers! - Took 37 ms info: Initializing custom hook (`discordBot`) warn: No Discord bot token was given, not logging in. This is probably not what you wanted! info: Initializing custom hook (`economy`) info: Initializing custom hook (`highPingKick`) info: Initializing custom hook (`historicalInfo`) info: HOOK: countryBan - Initialized 0 country ban instances info: HOOK: economy - Initializing 0 servers```
User bddf69
Would you mind posting the logs? It's a bit hard to debug from the screenshot you posted 😉
Sunday, December 18, 2022
User aab6bd
so yesterday set up docker stuff from 7dtd, got that all working with cpm and alloc_fixes, but then when setting up a docker-compse for csmm, the csmm-web container get's stuck in Up (unhealthy)
not really sure what's going wrong, can't find anything in the logs
Tuesday, December 13, 2022
User a506fe
no worries
User 392ae3
Changing the order fixed it, thank you @User 36612002 !
User 392ae3
Gotcha, restarting the server now
User a506fe
if that returns st prefix too, thats the problem
User a506fe
hccp listUser a506fe
so that means loading cpm later than st is the solution
User a506fe
cpm will hijack st commands
User a506fe
and hide both prefixes
User a506fe
if you use cpm to hide commands from chat with hccp
User a506fe
but
User a506fe
that would prevent cpm from even "seeing" st commands
User 392ae3
I actually have different prefixes for the two, but let me try 🙂
User a506fe
for example
User a506fe
zCSMM_Patrons
User a506fe
rename folder from 1CSMM_Patrons to whatever comes after (S)ervertools
User a506fe
so load cpm last
User a506fe
im guessing you use hccp to hide commands from chat and have same prefix for st and cpm
User a506fe
if you use both, you ll have to choose one for those
User a506fe
which mod handles chatnames, hide commands and chatcolor?
User a506fe
depends
User 392ae3
You mean ST?
User a506fe
then there shouldnt be any chatmsg hijacking going on
User a506fe
only thing to make sure of is to load the mod that handles chatnames, hide commands and chatcolor last alphabetacally
User 392ae3
Hi there!
I am using Server Tools along with CSMM and the commands for ST are handled by CSMM, as per the log below:
I am using Server Tools along with CSMM and the commands for ST are handled by CSMM, as per the log below:
Chat handled by mod 'CSMM Patrons': /st_command_here
In a few of my servers, I don't even have CSMM commands enabled. And this issue still persists. Oddly enough, this is new. I never had this problem before.
Anyone experienced this before?
Anyone experienced this before?
User a506fe
when i find some moti ill make docu for it
User bddf69
Nice stuff man!
User bddf69
Sweet! Always knew it was possible, just needs someone who's not a Windows noob to give it a try hehe
Monday, December 12, 2022
Sunday, December 11, 2022
User a506fe
#csmmdockeronwindows
User a506fe
#sundayboredom
User a506fe
im actually running csmm as docker containers on windows since just now
User a506fe
uhm...
User a506fe
eeeh
Saturday, December 10, 2022
User 23fa64
Thank you!
User 23fa64
Doing that now.
User bddf69
Looks good, make sure to give CSMM a restart now so everything is properly initialized


