self-host-csmm-support
textPage 14 of 373
50 messages on this page
Wednesday, July 24, 2024
User bddf69
You don't need to dig into files to see the logs
User 68c79a
if docker desktop would cooperate and let me see the filesystem. keep clicking the directory to open it and it just flippin closes itself again...
User 68c79a
the dockerfile system that is. its running your docker image
User 68c79a
i dont know where to look in the docker file
User bddf69
Did you look at your CSMM logs? there'll be more details in the error message there
User 68c79a
after about 5 hours of tinkering it still giving me "Discord authentication error. This should never occur! Please report this on the dev server". I am officially lost lol
Tuesday, July 23, 2024
User 68c79a
Understood, thanks for the reply.
User 23fa64
๐
User 23fa64
I'm not sure, it has been a long time since I self hosted.
Tagging staff isn't going to get an answer quicker.
When someone who has the answer sees the question, they will get to it.
User 68c79a
@User 45622657 what do you think? I went back to https://us.csmm.app and tried to update my ID for discord and it worked... But the self hosted instance doesn't work. Still gives me the message.
User 68c79a
So I tried updating my discord ID on my self hosted instance and I got the message
"Discord authentication error. This should never occur! Please report this on the dev server".
I am already linked to discord with https://us.csmm.app could that be the issue?
User 68c79a
after sleuthing around in the files after i created the docker container, i located the env file. changed the setting in there to let my users manage their own instance if they want. thank you for pointing that out to me earlier. everything on my self hosted instance seems to be working fine now. thanks again!
User 68c79a
Later I will try again and see if I can't get it working. I will look for that file and try to get it going lol
User 68c79a
I figured out the whole discord integration and how it works.
User 68c79a
That's what I am doing now. Using https://us.csmm.app
User 374c5d
Your name is yellow meaning you donated, if you arent already you coukd be using csmm.app
User 68c79a
Oh that was from when I wasn't aware of the CSsm admin variable, sorry I forgot to mention that. I had ran the docker run command two times one without the CSMM admin command & one with it. The first time when I ran it without the admin variable nothing was working. The second time I ran it with the admin variable I got to the point where I am at now with the admin problem. I was not aware that it was an actual file. I thought it was an argument that I put in the docker run command.
User 68c79a
That's not a log. That's a docker run command. I left out my steam id for security reasons
User beab1c
yes, but from your log, I see that you have not filled in ๐

