headers already sent
-
i really can't find anything about this, so i'm posting a second question today...
I haven't been able to run nodebb yet, i go through the setup and then start it with ./nodebb start, but it doesn't start. anyone know how to fix this?
[cluster] Child Process (15747) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
21/7 18:07 [15759] - info: Time: Tue Jul 21 2015 18:07:55 GMT-0400 (EDT)
21/7 18:07 [15759] - info: Initializing NodeBB v0.7.1
21/7 18:07 [15759] - info: NodeBB Ready
21/7 18:07 [15759] - info: NodeBB is now listening on: 0.0.0.0:4567
21/7 18:07 [15759] - error: /admin
Error: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
at ReplyParser.<anonymous> (/home/axel/NodeBB-NodeBB-65a349f/node_modules/redis/index.js:305:31)
at ReplyParser.emit (events.js:95:17)
at ReplyParser.send_error (/home/axel/NodeBB-NodeBB-65a349f/node_modules/redis/lib/parser/javascript.js:296:10)
at ReplyParser.execute (/home/axel/NodeBB-NodeBB-65a349f/node_modules/redis/lib/parser/javascript.js:181:22)
at RedisClient.on_data (/home/axel/NodeBB-NodeBB-65a349f/node_modules/redis/index.js:534:27)
at Socket.<anonymous> (/home/axel/NodeBB-NodeBB-65a349f/node_modules/redis/index.js:91:14)
at Socket.emit (events.js:95:17)
at Socket.<anonymous> (stream_readable.js:748:14)
at Socket.emit (events.js:92:17)
at emitReadable (_stream_readable.js:410:10)
21/7 18:07 [15759] - error: Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:689:11)
at ServerResponse.header (/home/axel/NodeBB-NodeBB-65a349f/node_modules/express/lib/response.js:718:10)
at ServerResponse.send (/home/axel/NodeBB-NodeBB-65a349f/node_modules/express/lib/response.js:163:12)
at defaultFn (/home/axel/NodeBB-NodeBB-65a349f/src/middleware/middleware.js:304:10)
at /home/axel/NodeBB-NodeBB-65a349f/src/middleware/middleware.js:351:7
at /home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:160:6
at /home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:180:4
at Object.translator.load (/home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:209:5)
at translateKey (/home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:178:14)
at /home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:157:4
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:689:11)
at ServerResponse.header (/home/axel/NodeBB-NodeBB-65a349f/node_modules/express/lib/response.js:718:10)
at ServerResponse.send (/home/axel/NodeBB-NodeBB-65a349f/node_modules/express/lib/response.js:163:12)
at defaultFn (/home/axel/NodeBB-NodeBB-65a349f/src/middleware/middleware.js:304:10)
at /home/axel/NodeBB-NodeBB-65a349f/src/middleware/middleware.js:351:7
at /home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:160:6
at /home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:180:4
at Object.translator.load (/home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:209:5)
at translateKey (/home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:178:14)
at /home/axel/NodeBB-NodeBB-65a349f/public/src/modules/translator.js:157:4
21/7 18:07 [15759] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
21/7 18:07 [15759] - info: [app] Database connection closed.
21/7 18:07 [15759] - info: [app] Web server closed to connections.
21/7 18:07 [15759] - info: [app] Shutdown complete.
3 restarts in 10 seconds, most likely an error on startup. Halting.