self-host-csmm-support

textPage 22 of 373
50 messages on this page
Friday, March 22, 2024
Avatar for 3b0ccd911df5f442b1398505b94ac6c03fd6e66e8e113b6f6fc84c16e24c6f43
User 3b0ccd
Remember to update the docs^^
Thursday, March 21, 2024
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
We agree that .env should be in the ENV folder!
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
Do you want me to show you the .env config?
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
did you try running with sudo? maybe it needs elavated rights
also does your .env file have this:
MYSQL_PASSWORD=***
MYSQL_DATABASE=csmm
MYSQL_RANDOM_ROOT_PASSWORD=true
DBSTRING=mysql2://csmm:***@db:3306/csmm
REDISSTRING=redis://cache:6379```
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
self install
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
are you using docker or self install?
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
The site is poorly explained, nothing works. For time its should be pretty clear in the message and screenshot. Which version of MySQL should I use? Even the Nodejs version is not even supported anymore (is no longer up to date)... What I want to know is "what access" I should give to the CSMM user so that I can communicate with MySQL, I put the admin user if understands all the permissions. MySQL denies access to CSMMM
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
ive gone through the steps for
Host Install:
https://docs.csmm.app/en/CSMM/self-host/host.html
Docker Install (Linux):
https://docs.csmm.app/en/CSMM/self-host/docker-linux.html
Both are accurate.
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
Tommy_QCMG and RaviolieEnBikini (Tommy_QCMG) are the same discord account.
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
@User 50609326 I tried dropping the user and repeat the steps and same error, is the docs up-to-date?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
Did you verify the information in the .env file is correct?
Or did you create the DB with creds A and change them after, thus leaving the old creds info in the DB?
Avatar for 3b0ccd911df5f442b1398505b94ac6c03fd6e66e8e113b6f6fc84c16e24c6f43
User 3b0ccd
I tried dropping the user and repeat the steps and same error, is the docs up-to-date?
Avatar for 9b0a202273341c8a229069db2994ff0f9f3c1fb0c41c8ace71a4673c4f08c597
User 9b0a20
No content
Capture_decran_2024-03-20_221257.png

Capture_decran_2024-03-20_221257.png

PNG501.9 KB

Sunday, March 17, 2024
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
nvm, i just restarted csmm and now it shows
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
im having a weird issue with the discord bot, i added the bot via the panel to my new discord server, varifed its in the server and it works, but when you choose guild it only shows one other discord server and not the one i just added it to, does it need time to update? i tried refreshing the page
Monday, March 11, 2024
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
Yes I did. I tried using the client secret from the 'discord application' and the secret from the bot token; none works
Sunday, March 10, 2024
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
There's the oauth stuff, which is used when you 'login with Discord' but there's also a bot token which is a separate thing
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Did you create a bot account in Discord?
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
How long is the string. I've tried using both the 'Client Secret' as well as the oAuth2 token and neither work. I've noticed they are different lenght then the token string from the tutorial I was following. Where exactly can I find the 'token' that needs to go into the env?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Judging by the error, you've probably configured a bad discord bot token. Make sure you restart CSMM after setting the env var
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
I've double checked everything, and it seems to be a bug with a recent change of the discord bot token and the version of CSMM/7dtd I'm running
Saturday, March 9, 2024
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
local hosted
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Are you using a 7D2D.net instance?
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
Sending 500 ("Server Error") response:
{"code":"invalid_client","name":"TokenError","stack":"TokenError\n
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
any suggestions?
Avatar for 2a307bfc57dbe674d8818f27ffb9de18a7709cef9662306b3998ee917a00426c
User 2a307b
Trying to link Discord Bot to my CSMM, and having internal error 500. Full log output:

message.txt

TXT4.5 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Cool thanks, merging to main in a few
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
Already did, worked quite well
Thursday, March 7, 2024
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
nvm i just started over and it worked xD
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
=> [stage-1 4/4] RUN chown -R node:node /usr/src/app 1955.6s
Avatar for c9d79571a48ea345ed4d183cd4064d6ca52546a91af5b0c1d468f03ba90a665d
User c9d795
hi! so im trying to install csmm using docker on a new dedicated server running ubuntu, it seems to be hanging on
Tuesday, March 5, 2024
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
what exactly is the help function you're refering to
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
ehh
Monday, March 4, 2024
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I can look into a fix later possibly, no promises though... if you want a faster fix, would you be willing to make a PR?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
It's not using the helper function (like this https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/api/controllers/SdtdServer/restart-server.js#L45) so the fix for headers never for applied there
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Ahhh you're talking about the tracking page? Sorry I missed that for the longest time
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
sooo anyone here?
Friday, March 1, 2024
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
yeah i am
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
`commit 1d8b5542ba510d87ba3debf30af8887d8650c15d (HEAD -> master, origin/master, origin/HEAD)
Merge: 135e9041 8354f89e
Author: Niek Candaele 22315101+niekcandaele@users.noreply.github.com
Date: Fri Feb 16 11:41:42 2024 +0100
Merge pull request #1513 from CatalysmsServerManager/disable-blueprint-routes`
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
On branch master Your branch is up to date with 'origin/master'.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
CSMM is using the new headers though, are you sure you are on the latest CSMM version?
Thursday, February 29, 2024
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
and in turn csmm gives a 500 code
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
so the api gives a 403
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
those headers arent passed so the authentication fails
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
'If you used the API with your own tools and an admintoken before
Tokens are no longer passed in the query URL (like /api/log?adminuser=x&admintoken=y)
Instead they are passed in the HTTP headers X-SDTD-API-TOKENNAME and X-SDTD-API-SECRET'
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
get a 403 when trying to list player claims
Avatar for 935085bf55e2d1cdedd628dcf1d482056f03cb12dfd35d7444c919b00a5291d7
User 935085
sure
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Okay, can you explain what the exact issue is then again please? What are you trying to do, what do you expect to happen and what happened instead?