Error while restarting the forum after several plugin update


  • We are using 1.12.2 , wanted to update several plugins including customize and audio-embed, but when we restarted the forum some plugins were missing (no clue why this happened), then I have installed customize plugin and while restarting the forum we got the error below:

    now, our forum is down... so any help is appreciated...

    2020-04-16T04:16:47.197Z [4567/4868] - info: Initializing NodeBB v1.12.2 https://XXXXXXX
    2020-04-16T04:16:48.302Z [4568/4856] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T04:16:48.304Z [4568/4856] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T04:16:48.305Z [4568/4856] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T04:16:48.600Z [4569/4828] - error: uncaughtException: callback is not a function
    TypeError: callback is not a function
        at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:4
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)
        at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)
        at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55) {"error":{},"stack":"TypeError: callback is not a function\n    at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:4\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)\n    at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)\n    at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)","exception":true,"date":"Thu Apr 16 2020 04:16:48 GMT+0000 (Coordinated Universal Time)","process":{"pid":4828,"uid":1001,"gid":1001,"cwd":"/home/nodebb/forum/nodebb","execPath":"/usr/bin/node","version":"v10.20.1","argv":["/usr/bin/node","/home/nodebb/forum/nodebb/app.js"],"memoryUsage":{"rss":167432192,"heapTotal":128770048,"heapUsed":91897664,"external":18454049}},"os":{"loadavg":[2.62939453125,2.49853515625,1.42919921875],"uptime":727},"trace":[{"column":4,"file":"/home/nodebb/forum/nodebb/src/database/mongo/hash.js","function":null,"line":157,"method":null,"native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":11,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"session.endSession","line":398,"method":"endSession","native":false},{"column":41,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js","function":"ClientSession.endSession","line":134,"method":"endSession","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":395,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false},{"column":5,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js","function":"cursor.next","line":598,"method":"next","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":9,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":402,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false}]}
    2020-04-16T04:16:48.610Z [4569/4828] - error: callback is not a function
    2020-04-16T04:16:48.617Z [4569/4828] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T04:16:48.619Z [4569/4828] - info: [app] Web server closed to connections.
    2020-04-16T04:16:48.620Z [4569/4828] - info: [app] Live analytics saved.
    2020-04-16T04:16:48.632Z [4569/4828] - info: [app] Database connection closed.
    2020-04-16T04:16:48.633Z [4569/4828] - info: [app] Shutdown complete.
    [cluster] Child Process (4828) has exited (code: 1, signal: null)
    
  • Global Moderator

    Try deleting node_modules, running npm install, and restarting.


  • @PitaJ said in Error while restarting the forum after several plugin update:

    Try deleting node_modules, running npm install, and restarting.

    Thanks for the reply...

    deleted the folder node_modules and then run npm install
    after that restarted...

    Unfortunately, not much change... Here is what we got:

    2020-04-16T05:12:11.940Z [4567/1651] - info: Initializing NodeBB v1.12.2 https://XXXX
    2020-04-16T05:12:12.088Z [4569/1639] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T05:12:12.171Z [4569/1639] - info: Routes added
    2020-04-16T05:12:12.198Z [4569/1639] - info: NodeBB Ready
    2020-04-16T05:12:12.208Z [4569/1639] - info: Enabling 'trust proxy'
    2020-04-16T05:12:12.213Z [4569/1639] - info: NodeBB is now listening on: 0.0.0.0:4569
    2020-04-16T05:12:13.827Z [4567/1651] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T05:12:13.828Z [4567/1651] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T05:12:13.829Z [4567/1651] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T05:12:13.829Z [4567/1651] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T05:12:13.830Z [4567/1651] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T05:12:14.095Z [4567/1651] - info: [socket.io] Restricting access to origin: https://XXXXX
    Thu, 16 Apr 2020 05:12:14 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 05:12:14 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    2020-04-16T05:12:14.204Z [4568/1601] - error: uncaughtException: callback is not a function
    TypeError: callback is not a function
        at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:4
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)
        at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)
        at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55) {"error":{},"stack":"TypeError: callback is not a function\n    at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:4\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)\n    at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)\n    at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)","exception":true,"date":"Thu Apr 16 2020 05:12:14 GMT+0000 (Coordinated Universal Time)","process":{"pid":1601,"uid":1001,"gid":1001,"cwd":"/home/nodebb/forum/nodebb","execPath":"/usr/bin/node","version":"v10.20.1","argv":["/usr/bin/node","/home/nodebb/forum/nodebb/app.js"],"memoryUsage":{"rss":183721984,"heapTotal":146808832,"heapUsed":120442464,"external":18829612}},"os":{"loadavg":[1.296875,0.39208984375,0.13671875],"uptime":55},"trace":[{"column":4,"file":"/home/nodebb/forum/nodebb/src/database/mongo/hash.js","function":null,"line":157,"method":null,"native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":11,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"session.endSession","line":398,"method":"endSession","native":false},{"column":41,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js","function":"ClientSession.endSession","line":134,"method":"endSession","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":395,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false},{"column":5,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js","function":"cursor.next","line":598,"method":"next","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":9,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":402,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false}]}
    2020-04-16T05:12:14.206Z [4568/1601] - error: callback is not a function
    2020-04-16T05:12:14.206Z [4568/1601] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T05:12:14.208Z [4568/1601] - info: [app] Web server closed to connections.
    2020-04-16T05:12:14.219Z [4568/1601] - info: [app] Live analytics saved.
    2020-04-16T05:12:14.231Z [4568/1601] - info: [app] Database connection closed.
    2020-04-16T05:12:14.232Z [4568/1601] - info: [app] Shutdown complete.
    

    Any suggestion?

  • Gamers Admin

    @crazycells said in Error while restarting the forum after several plugin update:

    at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:4

    Put a console.log(typeof callback, new Error('test').stack) just before this line and restart nodebb. Then post the output again, hopefully it should show where the error is coming from.


  • @baris said in Error while restarting the forum after several plugin update:

    @crazycells said in Error while restarting the forum after several plugin update:

    at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:4

    Put a console.log(typeof callback, new Error('test').stack) just before this line and restart nodebb. Then post the output again, hopefully it should show where the error is coming from.

    Thanks for the help... here is the current log:

    
    Clustering enabled: Spinning up 3 process(es).
    
    2020-04-16T06:18:51.460Z [4567/2646] - info: Initializing NodeBB v1.12.2 https://XXXXX
    2020-04-16T06:18:56.173Z [4568/2647] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T06:18:56.179Z [4568/2647] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T06:18:56.182Z [4568/2647] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T06:18:56.183Z [4568/2647] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T06:18:56.185Z [4567/2646] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T06:18:56.187Z [4568/2647] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T06:18:56.189Z [4569/2649] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T06:18:56.189Z [4567/2646] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T06:18:56.192Z [4569/2649] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T06:18:56.193Z [4567/2646] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T06:18:56.194Z [4569/2649] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T06:18:56.194Z [4567/2646] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T06:18:56.195Z [4567/2646] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T06:18:56.196Z [4569/2649] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T06:18:56.201Z [4569/2649] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T06:18:57.043Z [4568/2647] - info: [socket.io] Restricting access to origin: https://XXXX
    2020-04-16T06:18:57.049Z [4567/2646] - info: [socket.io] Restricting access to origin: https://XXXX
    2020-04-16T06:18:57.060Z [4569/2649] - info: [socket.io] Restricting access to origin: https://XXXX
    Thu, 16 Apr 2020 06:18:57 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:18:57 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:18:57 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:18:57 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:18:57 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:18:57 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    2020-04-16T06:18:59.618Z [4568/2647] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T06:18:59.636Z [4569/2649] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T06:18:59.654Z [4567/2646] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T06:18:59.729Z [4568/2647] - info: Routes added
    2020-04-16T06:18:59.745Z [4568/2647] - info: NodeBB Ready
    2020-04-16T06:18:59.753Z [4569/2649] - info: Routes added
    2020-04-16T06:18:59.755Z [4568/2647] - info: Enabling 'trust proxy'
    2020-04-16T06:18:59.758Z [4568/2647] - info: NodeBB is now listening on: 0.0.0.0:4568
    2020-04-16T06:18:59.769Z [4569/2649] - info: NodeBB Ready
    2020-04-16T06:18:59.775Z [4569/2649] - info: Enabling 'trust proxy'
    2020-04-16T06:18:59.778Z [4569/2649] - info: NodeBB is now listening on: 0.0.0.0:4569
    2020-04-16T06:18:59.801Z [4567/2646] - info: Routes added
    2020-04-16T06:18:59.808Z [4567/2646] - info: NodeBB Ready
    2020-04-16T06:18:59.811Z [4567/2646] - info: Enabling 'trust proxy'
    2020-04-16T06:18:59.814Z [4567/2646] - info: NodeBB is now listening on: 0.0.0.0:4567
    undefined Error: test
        at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:157:32
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)
        at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)
        at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)
    2020-04-16T06:19:05.390Z [4568/2647] - error: uncaughtException: callback is not a function
    TypeError: callback is not a function
        at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:158:3
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)
        at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)
        at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55) {"error":{},"stack":"TypeError: callback is not a function\n    at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:158:3\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)\n    at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)\n    at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)","exception":true,"date":"Thu Apr 16 2020 06:19:05 GMT+0000 (Coordinated Universal Time)","process":{"pid":2647,"uid":1001,"gid":1001,"cwd":"/home/nodebb/forum/nodebb","execPath":"/usr/bin/node","version":"v10.20.1","argv":["/usr/bin/node","/home/nodebb/forum/nodebb/app.js"],"memoryUsage":{"rss":167682048,"heapTotal":129294336,"heapUsed":92444720,"external":18641115}},"os":{"loadavg":[1.3291015625,1.04541015625,0.4765625],"uptime":324},"trace":[{"column":3,"file":"/home/nodebb/forum/nodebb/src/database/mongo/hash.js","function":null,"line":158,"method":null,"native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":11,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"session.endSession","line":398,"method":"endSession","native":false},{"column":41,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js","function":"ClientSession.endSession","line":134,"method":"endSession","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":395,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false},{"column":5,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js","function":"cursor.next","line":598,"method":"next","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":9,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":402,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false}]}
    2020-04-16T06:19:05.396Z [4568/2647] - error: callback is not a function
    2020-04-16T06:19:05.396Z [4568/2647] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T06:19:05.399Z [4568/2647] - info: [app] Web server closed to connections.
    2020-04-16T06:19:05.401Z [4568/2647] - info: [app] Live analytics saved.
    2020-04-16T06:19:05.409Z [4568/2647] - info: [app] Database connection closed.
    2020-04-16T06:19:05.409Z [4568/2647] - info: [app] Shutdown complete.
    [cluster] Child Process (2647) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    

    what do you think?


  • additional:

    Hit Ctrl-C to exit
    
    
    2020-04-16T06:19:45.423Z [4567/2815] - error: callback is not a function
    2020-04-16T06:19:45.424Z [4567/2815] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T06:19:45.451Z [4567/2815] - info: [app] Web server closed to connections.
    2020-04-16T06:19:45.490Z [4567/2815] - info: [app] Live analytics saved.
    2020-04-16T06:19:45.531Z [4567/2815] - error: /forum/topic/2213/dv2021-bekleme-odas%C4%B1/1322
    Topology was destroyed {"name":"MongoError","stack":"MongoError: Topology was destroyed\n    at initializeCursor (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:596:25)\n    at nextFunction (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:456:12)\n    at Cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:766:3)\n    at Cursor._next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/cursor.js:216:36)\n    at fetchDocs (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/cursor_ops.js:217:12)\n    at toArray (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/cursor_ops.js:247:3)\n    at executeOperation (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:416:24)\n    at Cursor.toArray (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/cursor.js:829:10)\n    at Object.module.isMemberOfSortedSets (/home/nodebb/forum/nodebb/src/database/mongo/sorted.js:359:110)\n    at /home/nodebb/forum/nodebb/src/groups/membership.js:216:8"}
    2020-04-16T06:19:45.539Z [4567/2815] - error: [plugin/gdpr] Could not append info to uid  -1: Topology was destroyed
    2020-04-16T06:19:45.557Z [4567/2815] - info: [app] Database connection closed.
    2020-04-16T06:19:45.560Z [4567/2815] - info: [app] Shutdown complete.
    9 restarts in 10 seconds, most likely an error on startup. Halting.
    
  • Gamers Admin

    That stack wasn't useful, maybe try

    module.isObjectField = function (key, field, callback) {
    		if (!key) {
    			return callback();
    		}
    		var data = {};
    		field = helpers.fieldToString(field);
    		data[field] = 1;
    
                    console.log(typeof callback, new Error('test').stack);
    
    		db.collection('objects').findOne({ _key: key }, { projection: data }, function (err, item) {
    			callback(err, !!item && item[field] !== undefined && item[field] !== null);
    		});
    	};
    

    Not sure if this is related to plugins but you can disable all plugins except the ones that come with default nodebb to see if it resolves the issue.


  • Just to make sure... You have seen the additional part above, right?

    We have tried what you said, here is the log:

    Part 1:

    Clustering enabled: Spinning up 3 process(es).
    
    2020-04-16T06:31:06.227Z [4567/3350] - info: Initializing NodeBB v1.12.2 https://XXXXX
    2020-04-16T06:31:10.989Z [4568/3352] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T06:31:10.989Z [4567/3350] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T06:31:10.990Z [4568/3352] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T06:31:10.991Z [4567/3350] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T06:31:10.992Z [4568/3352] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T06:31:10.993Z [4567/3350] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T06:31:10.994Z [4568/3352] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T06:31:10.996Z [4568/3352] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T06:31:10.997Z [4567/3350] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T06:31:10.998Z [4567/3350] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T06:31:11.010Z [4569/3357] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-important`. Skipping.
    2020-04-16T06:31:11.012Z [4569/3357] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-poll`. Skipping.
    2020-04-16T06:31:11.013Z [4569/3357] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-ns-embed`. Skipping.
    2020-04-16T06:31:11.016Z [4569/3357] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-audio-embed`. Skipping.
    2020-04-16T06:31:11.020Z [4569/3357] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-youtube-embed`. Skipping.
    2020-04-16T06:31:11.824Z [4567/3350] - info: [socket.io] Restricting access to origin: https://XXXX
    2020-04-16T06:31:11.829Z [4568/3352] - info: [socket.io] Restricting access to origin: https://XXXX
    2020-04-16T06:31:11.858Z [4569/3357] - info: [socket.io] Restricting access to origin: https://XXXX
    Thu, 16 Apr 2020 06:31:11 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:31:11 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:31:11 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:31:11 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:31:11 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
    Thu, 16 Apr 2020 06:31:11 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
    2020-04-16T06:31:14.386Z [4569/3357] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T06:31:14.389Z [4567/3350] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T06:31:14.390Z [4568/3352] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T06:31:14.473Z [4568/3352] - info: Routes added
    2020-04-16T06:31:14.485Z [4569/3357] - info: Routes added
    2020-04-16T06:31:14.508Z [4569/3357] - info: NodeBB Ready
    2020-04-16T06:31:14.508Z [4568/3352] - info: NodeBB Ready
    2020-04-16T06:31:14.521Z [4567/3350] - info: Routes added
    2020-04-16T06:31:14.522Z [4568/3352] - info: Enabling 'trust proxy'
    2020-04-16T06:31:14.526Z [4569/3357] - info: Enabling 'trust proxy'
    2020-04-16T06:31:14.533Z [4568/3352] - info: NodeBB is now listening on: 0.0.0.0:4568
    2020-04-16T06:31:14.538Z [4569/3357] - info: NodeBB is now listening on: 0.0.0.0:4569
    2020-04-16T06:31:14.543Z [4567/3350] - info: NodeBB Ready
    2020-04-16T06:31:14.546Z [4567/3350] - info: Enabling 'trust proxy'
    2020-04-16T06:31:14.548Z [4567/3350] - info: NodeBB is now listening on: 0.0.0.0:4567
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    
    

  • PArt 2:

    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    function Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Groups.existsBySlug (/home/nodebb/forum/nodebb/src/groups/index.js:284:6)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:66:19
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3880:24
        at replenish (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1011:17)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1016:9
        at eachOfLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1041:24)
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1046:16
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at _parallel (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3879:5)
    undefined Error: test
        at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
        at Object.plugin.hasKey (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-2factor/library.js:107:35)
        at Object.plugin.checkSocket [as method] (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-2factor/library.js:196:19)
        at /home/nodebb/forum/nodebb/src/plugins/hooks.js:172:14
        at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3110:16
        at eachOfArrayLike (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1069:9)
        at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
        at Object.eachLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3172:5)
        at fireStaticHook (/home/nodebb/forum/nodebb/src/plugins/hooks.js:161:9)
        at Object.Plugins.fireHook (/home/nodebb/forum/nodebb/src/plugins/hooks.js:111:4)
    2020-04-16T06:31:21.103Z [4567/3350] - error: uncaughtException: callback is not a function
    TypeError: callback is not a function
        at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:158:3
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)
        at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)
        at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)
        at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)
        at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)
        at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55) {"error":{},"stack":"TypeError: callback is not a function\n    at /home/nodebb/forum/nodebb/src/database/mongo/hash.js:158:3\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at session.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:398:11)\n    at ClientSession.endSession (/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js:134:41)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:395:17)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)\n    at cursor.next (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js:598:5)\n    at result (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:410:17)\n    at executeCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:402:9)\n    at handleCallback (/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js:128:55)","exception":true,"date":"Thu Apr 16 2020 06:31:21 GMT+0000 (Coordinated Universal Time)","process":{"pid":3350,"uid":1001,"gid":1001,"cwd":"/home/nodebb/forum/nodebb","execPath":"/usr/bin/node","version":"v10.20.1","argv":["/usr/bin/node","/home/nodebb/forum/nodebb/app.js"],"memoryUsage":{"rss":167919616,"heapTotal":130342912,"heapUsed":91175904,"external":18662046}},"os":{"loadavg":[0.42626953125,0.28564453125,0.37353515625],"uptime":1059},"trace":[{"column":3,"file":"/home/nodebb/forum/nodebb/src/database/mongo/hash.js","function":null,"line":158,"method":null,"native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":11,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"session.endSession","line":398,"method":"endSession","native":false},{"column":41,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/sessions.js","function":"ClientSession.endSession","line":134,"method":"endSession","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":395,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false},{"column":5,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/operations/collection_ops.js","function":"cursor.next","line":598,"method":"next","native":false},{"column":17,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"result","line":410,"method":null,"native":false},{"column":9,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"executeCallback","line":402,"method":null,"native":false},{"column":55,"file":"/home/nodebb/forum/nodebb/node_modules/mongodb/lib/utils.js","function":"handleCallback","line":128,"method":null,"native":false}]}
    2020-04-16T06:31:21.105Z [4567/3350] - error: callback is not a function
    2020-04-16T06:31:21.106Z [4567/3350] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T06:31:21.107Z [4567/3350] - info: [app] Web server closed to connections.
    2020-04-16T06:31:21.108Z [4567/3350] - info: [app] Live analytics saved.
    2020-04-16T06:31:21.112Z [4567/3350] - info: [app] Database connection closed.
    2020-04-16T06:31:21.113Z [4567/3350] - info: [app] Shutdown complete.
    [cluster] Child Process (3350) has exited (code: 1, signal: null)
    
  • Gamers Admin

    @crazycells said in Error while restarting the forum after several plugin update:

    undefined Error: test
    at Object.module.isObjectField (/home/nodebb/forum/nodebb/src/database/mongo/hash.js:156:32)
    at Object.plugin.hasKey (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-2factor/library.js:107:35)
    at Object.plugin.checkSocket [as method] (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-2factor/library.js:196:19)
    at /home/nodebb/forum/nodebb/src/plugins/hooks.js:172:14
    at /home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3110:16
    at eachOfArrayLike (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1069:9)
    at eachOf (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:1117:5)
    at Object.eachLimit (/home/nodebb/forum/nodebb/node_modules/async/dist/async.js:3172:5)
    at fireStaticHook (/home/nodebb/forum/nodebb/src/plugins/hooks.js:161:9)
    at Object.Plugins.fireHook (/home/nodebb/forum/nodebb/src/plugins/hooks.js:111:4)

    OK, so the issue is in the plugin nodebb-plugin-2factor Downgrade it to 2.6.6 and it should work.

    https://github.com/julianlam/nodebb-plugin-2factor/issues/49

  • Community Rep

    @crazycells fwiw, low tech trouble shooting if/when...

    1. Disable all those plugins.
    2. See if it works w/the default shipped stuff.
    3. Selectively add your extras back in one by one until you hit the pothole.

    Apologies if overly simplistic, but maybe of use to others? Old greybeard sysadmins' creed is that sometimes low tech is the best tech. At least until you get production stuff back online and can triage at leisure. 😜


  • @gotwf thanks, actually we have tried; but timing was so bad, therefore we decided to re-install the forum with an automatic back up from several hours back.


  • @baris Thanks, it is possible. I believe we have deleted almost all of the plugins, but somehow got similar errors so decided to install 1.13.2 with a back up database from several hours back.

    We have encountered very serious UI problems in our upgrade, all pages were blank and they were all coming when the page is refreshed but none of the buttons were clickable...

    After installing 3 times and getting the same problem, we have found the solution here:

    https://community.nodebb.org/topic/14672/fresh-installation-seems-broken

    I think this needs to be fixed, so others don't have the same problems. We were worried that there was problem with our back up database. Currently, our forum is back on... and we have only lost several hours of posts, which was acceptable for us.

    I will update the forum with bugs as we encounter them...


  • @baris We have some problems, but I do not know what... first of all, normally restarting and rebuilding the forum takes less than 30 seconds, however currently it is taking more than 1 minutes...

    Forum looks ok, but customize plugin does not seem to be working, both changes in .tpl files and changes in translations are not appearing in the forum...

    Here is the log:

    [32m  started
    (node:11248) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:11248) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:11248) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    2020-04-16T23:28:46.299Z [4568/11248] - info: [build] Building in series mode
    2020-04-16T23:28:46.299Z [4568/11248] - info: [build]         plugin static dirs  build started
    2020-04-16T23:28:46.330Z [4568/11248] - info: [build]         plugin static dirs  build completed in 0.031sec
    2020-04-16T23:28:46.330Z [4568/11248] - info: [build]          requirejs modules  build started
    2020-04-16T23:28:53.815Z [4568/11248] - info: [build]          requirejs modules  build completed in 7.485sec
    2020-04-16T23:28:53.816Z [4568/11248] - info: [build]           client js bundle  build started
    2020-04-16T23:28:57.982Z [4568/11248] - info: [build]           client js bundle  build completed in 4.166sec
    2020-04-16T23:28:57.986Z [4568/11248] - info: [build]            admin js bundle  build started
    2020-04-16T23:29:01.630Z [4568/11248] - info: [build]            admin js bundle  build completed in 3.644sec
    2020-04-16T23:29:01.630Z [4568/11248] - info: [build]         client side styles  build started
    2020-04-16T23:29:12.275Z [4568/11248] - info: [build]         client side styles  build completed in 10.645sec
    2020-04-16T23:29:12.275Z [4568/11248] - info: [build] admin control panel styles  build started
    2020-04-16T23:29:22.747Z [4568/11248] - info: [build] admin control panel styles  build completed in 10.472sec
    2020-04-16T23:29:22.747Z [4568/11248] - info: [build]                  templates  build started
    2020-04-16T23:29:32.754Z [4568/11248] - info: [build]                  templates  build completed in 10.007sec
    2020-04-16T23:29:32.754Z [4568/11248] - info: [build]                  languages  build started
    2020-04-16T23:29:46.563Z [4568/11248] - info: [build]                  languages  build completed in 13.809sec
    2020-04-16T23:29:46.563Z [4568/11248] - info: [build]                     sounds  build started
    2020-04-16T23:29:46.569Z [4568/11248] - info: [build]                     sounds  build completed in 0.006sec
    2020-04-16T23:29:46.570Z [4568/11248] - info: [build] Asset compilation successful. Completed in 60.27sec.
    [cluster] Restarting...
    2020-04-16T23:29:46.602Z [4567/11247] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T23:29:46.607Z [4569/11249] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2020-04-16T23:29:46.613Z [4568/11248] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    Clustering enabled: Spinning up 3 process(es).
    
    2020-04-16T23:29:46.685Z [4568/11248] - info: [app] Web server closed to connections.
    2020-04-16T23:29:46.684Z [4569/11249] - info: [app] Web server closed to connections.
    2020-04-16T23:29:46.711Z [4568/11248] - info: [app] Live analytics saved.
    2020-04-16T23:29:46.720Z [4569/11249] - info: [app] Live analytics saved.
    2020-04-16T23:29:46.742Z [4567/11247] - info: [app] Web server closed to connections.
    2020-04-16T23:29:46.786Z [4568/11248] - info: [app] Database connection closed.
    2020-04-16T23:29:46.784Z [4567/11247] - info: [app] Live analytics saved.
    2020-04-16T23:29:46.788Z [4568/11248] - info: [app] Shutdown complete.
    2020-04-16T23:29:46.876Z [4569/11249] - info: [app] Database connection closed.
    2020-04-16T23:29:46.876Z [4569/11249] - info: [app] Shutdown complete.
    2020-04-16T23:29:46.945Z [4567/11247] - info: [app] Database connection closed.
    2020-04-16T23:29:46.947Z [4567/11247] - info: [app] Shutdown complete.
    [cluster] Child Process (11247) has exited (code: 0, signal: null)
    [cluster] Child Process (11248) has exited (code: 0, signal: null)
    [cluster] Child Process (11249) has exited (code: 0, signal: null)
    2020-04-16T23:29:48.511Z [4567/13902] - info: Initializing NodeBB v1.13.2 https://XXXXXX
    (node:13902) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13903) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13902) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13904) DeprecationWarning: The option `autoReconnect` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13902) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13904) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13904) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13903) DeprecationWarning: The option `reconnectTries` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    (node:13903) DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
    2020-04-16T23:29:54.126Z [4568/13903] - info: [socket.io] Restricting access to origin: https://XXXXX
    2020-04-16T23:29:54.132Z [4569/13904] - info: [socket.io] Restricting access to origin: https://XXXXX
    2020-04-16T23:29:54.198Z [4567/13902] - info: [socket.io] Restricting access to origin: https://XXXXX
    2020-04-16T23:29:55.380Z [4567/13902] - warn: [deprecated] requiring core modules with `module.parent.require('./database'
    Require stack:
    - /home/nodebb/forum/nodebb/src/plugins/index.js
    - /home/nodebb/forum/nodebb/src/groups/index.js
    - /home/nodebb/forum/nodebb/src/user/index.js
    - /home/nodebb/forum/nodebb/src/events.js
    - /home/nodebb/forum/nodebb/src/meta/themes.js
    - /home/nodebb/forum/nodebb/src/meta/index.js
    - /home/nodebb/forum/nodebb/src/start.js
    - /home/nodebb/forum/nodebb/require-main.js
    - /home/nodebb/forum/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead.
        at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24)
    2020-04-16T23:29:55.387Z [4569/13904] - warn: [deprecated] requiring core modules with `module.parent.require('./database'
    Require stack:
    - /home/nodebb/forum/nodebb/src/plugins/index.js
    - /home/nodebb/forum/nodebb/src/groups/index.js
    - /home/nodebb/forum/nodebb/src/user/index.js
    - /home/nodebb/forum/nodebb/src/events.js
    - /home/nodebb/forum/nodebb/src/meta/themes.js
    - /home/nodebb/forum/nodebb/src/meta/index.js
    - /home/nodebb/forum/nodebb/src/start.js
    - /home/nodebb/forum/nodebb/require-main.js
    - /home/nodebb/forum/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead.
        at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24)
    2020-04-16T23:29:55.388Z [4568/13903] - warn: [deprecated] requiring core modules with `module.parent.require('./database'
    Require stack:
    - /home/nodebb/forum/nodebb/src/plugins/index.js
    - /home/nodebb/forum/nodebb/src/groups/index.js
    - /home/nodebb/forum/nodebb/src/user/index.js
    - /home/nodebb/forum/nodebb/src/events.js
    - /home/nodebb/forum/nodebb/src/meta/themes.js
    - /home/nodebb/forum/nodebb/src/meta/index.js
    - /home/nodebb/forum/nodebb/src/start.js
    - /home/nodebb/forum/nodebb/require-main.js
    - /home/nodebb/forum/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead.
        at Object.<anonymous> (/home/nodebb/forum/nodebb/node_modules/nodebb-plugin-audio-embed/library.js:11:24)
    2020-04-16T23:29:56.918Z [4568/13903] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T23:29:56.921Z [4569/13904] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T23:29:57.029Z [4568/13903] - info: Routes added
    2020-04-16T23:29:57.030Z [4567/13902] - info: [plugins/spam-be-gone] Settings loaded
    2020-04-16T23:29:57.036Z [4569/13904] - info: Routes added
    2020-04-16T23:29:57.043Z [4568/13903] - info: NodeBB Ready
    2020-04-16T23:29:57.051Z [4569/13904] - info: NodeBB Ready
    2020-04-16T23:29:57.059Z [4568/13903] - info: Enabling 'trust proxy'
    2020-04-16T23:29:57.064Z [4568/13903] - info: NodeBB is now listening on: 0.0.0.0:4568
    2020-04-16T23:29:57.066Z [4569/13904] - info: Enabling 'trust proxy'
    2020-04-16T23:29:57.068Z [4569/13904] - info: NodeBB is now listening on: 0.0.0.0:4569
    2020-04-16T23:30:01.733Z [4567/13902] - warn: [plugins] Callback timed out, hook 'static:app.load' in plugin 'nodebb-plugin-emoji'
    2020-04-16T23:30:02.233Z [4567/13902] - info: Routes added
    2020-04-16T23:30:02.417Z [4567/13902] - info: NodeBB Ready
    2020-04-16T23:30:02.420Z [4567/13902] - info: Enabling 'trust proxy'
    2020-04-16T23:30:02.426Z [4567/13902] - info: NodeBB is now listening on: 0.0.0.0:4567
    
    
    

  • this is the plugin list with order:

    nodebb-theme-persona
    nodebb-plugin-composer-default
    nodebb-plugin-markdown
    nodebb-plugin-mentions
    nodebb-widget-essentials
    nodebb-rewards-essentials
    nodebb-plugin-soundpack-default
    nodebb-plugin-emoji
    nodebb-plugin-dbsearch
    nodebb-plugin-btn-spoilers-yesilkart
    nodebb-plugin-audio-embed
    nodebb-plugin-calendar
    nodebb-plugin-canned-responses
    nodebb-plugin-emoji-one
    nodebb-plugin-extended-markdown
    nodebb-plugin-google-analytics
    nodebb-plugin-ns-embed
    nodebb-plugin-spam-be-gone
    nodebb-plugin-osm-map
    nodebb-plugin-poll
    nodebb-plugin-recent-cards
    nodebb-plugin-sso-google
    nodebb-plugin-browsing-users
    nodebb-plugin-sso-twitter
    nodebb-plugin-mega-colors
    nodebb-plugin-sso-facebook
    nodebb-plugin-custom-pages
    nodebb-plugin-tenor-gif
    nodebb-plugin-night-mode
    nodebb-plugin-2factor
    nodebb-plugin-dwnvtr
    nodebb-plugin-customize

  • @crazycells said in Error while restarting the forum after several plugin update:

    therefore we decided to re-install the forum with an automatic back up from several hours back.

    How can you do this automaticly? I am using redis and I have to copy dump.rdb manually.


  • @sharonyue said in Error while restarting the forum after several plugin update:

    @crazycells said in Error while restarting the forum after several plugin update:

    therefore we decided to re-install the forum with an automatic back up from several hours back.

    How can you do this automaticly? I am using redis and I have to copy dump.rdb manually.

    I think @FreeWorLD should answer this, since he is the main person/coder behind all of our work... As far as I can tell, he wrote some code , so server itself backs up database automatically every 6 hours and deletes oldest ones (we use digital ocean)... As database we use mongodb (I am not sure if it makes difference)...

  • Community Rep

    @sharonyue I use mongodb and only use redis for sessions. Backup the mongodb via cron'd mongodump.

    This guy uses rdiff and a cron job to automate backups of their redis stuff. I've not used this personally.


  • @sharonyue said in Error while restarting the forum after several plugin update:

    @crazycells said in Error while restarting the forum after several plugin update:

    therefore we decided to re-install the forum with an automatic back up from several hours back.

    How can you do this automaticly? I am using redis and I have to copy dump.rdb manually.

    As just mentioned, mongodb is backed up and the archive is compressed via cron, then sent to an external volume. The older ones also deleted periodically again via cron. Redis is used for sessions.

    I am looking into the option of taking multiple snapshots in a day via digitalocean API's to replace this system though. I did this succesfully for the data volumes however I have yet to come up with a way to do the same for the droplet itself as i don't see any digitalocean API for that.

  • Community Rep

    @crazycells said in Error while restarting the forum after several plugin update:

    I think @FreeWorLD should answer this, since he is the main person/coder behind all of our work... As far as I can tell, he wrote some code , so server itself backs up database automatically every 6 hours and deletes oldest ones (we use digital ocean)... As database we use mongodb (I am not sure if it makes difference)...

    I explored database options a fair bit. Even looked at PostgreSQL option. From my experimenting I would stick with MongoDB for the main stuff, maybe complimented by an Redis instance for session management (cuz that's what Redis excels at).

Suggested Topics

| |