Creating a category fails with no errors.
-
I (admin) can go to Manage -> Categories.. If I hit the "+", enter a name, click "Save" - nothing happens. No new Category is created. I've tried creating a top level category and a category as a child of something else and same behavior.
I was running 17.x and was having the issue. I upgraded to 18.4 (I think) - whatever the latest as of the writing of this post. Behavior remained the same.
Any guidance on troubleshooting?
Thanks
-
Have you tried disabling plugins?
-
Are there any errors in the browser console or in the server logs?
-
@pitaj - Nothing in either. Server logs going to syslog (running as a daemon). Running "nodebb logs" doesn't seem to show anything either.
Going to stop it and run it manually from the command line. Nope.. nothing there either. Command just goes off into the sunset and does nothing. Clarification: There is logging showing up, but nothing that looks like an error around the second or so after I hit the "save" button on the new Category.
Browser console shows nothing of interest in either case, also.
-
Also checked the Mongo logs for errors to rule out any backend storage problems. Nothing of note in the logs.
-
@eric-ladner potentially a dumb question but do you have any browser extensions running that may block script execution ?
-
I did see an error on the backend finally:
Oct 13 08:05:37 www nodebb[10920]: 2021-10-13T08:05:37.630Z [4567/10931] - #033[31merror#033[39m: modules.chats.newRoom Oct 13 08:05:37 www nodebb[10920]: Error: [[error:no-privileges]] Oct 13 08:05:37 www nodebb[10920]: at SocketModules.chats.newRoom (/opt/nodebb/src/socket.io/modules.js:56:9) Oct 13 08:05:37 www nodebb[10920]: at runMicrotasks (<anonymous>) Oct 13 08:05:37 www nodebb[10920]: at processTicksAndRejections (internal/process/task_queues.js:97:5) Oct 13 08:05:37 www nodebb[10920]: at async onMessage (/opt/nodebb/src/socket.io/index.js:164:19) Oct 13 08:06:14 www nodebb[10920]: 2021-10-13T08:06:14.280Z [4567/10931] - #033[31merror#033[39m: modules.chats.newRoom Oct 13 08:06:14 www nodebb[10920]: Error: [[error:no-privileges]] Oct 13 08:06:14 www nodebb[10920]: at SocketModules.chats.newRoom (/opt/nodebb/src/socket.io/modules.js:56:9) Oct 13 08:06:14 www nodebb[10920]: at processTicksAndRejections (internal/process/task_queues.js:97:5) Oct 13 08:06:14 www nodebb[10920]: at async onMessage (/opt/nodebb/src/socket.io/index.js:164:19)
-
@phenomlab - no browser extensions. I even tested this in a vanilla browser with no plugins.
-
@eric-ladner those look like errors for something else .
Maybe nginx is not set up correctly or your internet is wonky somehow. But not sure -
@dunlix - This server has been running fine for almost two years through multiple upgrades. The problem didn't occur until applying the latest version (I can confirm no reverse proxy changes).
I eliminated the network as a culprit. Tried to edit from three different PC's on three wildly different networks (i.e. not like my wifi and the neighbor's wifi, but very different networks).
-
Have you tried disabling plugins?
-
@eric-ladner said in Creating a category fails with no errors.:
ERR_HTTP2_PROTOCOL_ERROR
https://stackoverflow.com/questions/58215104/whats-the-neterr-http2-protocol-error-about
Check if your server has enough disk space/ram
-
@dunlix (and others)
Thanks, the disable plugins suggestion worked. Apparently it was the "sanitize html" plugging that was causing the problem.
Not even sure why we had that still installed.
Thanks all for the troubleshooting help!
-