Bumpety bumbety!
Jarko
Posts
-
How to hide group members (or show title of hidden group) -
How to hide group members (or show title of hidden group)Hi,
is there a way to setup a group so that the member list is not shown on the group page?
I know of the "hidden" property, which hides the group as a whole in the group list and makes the group page not reachable. This would be OK if only it didn't hide group titles as well - so the question may also be "is there a way to allow users to display the title of an hidden group they're members of"?
Thank you!
-
Image uploading: "Something went wrong while parsing server response"@PitaJ said in Image uploading: "Something went wrong while parsing server response":
Try running
npm rebuild
Alright, image upload works now! I'll keep an eye for the other crashes and let you know in case!
-
Image uploading: "Something went wrong while parsing server response"@PitaJ said in Image uploading: "Something went wrong while parsing server response":
Try downgrading to Node 10, running
npm install
in the nodebb directory, and restarting.I'm down to Node v10.15.0 and npm v6.4.1. No luck. Also, I noticed it's not only disconnecting me when uploading an image, it's just going down for a few seconds, likely restarting, without saying anything in the logs.
One "good" news though is that I could find another instance of a crash/restart with actual info in the logs, here it is:
2019-01-24T19:52:05.729Z [4567/5583] - [31merror[39m: uncaughtException: The module '/opt/nodebb/node_modules/sharp/build/Release/sharp.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 48. This version of Node.js requires NODE_MODULE_VERSION 67. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). Error: The module '/opt/nodebb/node_modules/sharp/build/Release/sharp.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 48. This version of Node.js requires NODE_MODULE_VERSION 67. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). at Object.Module._extensions..node (internal/modules/cjs/loader.js:750:18) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3) at Module.require (internal/modules/cjs/loader.js:657:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/opt/nodebb/node_modules/sharp/lib/constructor.js:10:15) at Module._compile (internal/modules/cjs/loader.js:721:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3) at Module.require (internal/modules/cjs/loader.js:657:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/opt/nodebb/node_modules/sharp/lib/index.js:3:15) at Module._compile (internal/modules/cjs/loader.js:721:30) {"error":{},"stack":"Error: The module '/opt/nodebb/node_modules/sharp/build/Release/sharp.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 48. This version of Node.js requires\nNODE_MODULE_VERSION 67. Please try re-compiling or re-installing\nthe module (for instance, using `npm rebuild` or `npm install`).\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:750:18)\n at Module.load (internal/modules/cjs/loader.js:620:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:560:12)\n at Function.Module._load (internal/modules/cjs/loader.js:552:3)\n at Module.require (internal/modules/cjs/loader.js:657:17)\n at require (internal/modules/cjs/helpers.js:22:18)\n at Object.<anonymous> (/opt/nodebb/node_modules/sharp/lib/constructor.js:10:15)\n at Module._compile (internal/modules/cjs/loader.js:721:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)\n at Module.load (internal/modules/cjs/loader.js:620:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:560:12)\n at Function.Module._load (internal/modules/cjs/loader.js:552:3)\n at Module.require (internal/modules/cjs/loader.js:657:17)\n at require (internal/modules/cjs/helpers.js:22:18)\n at Object.<anonymous> (/opt/nodebb/node_modules/sharp/lib/index.js:3:15)\n at Module._compile (internal/modules/cjs/loader.js:721:30)","exception":true,"date":"Thu Jan 24 2019 14:52:05 GMT-0500 (GMT-05:00)","process":{"pid":5583,"uid":108,"gid":114,"cwd":"/opt/nodebb","execPath":"/usr/local/bin/node","version":"v11.6.0","argv":["/usr/local/bin/node","/opt/nodebb/app.js"],"memoryUsage":{"rss":221216768,"heapTotal":181747712,"heapUsed":149283464,"external":38473797}},"os":{"loadavg":[0.1904296875,0.2861328125,0.212890625],"uptime":15467752},"trace":[{"column":18,"file":"internal/modules/cjs/loader.js","function":"Object.Module._extensions..node","line":750,"method":"Module._extensions..node","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":620,"method":"load","native":false},{"column":12,"file":"internal/modules/cjs/loader.js","function":"tryModuleLoad","line":560,"method":null,"native":false},{"column":3,"file":"internal/modules/cjs/loader.js","function":"Function.Module._load","line":552,"method":"Module._load","native":false},{"column":17,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":657,"method":"require","native":false},{"column":18,"file":"internal/modules/cjs/helpers.js","function":"require","line":22,"method":null,"native":false},{"column":15,"file":"/opt/nodebb/node_modules/sharp/lib/constructor.js","function":"","line":10,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":721,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Object.Module._extensions..js","line":732,"method":"Module._extensions..js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":620,"method":"load","native":false},{"column":12,"file":"internal/modules/cjs/loader.js","function":"tryModuleLoad","line":560,"method":null,"native":false},{"column":3,"file":"internal/modules/cjs/loader.js","function":"Function.Module._load","line":552,"method":"Module._load","native":false},{"column":17,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":657,"method":"require","native":false},{"column":18,"file":"internal/modules/cjs/helpers.js","function":"require","line":22,"method":null,"native":false},{"column":15,"file":"/opt/nodebb/node_modules/sharp/lib/index.js","function":"","line":3,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":721,"method":"_compile","native":false}]} 2019-01-24T19:52:05.730Z [4567/5583] - [31merror[39m: The module '/opt/nodebb/node_modules/sharp/build/Release/sharp.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 48. This version of Node.js requires NODE_MODULE_VERSION 67. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). Error: The module '/opt/nodebb/node_modules/sharp/build/Release/sharp.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 48. This version of Node.js requires NODE_MODULE_VERSION 67. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). at Object.Module._extensions..node (internal/modules/cjs/loader.js:750:18) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3) at Module.require (internal/modules/cjs/loader.js:657:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/opt/nodebb/node_modules/sharp/lib/constructor.js:10:15) at Module._compile (internal/modules/cjs/loader.js:721:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3) at Module.require (internal/modules/cjs/loader.js:657:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/opt/nodebb/node_modules/sharp/lib/index.js:3:15) at Module._compile (internal/modules/cjs/loader.js:721:30) 2019-01-24T19:52:05.730Z [4567/5583] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2019-01-24T19:52:05.738Z [4567/5583] - [32minfo[39m: [app] Web server closed to connections. 2019-01-24T19:52:06.090Z [4567/8009] - [32minfo[39m: Initializing NodeBB v1.11.1 https://***.com [benchpressjs] Unable to build or find a suitable native module, falling back to JS version 2019-01-24T19:52:08.023Z [4567/8009] - [32minfo[39m: [socket.io] Restricting access to origin: https://***.com:* 2019-01-24T19:52:08.243Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./meta')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/opt/nodebb/node_modules/nodebb-plugin-emailer-smtp-complete/index.js:4:26) 2019-01-24T19:52:08.358Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./database')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:5:14 2019-01-24T19:52:08.359Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./settings')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:6:20 2019-01-24T19:52:08.360Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./meta')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:7:16 2019-01-24T19:52:08.360Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./user')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:8:16 2019-01-24T19:52:08.361Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./posts')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:9:17 2019-01-24T19:52:08.361Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./topics')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:10:18 2019-01-24T19:52:08.362Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./privileges')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:11:22 2019-01-24T19:52:08.362Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./socket.io/plugins')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:12:25 2019-01-24T19:52:08.363Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./socket.io/admin')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:13:24 2019-01-24T19:52:08.363Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('./socket.io/index')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:14:23 2019-01-24T19:52:08.363Z [4567/8009] - [33mwarn[39m: [deprecated] requiring core modules with `module.parent.require('../public/src/modules/translator')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at /opt/nodebb/node_modules/nodebb-plugin-poll/lib/nodebb.js:15:22 2019-01-24T19:52:08.466Z [4567/8009] - [32minfo[39m: [plugins/spam-be-gone] Settings loaded 2019-01-24T19:52:08.479Z [4567/8009] - [32minfo[39m: [session-sharing] Settings OK 2019-01-24T19:52:08.497Z [4567/8009] - [32minfo[39m: Routes added 2019-01-24T19:52:08.502Z [4567/8009] - [32minfo[39m: NodeBB Ready 2019-01-24T19:52:08.508Z [4567/8009] - [32minfo[39m: Enabling 'trust proxy' 2019-01-24T19:52:08.512Z [4567/8009] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:4567
-
Image uploading: "Something went wrong while parsing server response"@PitaJ said in Image uploading: "Something went wrong while parsing server response":
What version of Node are you on? Have you tried running
npm install
and restarting?The Node version is 11.6.0. I recall it complained about Node being old when I tried to upgrade to NodeBB v1.11.1, so I updated it.
As for npm, I was on 6.5.0-next.0. I've upgraded to the latest now, 6.6.0.
I run a node ./nodebb upgrade and ./nodebb build, no luck. What would I need to restart?
-
Image uploading: "Something went wrong while parsing server response"Hi all,
since updating to v1.11.1, it is no longer possible for any user to upload images to the forum. The loading message appears, but once it reaches 100%, this message is received:
"Something went wrong while parsing server response"
...then the user loses connection to the forum and has to wait a few seconds to get back in. The image is not visible in the post.
There's nothing in the server log about what's going on. I've seen this thread, but I'm not running nodebb as root. Plus, it always worked until the upgrade from v1.9.1 to v1.11.1.
Got any clue? Thank you!
-
Running backup while NodeBB is runningThe question is pretty much all in the title.
Is it ok to run the mongodump command to backup the database + make a backup of user pictures while NodeBB is running? Or should the backup script run
./nodebb stop
before and./nodebb start
after? I guess the real risk of something going wrong regards the database dump.Thank you!
-
Hiding Votes column in Category viewHi guys,
we've just updated our forums to NodeBB 1.9.1 and I was wondering if there was an option in the ACP to hide the Votes column in Categeory pages:
Basically making it like it was before, with just Posts and Views displayed.
Thank you!
-
nodebb-plugin-session-sharing broken in 1.7.2 -
nodebb-plugin-session-sharing broken in 1.7.2I hate to be the annoying guy here but I'll try tagging the very helpful @PitaJ as well to figure out how to update that plugin to 4.0.1. I tried with stuff like:
- ./nodebb upgrade nodebb-plugin-session-sharing
- npm update nodebb-plugin-session-sharing
Both commands run, but don't update the plugin to 4.0.1. I really hope someone can help
-
nodebb-plugin-session-sharing broken in 1.7.2 -
nodebb-plugin-session-sharing broken in 1.7.2@baris said in nodebb-plugin-session-sharing broken in 1.7.2:
Check your server side logs (logs/output.log) and see if you can get a stack trace of that error.
Looks like there is one indeed - here's the log (usernames filtered for privacy):
12/12 16:36:55 [3474] - [32minfo[39m: Initializing NodeBB v1.7.2 https://forum.mywebsite.com 12/12 16:36:56 [3474] - [32minfo[39m: [socket.io] Restricting access to origin: https://forum.mywebsite.com:* 12/12 16:36:57 [3474] - [33mwarn[39m: [plugins/nodebb-plugin-spam-be-gone] Hook `action:flag.create` is deprecated, please use `action:flags.create` instead. 12/12 16:36:57 [3474] - [32minfo[39m: [plugins/spam-be-gone] Settings loaded 12/12 16:36:57 [3474] - [32minfo[39m: [session-sharing] Settings OK 12/12 16:36:57 [3474] - [32minfo[39m: Routes added 12/12 16:36:57 [3474] - [32minfo[39m: NodeBB Ready 12/12 16:36:57 [3474] - [32minfo[39m: Enabling 'trust proxy' 12/12 16:36:57 [3474] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:4567 12/12 16:37:10 [3474] - [31merror[39m: /categories TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:68:4) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:37:47 [3474] - [31merror[39m: /user/someuser/followers TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:38:27 [3474] - [31merror[39m: /topic/646/to-hype-or-not-to-hype/19 TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:38:43 [3474] - [31merror[39m: /user/someuser/followers TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:38:48 [3474] - [31merror[39m: /user/someuser TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:38:50 [3474] - [31merror[39m: /categories TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:38:51 [3474] - [31merror[39m: /user/someuser TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:38:52 [3474] - [31merror[39m: /user/someuser TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:39:24 [3474] - [31merror[39m: /user/someuser/best TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:39:38 [3474] - [31merror[39m: /categories TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:68:4) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:39:41 [3474] - [31merror[39m: /login TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:68:4) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:39:44 [3474] - [31merror[39m: /user/someuser/following TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) 12/12 16:39:50 [3474] - [31merror[39m: /categories TypeError: callback is not a function at /opt/nodebb/src/meta/blacklist.js:96:4 at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:104:11) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:4) at Object.Blacklist.test (/opt/nodebb/src/meta/blacklist.js:89:11) at Object.plugin.addMiddleware [as method] (/opt/nodebb/node_modules/nodebb-plugin-session-sharing/library.js:337:22) at /opt/nodebb/src/middleware/index.js:78:11 at /opt/nodebb/node_modules/async/dist/async.js:3096:16 at eachOfArrayLike (/opt/nodebb/node_modules/async/dist/async.js:1055:9) at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5) at Object.eachLimit (/opt/nodebb/node_modules/async/dist/async.js:3158:5) at middleware.pluginHooks (/opt/nodebb/src/middleware/index.js:77:8) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13) at middleware.pageView (/opt/nodebb/src/middleware/index.js:71:3) at Layer.handle [as handle_request] (/opt/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/opt/nodebb/node_modules/express/lib/router/route.js:137:13)
-
nodebb-plugin-session-sharing broken in 1.7.2Hi guys,
I've just updated my forum to 1.7.2 and the nodebb-plugin-session-sharing broke down. If I keep it active, I have the following issues:
1 - If I open the home page, I get the following error:
Internal Error. Oops! Looks like something went wrong! /categories callback is not a function
2 - If I open the admin panel, I also get this error if I'm already logged in the admin panel:
Internal Error. Oops! Looks like something went wrong! /admin callback is not a function
If not, it redirects me to the main website where login should be performed (correct, it would then generate the necessary cookie)... but when I'm back I'm not actually logged in the admin panel, it just keeps redirecting me.
Does anyone have a clue about what's going on? This has effectively made the forum totally unusable.
Thank you!
-
Can't move topics to different categories@julian ah. I need to update themes too it seems All solved, thank you
-
Can't move topics to different categories@baris said in Can't move topics to different categories:
Do you have a custom theme? Switch to persona and try again if so.
I do have a custom theme, but that's just a copy of Persona aside from the fact the breadcrumb is below the header instead of above. All other visual changes are in the Custom CSS box in the admin panel.
You know what could be causing this issue in the theme?
-
Can't move topics to different categoriesHi guys,
Since a few weeks ago, I've been unable to move topics in my NodeBB forum with my admin account. If I try to move one through Topic Tools -> Move Topic, the popup window opens correctly, but I can't click on any of the categories and the Move button stays grayed out. In the bottom left corned of the menu there is a line of text that says "disabled_categories_note".
Updating the forum to 1.5.3 didn't fix the issue.
Does anyone know what's going on? Definitely looks like a bug to me
Thank you!
-
User edit page destroys custom CSSNothing about this error and perhaps how to fix it?
-
User edit page destroys custom CSSHi guys,
I have one peculiar error to report - one that has been around on my forums since the beginning.
I've created a custom theme for my forums based on the persona theme, with only a couple small changes. Most of the graphical customization I have was added in Appearance -> Custom CSS and work for both my theme and the persona theme.
When I click on the Edit button to change my user profile - that is, I open this page:
https://mynodebbforum.com/user/user_name/edit
the custom CSS (or at least most of it) is destroyed and the page ends up all messed up. I need to refresh it to make the CSS load properly. Once refreshed, the error won't happen again unless I close / reopen the browser.
That page is literally the only page on my forum where this error happens. Switching to the original persona theme doesn't fix the issue.
Thank you!
-
Recent and popular RSS feeds broken? -
Recent and popular RSS feeds broken?Sorry for the slow reply guys. I see it's been fixed on this forum so I suppose the fix will be included in 1.5.2?
Anyway @baris, if that's still relevant, I'm on e64104786ffdd8471119dc54660c3fc12f3202a1("Incremented version number - v1.5.1").