self-host-csmm-support
textPage 35 of 373
50 messages on this page
Thursday, December 7, 2023
User bddf69
Always use
npm ci btw, never npm i because npm i will modify the lock file, potentially causing issuesUser bddf69
Is this after a
npm ci ? I think your package lock file got modified vs what's in the repo. Try pulling it again and tehn using npm ci again?User 0b2cfa
I'm using the pre-built that SF sent me, but I felt like I was running before walking so I went back to the host installation and got further till that last error
User bddf69
Docker def points to the file: https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/docker-compose.yml#L14
User 0b2cfa
The docker refuses to find the .env file even tho it's there
User bddf69
Yeah 127.0.0.1 then (1 at the end)
User 0cec7b
no worries
User bddf69
Ahhh okay my bad
User 0cec7b
we are both 'trying' to install the self host option
User 0b2cfa
I'm not,.I had zero luck with the docker
User bddf69
If you're using docker, it cannot be 127.0.0.1 because that's the wrong container 😄
User 0b2cfa
Might be I'm doing it from memory, at work and forgot to forward the remote port for the machine running it
User 0cec7b
correct me if im wrong shouldn't it be 127.0.0.1?
User 0b2cfa
In the .env? If so it's 127.0.0.0
User 0cec7b
no am using the host option now as the docker didn't work and was getting issue after issue
User bddf69
Are you using Docker? If so, your DBURL should be pointing to a DNS name too, I think it's
db in the provided compose fileUser bddf69
Not a IP address
User bddf69
Check what your redis connection URL is? it should be smth like
redis://cache:6372 iircUser 0cec7b
yeah the docker gets so far then just stops, i oringally thought it was the answer to all my problems but nope haha
User 0b2cfa
Doubtful, still new myself to the self hosting, I'm gonna mess with it more when I get home. I've had better luck with full one vs docker lol
User 0cec7b
thats not linked to the issue i have now is it?
User 0b2cfa
I had this error I just dropped the csmm database and redid it. All it takes is accidental caps lock or fat finger to ruin a password
User 0b2cfa
Looks like it's looking for 0.0.0.0 instead of 127.0.0.0 or localhosy
User 0cec7b
And to add Google is a useful as a wet paper bag 😩
User 0b2cfa
got a little farther, now im getting this error on start up
```[app] info: Initializing custom hook (
[worker] error: undefined {"code":"E_HOOK_TIMEOUT"}
[worker] /home/csmm/7-days-to-die-server-manager/node_modules/sails/node_modules/async/dist/async.js:903
[worker] if (fn === null) throw new Error("Callback was already called.");
[worker] ^
[worker]
[worker] Error: Callback was already called.
[worker] at /home/csmm/7-days-to-die-server-manager/node_modules/sails/node_modules/async/dist/async.js:903:32
[worker] at /home/csmm/7-days-to-die-server-manager/node_modules/sails/lib/app/private/loadHooks.js:241:38
[worker] at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[worker]
[worker] Node.js v18.13.0
[worker] npm run start:worker exited with code 1
--> Sending SIGTERM to other processes..
[app] npm run start:app exited with code SIGTERM
```[app] info: Initializing custom hook (
discordChatbridge)[worker] error: undefined {"code":"E_HOOK_TIMEOUT"}
[worker] /home/csmm/7-days-to-die-server-manager/node_modules/sails/node_modules/async/dist/async.js:903
[worker] if (fn === null) throw new Error("Callback was already called.");
[worker] ^
[worker]
[worker] Error: Callback was already called.
[worker] at /home/csmm/7-days-to-die-server-manager/node_modules/sails/node_modules/async/dist/async.js:903:32
[worker] at /home/csmm/7-days-to-die-server-manager/node_modules/sails/lib/app/private/loadHooks.js:241:38
[worker] at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[worker]
[worker] Node.js v18.13.0
[worker] npm run start:worker exited with code 1
--> Sending SIGTERM to other processes..
[app] npm run start:app exited with code SIGTERM
Wednesday, December 6, 2023
User 6c4a2d
I think it may be due to the redirection of the domain name I have in place locally
User 6c4a2d
it happens after approving the login with Steam Guard
User 963f55
How far do you get when attempting to log on? Did it take you to the stream login page? And error after attempting? Or is the error before that? Just throwing a dart at the board, verify nothing changed with your redirect url in the discord bot setup...
User bddf69
There's not much to go on right now :p
User bddf69
CSMM logs could have more details here
User 6c4a2d
In fact, all the features are working, I just can't log into the system anymore
User 6c4a2d
When trying to log into CSMM, Steam comes back with "Error: Something went wrong while attempting to sign you in. Please try again later."
Its been happening for a few days now. Nothing has changed in the settings since I got the system working.
Its been happening for a few days now. Nothing has changed in the settings since I got the system working.
User bddf69
What is the error exactly? Do you see more details in your CSMM logs?
Tuesday, December 5, 2023
User 6c4a2d
Everything works except I just can't log in due to steam coming back with that stupid error
User 6c4a2d
Yes
User 23fa64
Are you hosting your own CSMM instance?
User 6c4a2d
its been like this for a few days now though, any work arounds?
User a506fe
Always bad hair day for steam
User a506fe
It's Tuesday
User 6c4a2d
So after the little hiccups, I got csmm running good since until a few days ago. I can't log into it anymore. When I try, steam comes back saying there is an error and to retry later.
User 0b2cfa
yeah im going down that road, nothing new for me lol
User 23fa64
To self host, you have to be willing to google search and figure things out.
It's not for everyone.
User 0b2cfa
sigh, its all greek to me but i followed every step
User bddf69
I think you're missing the DB URL env param
User bddf69
That looks like the normal docker output, you can do
docker-compose logs <service> to see logs for a specific service (if you look at csmm-web it should look similar to what you saw before)Monday, December 4, 2023
User 374c5d
also i can direct you to an arm container for csmm
User 374c5d
maybe the file is missing
User 0b2cfa
trying to do self host on a pi 4 and got to part where i run
npm run db:migrate and i got this ERROR: Error reading "sequelize.config.js". Error: TypeError: Cannot read properties of undefined (reading 'replace')
