self-host-csmm-support
textPage 4 of 373
50 messages on this page
Wednesday, November 27, 2024
User 602ca8
send the logs
User 6df07c
@User 53398683 I just ran your compose with my env and I get the same exact problems. Would a misconfigured bot or any other IDs or codes in the env prohibit me from me connecting to the server:1337?
User 6df07c
Ya I will try to replicate exactly how you did it tonight. I also noticed your compose file has a healthcheck: disable: true line under your worker section.
User 602ca8
try using what i gave you to make it start than edit if you need
User 602ca8
well those settings i sent is how i did it. As you noticed i downloaded csmm maunally from github
User 6df07c
It is very possible I messed up the boy somehow. I will go back through and reconfirm everything.
User 6df07c
For hostnsme, I initially had it as http and changed to https and then I have my csmm.domainname.com. At one point I had the :1337 at end of domain name but then I saw a post by catalysm to remove it on the CSMM_HOSTNAME line.
User 602ca8
csmm won't work if it's not set properly
User 602ca8
i think it's your discord bot
User 6df07c
Confirmed this mapping is exactly like mine.
User 6df07c
I have tried building and using the csmm docker image and have run into issues both times. Containers start but they start throwing errors and I can’t get to web front end on 1337.
User 602ca8
You should be able to run it easy with the information i gave you. Took me a while back than until i learned how synology operates
User 602ca8
it's not easy like ubuntu
User 602ca8
took me a while to run it on synology
User 602ca8
i would not change it until your understand whats happening
User 602ca8
important that you name the folder
csmm if your using my dockerUser 602ca8
CSMM_LOGLEVEL=info CSMM_PORT=1337```
User 602ca8
yep
User 6df07c
Looks like you must be downloading project from GitHub and then building it right since your compose file has the image lines commented out?
User 602ca8
just map the db as i did
User 602ca8
don't worry about the
csmm-db-1 errorsUser 602ca8
in the
csmm-db-1 container make sure your mapping the db-data properlyUser 602ca8
and it works with that docker compose
User 602ca8
i just rebuilt mine since i stopped using it a while ago
User 6df07c
Thanks Tree. I will confirm all details you mentioned later and let you know. Thank you!
User 602ca8
use the nas lan ip and add 1337 if your using that port
User 602ca8
the discord bot must be set up properly
User 602ca8
Anway. use the docker file i sent make sure you are using volume1, if not change it. go to project and build it
User 602ca8
it won't start if there is an error in that
User 602ca8
is your discord bot set up properly?
User 6df07c
Well there are files but I never read the database
User 602ca8
is it populating?
User 6df07c
Ya the database definitely dumps to my docker/CSMM/db-data
User 602ca8
# DATASOURCE CONNECTION STRINGS # Make sure you use the vars for your install method and delete the others ############### # This initializes the DB container, see https://hub.docker.com/_/mariadb MYSQL_USER=csmm MYSQL_PASSWORD=myass! MYSQL_DATABASE=csmm MYSQL_RANDOM_ROOT_PASSWORD=true DBSTRING=mysql2://csmm:myass!@db:3306/csmm REDISSTRING=redis://cache:6379```
User 602ca8
you need to map it to volume1 or whatever your using
User 602ca8
the database will be inside your csmm installation folder
User 6df07c
Will do a bit later today as I don’t have access to it at this moment. Quick question though, did you use the catalysm/csmm image? Also, you had mentioned using phpmyadmin at one point. Did you have to use that to update the mariadb container?
User 602ca8
better yet send me everything just remove the sensitive data
User 602ca8
send your docker compose
User 6df07c
MYSQL_USER=csmm
MYSQL_PASSWORD=eZKWid3BN7Mb6g
MYSQL_DATABASE=csmm
MYSQL_RANDOM_ROOT_PASSWORD=true
DBSTRING=mysql2://csmm:eZKWid3BN7Mb6g@db:3306/csmm
REDISSTRING=redis://cache:6379
MYSQL_PASSWORD=eZKWid3BN7Mb6g
MYSQL_DATABASE=csmm
MYSQL_RANDOM_ROOT_PASSWORD=true
DBSTRING=mysql2://csmm:eZKWid3BN7Mb6g@db:3306/csmm
REDISSTRING=redis://cache:6379
User 6df07c
Another point of concern (and ignorance) for me is my .env file and the database strings. Do these look legit?
User 6df07c
Also having some warnings with the mariaDB container here.
csmm-db-1.txt
TXT • 1.9 KB
User 6df07c
I am still running into some issues and not exactly sure where they are coming from. Can someone look at the following log file for the -web container and give me an idea of why it is throwing warnings and potentially why I can't connect to port 1337 of my server (since the docker port is mapped 1337:1337)?
csmm-csmm-web-1.txt
TXT • 3.0 KB
User 963f55
unless you are building your own, you need to change some settings in the ENV

Screenshot_2024-11-26_211528.png
PNG • 6.7 KB
User 6df07c
here is my default compose file. First, Inow noticed that many of the images are commented out. Would this explain why I had to go to git and expand the package into the folder I was installing the container?
compose.yaml
YAML • 1.4 KB
User 6df07c
and may explain some things
User 6df07c
omg Forbidden this may have identified multiple issues I have (and with the compose 🙂 )
User 963f55
here, you can see on lines 73-77 i added two networks, one called outside that i assigned to only the containers that need to be accessed via external, and then backend internal network.... everything needs to be on the internal, so they all talk to eachother...
- External
- csmm-web (lines 10-11)
- csmm-worker (lines 26-27)
but all servers need to be on the Backend
csmm-web
csmm-worker
csmm-migration
cache
db
csmm-web
csmm-worker
csmm-migration
cache
db
CSMM_Docker.txt
TXT • 1.6 KB
