MongoDB wont connect
-
Upon starting my NodeBB forum, It came to my attention it wasnt actually loading. So I checked the log to find this
`Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb restart" to restart NodeBBroot@nodebb:~/nodebb# ./nodebb log
Hit Ctrl-C to exit
at emitOne (events.js:96:13) at Pool.emit (events.js:188:7) at Connection.<anonymous> (/root/nodebb/node_modules/mongodb-core/lib/connection/pool.js:274:12) at Connection.g (events.js:292:16) at emitTwo (events.js:106:13) at Connection.emit (events.js:191:7) at Socket.<anonymous> (/root/nodebb/node_modules/mongodb-core/lib/connection/connection.js:177:49) at Socket.g (events.js:292:16) at emitOne (events.js:96:13)
[cluster] Child Process (1953) has exited (code: 0, signal: null)`
I've got no clue how this happened. Since I didnt actually change anything at all. It was fine before I went to sleep, then I woke up and started it. And this is here.
-
Here it is, sorry @baris https://hastebin.com/vesucefodu.log
-
Make sure mongo is running
-
@PitaJ said in MongoDB wont connect:
Make sure mongo is running
Ahh fuck. That's what it was. I thought I set that up to automatically start.. Thanks!
-
This post is deleted!