self-host-csmm-support

textPage 43 of 373
50 messages on this page
Saturday, August 26, 2023
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
as i see requests module is deprecated
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
that is why it is crashing
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
/node_modules/request-promise-native/package.json module not found
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
ok. ill try to dig why the nginx does not see the service
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
idk about the PM2. my setup is all through containers
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
that links to a CNAME i created on one of my domains & that links to a duckdns.org link back to my server
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
and the PM2 status fork means it is waiting for requests?
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
my rp is set to internalip:1337
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
so just point to a service directly?
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
whole point of reverse proxy
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
if youre running reverse proxy the port doesnt need to be open
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
nginx configured and working, csmm service running but not opening the port
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
No content
image.png

image.png

PNG β€’ 19.7 KB

Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
No content
image.png

image.png

PNG β€’ 7.2 KB

Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
?
Avatar for 54ddc462bdb8c5420a2193ca02adef5093e0a40e82f419841d2a2e7f565c65b0
User 54ddc4
why csmm does not listen on localhost:1337
Friday, August 25, 2023
Avatar for 1b4e1048e28647905fbef71c842503633ab7497fb304f78d60480b9f0edeac41
User 1b4e10
Rebooting the CSMM instance resolved the problem
Thursday, August 24, 2023
Avatar for 1b4e1048e28647905fbef71c842503633ab7497fb304f78d60480b9f0edeac41
User 1b4e10
Have to mess with that later after work
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Did you get it fixed with that?
Avatar for 1b4e1048e28647905fbef71c842503633ab7497fb304f78d60480b9f0edeac41
User 1b4e10
I give up, gonna re-install the droplet
Avatar for 1b4e1048e28647905fbef71c842503633ab7497fb304f78d60480b9f0edeac41
User 1b4e10
rebooted csmm and now docker wont start..ooof
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Typically, this is caused by a connection issue to Redis.
Can you check that
Redis is running
There's no errors in Redis logs
If you can't figure it out, try setting CSMMs loglevel to verbose (or debug) to show a bunch more info. You can copy the log file here if you want
Avatar for 1b4e1048e28647905fbef71c842503633ab7497fb304f78d60480b9f0edeac41
User 1b4e10
Any ideas on why this would start happening? CSMM was working fine until i rebooted the 7days server recently.
[app] #033[32minfo#033[39m: Initializing custom hook (
discordChatbridge
)
[worker] #033[31merror#033[39m: undefined {"code":"E_HOOK_TIMEOUT"}
[worker] /usr/src/app/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 /usr/src/app/node_modules/sails/node_modules/async/dist/async.js:903:32
[worker] at /usr/src/app/node_modules/sails/lib/app/private/loadHooks.js:241:38
[worker] at processTicksAndRejections (node:internal/process/task_queues:78:11)
[worker] npm run start:worker exited with code 1
Wednesday, August 23, 2023
Avatar for 7985bf6e03c721a1e25529d5d8e3c46ee963cb0ba35be8bdb5e0288f5daaccbc
User 7985bf
Beautiful day for it where I live, almost seems like fall.
Tuesday, August 22, 2023
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Yeah, just looked.
I have been unplugged with the fam most of the day.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Nice!
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
but BeatyBeatz posted that he will update the db in the next few days
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
not since jan 23rd
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Not sure that has been updated?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Nice!! didn't know about that! Thanks πŸ™‚
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
maybe banorama could be helping there
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
sync? no... but maybe, just maybe something like this will come down the lines in a new 'version' πŸ˜‰ only Cata knows for sure...
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I don't think there is a way i can sync the global ban list with my csmm since i self host right?
Sunday, August 20, 2023
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
what dose this mean
image.png

image.png

PNG β€’ 9.8 KB

Avatar for 392ae3e36967cca9c0b11bbc95d503296568d3c7f761ce284a6f7f22993ed8d8
User 392ae3
Was that it? πŸ™‚
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
ohh i see now
Avatar for 392ae3e36967cca9c0b11bbc95d503296568d3c7f761ce284a6f7f22993ed8d8
User 392ae3
Port is the same Allocs is set at. And that is, Server Port + 5 (e.g. 26000 as server port, 26005 for CSMM/allocs)
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
the port is it the telnet port or the webinterface port ?
Avatar for 392ae3e36967cca9c0b11bbc95d503296568d3c7f761ce284a6f7f22993ed8d8
User 392ae3
Not sure beyond that.
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
i have it running on windows tho
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
webtokens add 0
Avatar for 392ae3e36967cca9c0b11bbc95d503296568d3c7f761ce284a6f7f22993ed8d8
User 392ae3
And did you use
webtokens
or
webtokens_legacy
to add permissions?
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
i have allready done that
Avatar for 392ae3e36967cca9c0b11bbc95d503296568d3c7f761ce284a6f7f22993ed8d8
User 392ae3
In my case, I noticed when someone claims bought items from the shop, the item spawns and falls through the ground. Not sure if it is a common issue, or if there is more information needed on this one. I do remember the item going into the player's inventory in A20 though.
Avatar for 392ae3e36967cca9c0b11bbc95d503296568d3c7f761ce284a6f7f22993ed8d8
User 392ae3
Not sure if that helps but linking the announcement for the new Allocs
https://discord.com/channels/336821518250147850/336822204887203840/1139528072224313365
Avatar for 6de79293ad23d2b8ba3f20e48b27d3fca2f51fe7ae186d22cf08d4f6d39f39ff
User 6de792
cant connect my csmm to my deicated i have web api set up and Alloc's Server Fixes installed
Saturday, August 19, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh great news πŸ˜„