I have the same problem on running upgrade
NodeBB displaying blank screens when accessing subforums
Hi ya'll! Just recently installed a new copy of nodebb. I can navigate to my forum okay (http://forums.fullbroadside.net/), but when I click any of the subcategories, it loads a blank screen. (ex: https://forums.fullbroadside.net/category/5/applications), but if I edit the url to https://forums.fullbroadside.net/category/5/applications/0, it loads fine. If I try to click the title to go back to the root, it stays blank. Any ideas?
See this post for the fix https://community.nodebb.org/post/77781
If you upgrade nodebb after intalling [email protected], it probably upgraded jquery back to 3.5.0. Check what jquery is installed by
npm ls jquery
@timoxazero Can't edit so replying to myself. Tried
npm ls jquery. It was indeed 3.5.0 so I downgraded it back down and restarted the server, but the issue persists. It seems to be an issue with the navigation buttons themselves. When I access the category directly from the link I posted, I can see the subforum just fine. But if I navigate to the homepage and try to click "Applications", I encounter the issue.
Edit: Ah. I can edit. Neat. Yeah so when I access https://forums.fullbroadside.net/category/5/applications directly, I can see the subforum, but I cannot interact with the button to write a post. If I navigate to htttps://forums.fullbroadside.net/compose?cid=5. Then it opens a post writing window, but I can't submit it.
After you downgrade jquery, run
./nodebb buildso the client side payload is updated. But don't run
./nodebb upgrade. After that restart and it should work.
There we go. That worked. Thank you very much!
Edit: Just kidding. I still can't click compose.
Found an error in the log that may have something to do with my issue composing new topics.
(node:6721) UnhandledPromiseRejectionWarning: Error: Failed to lookup view "compose" in views directory "/home/timoxa/nodebb/build/public/templates" at Function.render (/home/timoxa/nodebb/node_modules/express/lib/application.js:580:17) at ServerResponse.render (/home/timoxa/nodebb/node_modules/express/lib/response.js:1012:7) at /home/timoxa/nodebb/src/middleware/render.js:63:83 at internal/util.js:297:30 at new Promise (<anonymous>) at internal/util.js:296:12 at ServerResponse.renderOverride [as render] (/home/timoxa/nodebb/src/middleware/render.js:67:14) at processTicksAndRejections (internal/process/task_queues.js:97:5)
/home/timoxa/nodebb/build/public/templatesand there's no files for composing. Is there a way to pull them from remote and just add them in?
Edit 2: I found a compose.js in the github directory, and I added it to
compose.js, and then i do
./nodebb buildand it deletes the file every time. Any ideas? If I don't build it, but restart, it doesn't change anything.
./nodebb buildwill generate the template files in the
build/public/templatesfolder. Make sure
nodebb-plugin-composer-defaultis installed and activated.
That solved my problem. Thank you so much!!!!