self-host-csmm-support

textPage 45 of 373
50 messages on this page
Saturday, August 12, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Is that running in Docker too? Or is that host networking?
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
i use Nginx Proxy Manager, and on stop start, it would no longer be pointing at the right IP for routing, so i have to update the proxy to get back at csmm
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yes but the real question is, why do you care about the subnet increasing? πŸ˜‰ It's better to let Docker take care of networking for you
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
question, every time i stop the docker file and then bring it back up, the subnet keeps increasing, 172.21, 172.22, 172.23 ... to stop this i think i just need to add a network to the end of the compose file? yes? like:
networks:   default:     ipam:       config:         - subnet: 172.25.0.0/16

attached is the compose file i am currently running...

csmm.txt

TXT β€’ 1.4 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Double check to see if your sql database and redis are running correctly? And what config have you set for them in your .env?
Friday, August 11, 2023
Avatar for 11b15f69d41f27f9896441bc9966645d801564734105bd4f6dca1244d7019d52
User 11b15f
Tried searching this channel first but not seeing a solution. New install, get this after running "node_env=production npm run start"
[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 processTicksAndRejections (node:internal/process/task_queues:78:11)
[worker] npm run start:worker exited with code 1
--> Sending SIGTERM to other processes..
[app] npm run start:app exited with code SIGTERM
Any ideas what to check?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
No content
image.png

image.png

PNG β€’ 24.5 KB

Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
sec
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yes i send you a screenshot of the webtokens list
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The token you made is permission level 0, right?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Or some other permissions-related issue
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Not related, it's the token that's wrong
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
" 2023-08-11 19:31:11 28 [Warning] Aborted connection 28 to db: 'csmm' user: 'csmm' host: '172.20.0.5' (Got an error reading communication packets) " thats what i see in csmm logs
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yes, i didt it mutible times. like 20 times with different credentiels which i was creating with the webtokens
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Double check that you're not accidentally copying a space maybe?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
i realy dont know where to search anymore. I reinstalled 7 days server, reinstalled csmm multible times. And error log still posting that the token is invalid. I realy cant understand why :/
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
i checked again, no updates available. I got the newest alocs from today 08.11 and server + client is on latest stable
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
There were updates today which changed some behavior of those
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yes but make sure you are on the latest version of the game and allocs
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
okay yes, but i cant understand why. I recreatet it multible times with webtokens command. There are just 2 Places for the token right?
create it with webtokens command, and put it to csmm. No other places like webpermmisions?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Your token isn't correct
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The error message you got here is what you wanna look at
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh sorry, I just reread the convo
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
maybe refresh docker image and remove db data?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
no, there was my old server but i removed it, to reconnect
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
If there an old server in your CSMM configured to use port 8082 then?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
No content
image.png

image.png

PNG β€’ 14.1 KB

Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yes πŸ™‚
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
In CSMM I mean
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
this one?
image.png

image.png

PNG β€’ 17.2 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Have you configured port 8080?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
8080 is the webapp port from allocs on my side
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
shouldnt be the accesing port from log 8080?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
mhmm i readded with a new user and removed the old, but still the same
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
something is wrong with your token
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
csmm logs are showing me connect refused but accessing from port 8082
image.png

image.png

PNG β€’ 62.2 KB

Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
i can acces it outside the network too
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yeo its true
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
sec i check
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
is that enabled?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
no i used no upper letters
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yes, its 14 letters long. Is there maybe a need for upper letters?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
did you make a long enough password? because i had that issue just now
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
only tcp
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
tcp and udp (normally i dont need udp right?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
8080 is the port
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yes, opened it on my linux machine and on the network router
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
ports are open?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
yes i used this πŸ™‚