Error: ENOENT, open 'logs/error.log'
-
Hi.
I'm installing plugins to my new board and now it's all broken.
Here's the part of forever log.[31merror[39m: [plugins/emailer-mandrill] API key not set!
[31merror[39m: A Google Analytics ID (e.g. UA-XXXXX-X) was not specified. Please complete setup in the administration panel.
[31merror[39m: ENOENT, open 'logs/error.log'
Error: ENOENT, open 'logs/error.log'
[32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
[32minfo[39m: [app] Database connection closed.
[32minfo[39m: [app] Shutdown complete.
error: Forever detected script exited with code: 1
error: Script restart attempt #1So it fails on writing to 'logs/error.log'?
But where is it and how to check that it has necessary permissions? -
I guess it may fail because the directory 'logs' doesn't exits.
try to create such a directory in your NodeBB root -
I imagine you installed nodebb as root and then are trying to run it as a regular user?