self-host-csmm-support
textPage 39 of 373
50 messages on this page
Wednesday, October 25, 2023
User 0a0718
Oh and for anyone wanting a super easy way to set up the reverse proxy, just use cloudflared, create a tunnel & set the domain to whatever you want, & the IP to your local machine & port
User bddf69
Nice, thx for the info! ^^
User 0a0718
Both issues were incorrect configurations of the env file, with the second issue also just happening to have an extra few steps I needed to fix on my domain
User 0a0718
The first issue was caused by me accidentally setting the wrong IP in the DB, and by accidentally setting wrong, I mean completely missing it lol.
The second issue was incorrectly configured CSMM_HOSTNAME in the env & routed to the wrong hostname, (livinium.co.uk) that was already in use, changed to a sub domain of it & it started working
User bddf69
The second issue was probably a misconfig of CSMM_HOSTNAME env var?
User bddf69
For people searching: the issue was that the env was configured to use docker-style credentials but Network was trying to run the migration script on the host ^^
Tuesday, October 24, 2023
User 0a0718
Also fixed
User 0a0718
Ahh bruh I found the issue
User 0a0718
I was using the supporter stuff but I decided I may as well try to do it my self, mess about a little, if I get it to work great, if not, go back to the supporting lol
User 374c5d
might have to wait for cata to be available. i run mine from a container
User 0a0718
I believe so, all the information is in place, the keys, the DB stuff
User 374c5d
did you fill in your env?
User 0a0718
Slapped Ubuntu on it and have used it as a PiHole server for the last like 1 year
User 374c5d
i saw pihole so
User 0a0718
I am not, using an old laptop I had lay around
User 374c5d
are you using an RPi?
User 0a0718
I am 100% without a doubt doing something wrong here, any help will be great. Currently trying to find the log so in the mean time, all there is, is this image
Monday, October 23, 2023
User 602ca8
I think it is not accurate. I have noticed this
User 392ae3
Is the playtime column accurate or are there conditions that will cause it to not add the time played of the session?
Friday, October 20, 2023
User 602ca8
Thanks!
User 963f55
Export the server you want to copy, import a new one... Update settings/name... iirc command vars don't carry over thou... And hooks used to have issues at times, think that was fixed thou...
User 602ca8
Hi guys. Is there an easy way to copy all settings of a server to another in csmm?
Monday, October 16, 2023
User bddf69
I'd need to see the CSMM logs though, not the pm2 logs
Sunday, October 15, 2023
Saturday, October 14, 2023
User bddf69
I assume you used
pm2 then, so pm2 logsUser bddf69
CSMM logs to stdout and stderr, so however you are running the process, logs will be there
Friday, October 13, 2023
User 5f245a
So, my setup is a little bit different than others. I'm just directly installed on VM instead of using docker and I'm not using a conventional reverse proxy. I'm using Cloudflare tunnels pointed at port 1337 as my "reverse proxy". I was playing around with it one day and it just worked so I left it alone.
Where do I go to pull logs? I saw some other posts to pull from docker and/or caddy
User bddf69
When you get this internal error, there's a more detailed stack trace in the CSMM logs. Can you grab that? That'll give more info about what's going wrong
User 5f245a
However, I'd like to keep my previous installation because it's got all my configurations and shop, etc
User 5f245a
just to try a fresh install
User 5f245a
I may try and spin up a second VM using the docker installation
User 5f245a
@User 22055452
So I'm getting this error here;
and upon searching discord, I saw the suggestions to FLUSHALL on Redis. I did so and then did a sudo apt update && sudo apt upgrade -y for good measure, but I'm still getting the error when trying to connect to my server. It was connected to server previously and should be all the same IP, ports and webtoken, but no dice.
So I'm getting this error here;
and upon searching discord, I saw the suggestions to FLUSHALL on Redis. I did so and then did a sudo apt update && sudo apt upgrade -y for good measure, but I'm still getting the error when trying to connect to my server. It was connected to server previously and should be all the same IP, ports and webtoken, but no dice.
I'm self hosted in an ubuntu 2204 LTS vm in Proxmox.
Any suggestions?

image.png
PNG • 22.7 KB
Friday, October 6, 2023
User ea35ab
Fixed
Thursday, October 5, 2023
User ea35ab
Thank you.
User bddf69
So the core of this issue is that
DBSTRING is not defined in your .env file. Make sure that's filled inUser ea35ab
@User 22055452 im trying but nothing i'll follow the entire guide again by the way.
Thank you sir.
User ea35ab
Your know how can i fix it please?
User bddf69
Yeah that helps, it looks like the db url environment variable isn't loaded there
User ea35ab
@User 22055452 like this sir?

Screenshot_2023-10-05-09-48-35-596_com.android.chrome-edit.jpg
JPG • 70.8 KB
User ea35ab
I will try to reinstall everything because i dont see any error, if i find something, i'll write you.
Thank you so much sir.
User bddf69
That's where the actual error is
User bddf69
It would be useful to see the error trace that's shown there
User ea35ab
It stops there
User ea35ab
No content

Screenshot_2023-10-05-08-53-05-316_com.android.chrome-edit.jpg
JPG • 28.6 KB
User ea35ab
Let me check please
User bddf69
That just means the process exited, there should be more output than just that




