Hello,
I am starting a new small forum so i test some plugins.
After the last plugin installations, i get an 502 Bad Gateway error. The last plugin install before the error: plugin-sso-wordpress, plugin-ns-utils, plugin-ns-points.
My config: ubuntu 14.04 + nginx + mongodb
I can successfully start nodebb
./nodebb start
But after the first page reload, i get an 502 error and i get:
root@server:/usr/share/nginx/html/le.club.systemes.sonores.rocks# events.js:141
throw er; // Unhandled 'error' event
^
Error: write after end
at writeAfterEnd (_stream_writable.js:159:12)
at LogStream.Writable.write (_stream_writable.js:204:5)
at Socket.ondata (_stream_readable.js:528:20)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at Pipe.onread (net.js:523:20)
When i check the log:
./nodebb log
I get:
19/1 07:07 [1105] - warn: [meta/dependencies] Bundled plugin nodebb-plugin-soundpack-default not found, skipping dependency check.
19/1 07:07 [1105] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
19/1 07:07 [1105] - warn: [plugins/nodebb-plugin-sso-google] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead.
19/1 07:07 [1105] - warn: [plugins/nodebb-plugin-sso-twitter] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead.
19/1 07:07 [1105] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
* nodebb-plugin-recent-cards
* nodebb-plugin-desktop-notifications
19/1 07:36 [1391] - info: [plugins/spam-be-gone] Settings loaded
19/1 07:36 [1391] - error: TypeError: OAuth2Strategy requires a clientID option
I have try to remove the last plugin:
root@server:/usr/share/nginx/html/le.club.systemes.sonores.rocks# ./nodebb reset -p plugin-ns-points
19/1 07:54 [1593] - warn: You have no mongo password setup!
19/1 07:54 [1593] - info: [database] Checking database indices.
19/1 07:54 [1593] - warn: [reset] Plugin `plugin-ns-points` was not active on this forum
19/1 07:54 [1593] - info: [reset] No action taken.
Is the problem due to the plugin? The configuration?
I don't understand because i have and a password to mongodb.
Sorry i'm strating with node.js and i am lost because i am not able to restart the forum.
Thank you for advance for any help.
jB