Admin panel seems completely broken
Upgraded NodeBB today from 0.9.x to 1.x.x. Forum functions appropriately on the frontend, users can create topics and post replies, etc. However, in the admin panel, "Manage Categories" is blank, all the dashboard statistics are blank, and no buttons work. I can't select users. I can't activate or deactivate plugins. I can't even search for them. Themes won't load, skins won't load. Etc.
I can't find out how to log or debug any of these errors even after dicking around at length with strongloop, node --debug, node --debug-brk. I uninstalled and reinstalled every plugin. I ran upgrades on all the themes I have installed. I did ./nodebb upgrade. Right now I have a half-functional forum that I can't make any meaningful change to, and am regretting upgrading.
Can anyone give me some direction on what I can do to make logging more verbose than the 8 lines of useless output it spits every time I launch the process?
Thank you. I found it in the console -- it was "Mousetrap" which was enabled in public/src/acp.min.js. I had to comment the entire section out. That was breaking everything else. Appreciate your assistance.
Edit: Also, FWIW, the output.log only shows the tail of the startup log ending with the plugin spam-be-gone being loaded. Nothing ever posts afterward. Now I can proceed with deactivating plugins singularly and hopefully it was something with one of them which was causing output.log to show basically nothing...
I view it directly with vi as well as watching it realtime in ./nodebb log. The only reason I mention that plugin is because it's the last line of output before it stops logging. However that may be because these errors are not significant enough to warrant a log entry...
It appears my woes continue anyway as there are issues with the dashboard still not recognizing properties.
dashboard.js?325979c7-71ca-47a0-89a2-1ae2c285e4c3:190 Uncaught ReferenceError: Chart is not defined
dashboard.js?325979c7-71ca-47a0-89a2-1ae2c285e4c3:333 Uncaught TypeError: Cannot read property 'segments' of null
dashboard.js?325979c7-71ca-47a0-89a2-1ae2c285e4c3:49 Uncaught TypeError: Cannot read property 'lt' of undefined
If .js edits disappear upon a reload then I am going to have a bad time. Any thoughts?
@frissdiegurke Thanks. I will update more later after I have a bit more down time. I appreciate you guys' help.
@pichalite The only thing that shows up in output log is the startup stuff, and when I installed a database import plugin with the hopes of exporting my database to a usable format in case I need to blow everything up.
I did mean /public/acp.min.js; my mistake.
This is concerning... due to a change I made in how we load third-party assets.
@elandriel What happens when you go to these urls?
During startup in dev mode (
./nodebb dev) you'll see a line that looks like this:
19/4 09:48  - verbose: [meta/js] 3 of 3 modules bridged
That line means the bridging was successful and 2 of those three filese are mousetrap and Chart...
@julian Thanks for the reply.
Also, "19/4 11:29  - verbose: [meta/js] 3 of 3 modules bridged" -- so you have little to fear there. Odd that they are not integrating with my forum post-upgrade.