image.png
PNG โข 4.0 KB
User 68c79a
I already did . I'm using docker on docker desktop. That was the run command that I was using for ich777's image of CSMM.
User beab1c
@User 36959833 is writing to you, fill in this line with your Steam ID
--env "CSMM_ADMIN=your_steam_id" ^
User 963f55
AU = 81 Servers, 15045 Players, 44 Guilds
EU = 262 Servers, 97199 Players, 213 Guilds
US = 408 Servers, 41417 Players, 236 Guilds
Numbers say it isnt CSMM
EU = 262 Servers, 97199 Players, 213 Guilds
US = 408 Servers, 41417 Players, 236 Guilds
Numbers say it isnt CSMM
User 23fa64
Please only post in one channel. ๐
User 68c79a
yeah, ive come to the conclusion this is dumb. ill just use RAT.
User 68c79a
docker run --name CSMM -d ^
-p 1337:1337 -p 3434:3306 ^
--env "HOSTNAME=https://csmm.xxxxx.xyz" ^
--env "STEAM_API_KEY=446779F968D7091D49316B8C8E47FA1F" ^
--env "DB_BKP_INTERV=90" ^
--env "CSMM_DL_URL=https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/archive/master.zip" ^
--env "UID=99" ^
--env "GID=100" ^
--env "CSMM_ADMIN=your_steam_id" ^
--volume /mnt/user/appdata/csmm:/csmm-7dtd ^
ich777/csmm-7dtd
-p 1337:1337 -p 3434:3306 ^
--env "HOSTNAME=https://csmm.xxxxx.xyz" ^
--env "STEAM_API_KEY=446779F968D7091D49316B8C8E47FA1F" ^
--env "DB_BKP_INTERV=90" ^
--env "CSMM_DL_URL=https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/archive/master.zip" ^
--env "UID=99" ^
--env "GID=100" ^
--env "CSMM_ADMIN=your_steam_id" ^
--volume /mnt/user/appdata/csmm:/csmm-7dtd ^
ich777/csmm-7dtd
User 68c79a
cant add my server because it says this " This instance is private and only CSMM system admins can add servers." im self hosting... how am i not an admin????
Support
APP
โ Today at 8:34 PM
If you are self-hosting this issue is often caused by a misconfiguration of env variables.
Make sure the CSMM_ADMINS env variable is uncommented and contains your Steam ID.
Triggered by "/This instance is private and only CSMM system admins can add servers/"
AlmightyBeanz93 โ Today at 8:35 PM
so in my dockerfile i need to do ? this is the one i used to make it on docker. docker run --name CSMM -d ^
-p 1337:1337 -p 3434:3306 ^
--env "HOSTNAME=https://csmm.%2A%2A%2A%2A%2A%2A.xyz/" ^
--env "STEAM_API_KEY=446779F968D7091D49316B8C8E47FA1F" ^
--env "DB_BKP_INTERV=90" ^
--env "CSMM_DL_URL=https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/archive/master.zip" ^
--env "UID=99" ^
--env "GID=100" ^
--volume /mnt/user/appdata/csmm:/csmm-7dtd ^
ich777/csmm-7dtd
AlmightyBeanz93 โ Today at 8:46 PM
yeah i put my steam id in there and it still says i need to be an adminb... so idk wtf is going on. im done at this point.
@User 78769914 any help?
2024-07-22 20:46:45 [app] info: GET 200 /user/1/profile
2024-07-22 20:46:45 [app] info: GET 304 /api/user/serverswithpermission
2024-07-22 20:46:45 [app] info: GET 200 /api/sdtdserver/donatorStatus
2024-07-22 20:46:54 [app] info: Serving add-server view to AlmightyBeanz
2024-07-22 20:46:54 [app] info: GET 200 /sdtdserver/addserver
2024-07-22 20:46:54 [app] info: GET 304 /api/user/serverswithpermission
2024-07-22 20:48:14 [app] info: POST 400 /api/sdtdserver/addserver
@โ Catalysm whats am i doing wrong? im on docker
Support
APP
โ Today at 8:34 PM
If you are self-hosting this issue is often caused by a misconfiguration of env variables.
Make sure the CSMM_ADMINS env variable is uncommented and contains your Steam ID.
Triggered by "/This instance is private and only CSMM system admins can add servers/"
AlmightyBeanz93 โ Today at 8:35 PM
so in my dockerfile i need to do ? this is the one i used to make it on docker. docker run --name CSMM -d ^
-p 1337:1337 -p 3434:3306 ^
--env "HOSTNAME=https://csmm.%2A%2A%2A%2A%2A%2A.xyz/" ^
--env "STEAM_API_KEY=446779F968D7091D49316B8C8E47FA1F" ^
--env "DB_BKP_INTERV=90" ^
--env "CSMM_DL_URL=https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/archive/master.zip" ^
--env "UID=99" ^
--env "GID=100" ^
--volume /mnt/user/appdata/csmm:/csmm-7dtd ^
ich777/csmm-7dtd
AlmightyBeanz93 โ Today at 8:46 PM
yeah i put my steam id in there and it still says i need to be an adminb... so idk wtf is going on. im done at this point.
@User 78769914 any help?
2024-07-22 20:46:45 [app] info: GET 200 /user/1/profile
2024-07-22 20:46:45 [app] info: GET 304 /api/user/serverswithpermission
2024-07-22 20:46:45 [app] info: GET 200 /api/sdtdserver/donatorStatus
2024-07-22 20:46:54 [app] info: Serving add-server view to AlmightyBeanz
2024-07-22 20:46:54 [app] info: GET 200 /sdtdserver/addserver
2024-07-22 20:46:54 [app] info: GET 304 /api/user/serverswithpermission
2024-07-22 20:48:14 [app] info: POST 400 /api/sdtdserver/addserver
@โ Catalysm whats am i doing wrong? im on docker
User aee541
No content
Saturday, July 20, 2024
User 0cec7b
that seems to have done it, you are the master.. i bow to you.. (i am not worthy) lol
User 0cec7b
I shall update both and report back ๐
User bddf69
That likely means either Allocs or CPM is outdated :(
Friday, July 19, 2024
User 0cec7b
csmm is running but i can see all connections to and from the server and also the chat but i can't chat to the server from discord.
the server logs say
Method not found: void .GameManager.ChatMessageServer(ClientInfo,EChatType,int,string,string,System.Collections.Generic.List`1<int>)any ideas?
User 0cec7b
so i changed to a pre-built image
image: catalysm/csmmUser 0cec7b
```WARN[0000] /home/csmm/7-days-to-die-server-manager/docker-compose.yml:
version is obsoleteUser 0cec7b
its just stuck there counting up
User bddf69
Nah, it's trying to build the container, not running migrations yet. Idk why it got stuck but if you use the prebuilt images, you should be good to go :p
User bddf69
Ah you wanna comment the build, just use the prebuild image
User 0cec7b
i've just left it as is.. and seem to be updating all ok
User 0cec7b
on this;
if i left the
build: . blank will that pull the latest from github or do i have to put something like latest or something?Thursday, July 18, 2024
User 0cec7b
No I manually did it ๐
But I can do that later on. Bit of a noob lol
User bddf69
Okay, did you do a docker-compose pull?
User 0cec7b
I uncommented it and left it blank
User bddf69
What does your compsoe look like now? What do you have for the
image: field?User 0cec7b
Wasnโt sure how to pull the latest as docker scares me ๐คฃ
User bddf69
Aka use the docker tag 'latest'
User bddf69
Why are you manually making changed? Can't you just pull in that branch?
Wednesday, July 17, 2024
User 0cec7b
on that ran docker compose restart now i can see the chat but i can't send via discord.
User 0cec7b
from what i can see on the the master tree merge file is that the stdslogs index file and handleLogLine.js had changed. i have changed as stated in the files and restarted CSMM.


