self-host-csmm-support

textPage 14 of 373
50 messages on this page
Wednesday, July 24, 2024
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
You don't need to dig into files to see the logs
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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...
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
the dockerfile system that is. its running your docker image
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
i dont know where to look in the docker file
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Did you look at your CSMM logs? there'll be more details in the error message there
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
Understood, thanks for the reply.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
๐Ÿ™‚
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
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.
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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.
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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?
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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!
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
I figured out the whole discord integration and how it works.
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
That's what I am doing now. Using https://us.csmm.app
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
Your name is yellow meaning you donated, if you arent already you coukd be using csmm.app
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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.
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
That's not a log. That's a docker run command. I left out my steam id for security reasons
Avatar for beab1c69f4044a658a0b109c2f3e78355c11097af6ba32462e1d0d69bf422900
User beab1c
yes, but from your log, I see that you have not filled in ๐Ÿ™‚
image.png

image.png

PNG โ€ข 4.0 KB

Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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.
Avatar for beab1c69f4044a658a0b109c2f3e78355c11097af6ba32462e1d0d69bf422900
User beab1c
enter your Steam ID here
CSMM.jpg

CSMM.jpg

JPG โ€ข 125.0 KB

Avatar for beab1c69f4044a658a0b109c2f3e78355c11097af6ba32462e1d0d69bf422900
User beab1c
@User 36959833 is writing to you, fill in this line with your Steam ID
--env "CSMM_ADMIN=your_steam_id" ^
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Please only post in one channel. ๐Ÿ™‚
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
User 68c79a
yeah, ive come to the conclusion this is dumb. ill just use RAT.
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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
Avatar for 68c79ab78f8fb7c6396a12437cdc5f1894baa2e0a73c4eae2c94a77e44bc3976
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
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Saturday, July 20, 2024
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
that seems to have done it, you are the master.. i bow to you.. (i am not worthy) lol
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
I shall update both and report back ๐Ÿ‘
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
That likely means either Allocs or CPM is outdated :(
Friday, July 19, 2024
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
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?
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
so i changed to a pre-built image
image: catalysm/csmm
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
```WARN[0000] /home/csmm/7-days-to-die-server-manager/docker-compose.yml:
version
is obsolete
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
its just stuck there counting up
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
No content
image.png

image.png

PNG โ€ข 30.4 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Ah you wanna comment the build, just use the prebuild image
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
does it really take this long to do migrations ๐Ÿ‘€
image.png

image.png

PNG โ€ข 2.2 KB

Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
i've just left it as is.. and seem to be updating all ok
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
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
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
No I manually did it ๐Ÿ‘€
But I can do that later on. Bit of a noob lol
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Okay, did you do a docker-compose pull?
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
I uncommented it and left it blank
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
What does your compsoe look like now? What do you have for the
image:
field?
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
Wasnโ€™t sure how to pull the latest as docker scares me ๐Ÿคฃ
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Aka use the docker tag 'latest'
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Why are you manually making changed? Can't you just pull in that branch?
Wednesday, July 17, 2024
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
on that ran docker compose restart now i can see the chat but i can't send via discord.
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
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.