self-host-csmm-support

textPage 35 of 373
50 messages on this page
Thursday, December 7, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Always use
npm ci
btw, never
npm i
because
npm i
will modify the lock file, potentially causing issues
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User 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?
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
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
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
The docker refuses to find the .env file even tho it's there
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yeah 127.0.0.1 then (1 at the end)
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
no worries
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Ahhh okay my bad
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
we are both 'trying' to install the self host option
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
I'm not,.I had zero luck with the docker
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
If you're using docker, it cannot be 127.0.0.1 because that's the wrong container 😄
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
Might be I'm doing it from memory, at work and forgot to forward the remote port for the machine running it
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
correct me if im wrong shouldn't it be 127.0.0.1?
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
In the .env? If so it's 127.0.0.0
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
no am using the host option now as the docker didn't work and was getting issue after issue
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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 file
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Not a IP address
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Check what your redis connection URL is? it should be smth like
redis://cache:6372
iirc
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
yeah the docker gets so far then just stops, i oringally thought it was the answer to all my problems but nope haha
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
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
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
thats not linked to the issue i have now is it?
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
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
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
Looks like it's looking for 0.0.0.0 instead of 127.0.0.0 or localhosy
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
And to add Google is a useful as a wet paper bag 😩
Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
we have progressed to this :/
image.png

image.png

PNG43.9 KB

Avatar for 0cec7b679cffd6141a393072bf27c9e50c091382dcfa3773b1564d2dec5d200e
User 0cec7b
getting this error even though.. the password is correct :/
image.png

image.png

PNG7.8 KB

Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
got a little farther, now im getting this error on start up
```[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
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
I think it may be due to the redirection of the domain name I have in place locally
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
it happens after approving the login with Steam Guard
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
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...
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
There's not much to go on right now :p
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
CSMM logs could have more details here
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
In fact, all the features are working, I just can't log into the system anymore
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
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.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
What is the error exactly? Do you see more details in your CSMM logs?
Tuesday, December 5, 2023
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
Everything works except I just can't log in due to steam coming back with that stupid error
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
Yes
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Are you hosting your own CSMM instance?
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
User 6c4a2d
its been like this for a few days now though, any work arounds?
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Always bad hair day for steam
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
It's Tuesday
Avatar for 6c4a2d064584fa196e267e004d752390e043b7962111c24d92cc56fee975de5e
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.
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
yeah im going down that road, nothing new for me lol
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
To self host, you have to be willing to google search and figure things out.
It's not for everyone.
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
User 0b2cfa
sigh, its all greek to me but i followed every step
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I think you're missing the DB URL env param
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
also i can direct you to an arm container for csmm
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
maybe the file is missing
Avatar for 0b2cfa4611e2843250eedc9a37d2cca2672cfc23864b2d925164f0651fb5115c
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')