Custom Pages 2.4.0
Unsolved
Technical Support
-
Upgraded to 2.4.0 just now...Shock horror I get an error haha.
My custom pages do not work anymore (/serverinfo)
Log
2022-08-13T06:53:24.550Z [4567/48639] - [31merror[39m: GET /serverinfo Error: Failed to lookup view "serverinfo" in views directory "/home/smiley/nodebb/build/public/templates" at Function.render (/home/smiley/nodebb/node_modules/express/lib/application.js:597:17) at ServerResponse.render (/home/smiley/nodebb/node_modules/express/lib/response.js:1039:7) at /home/smiley/nodebb/src/middleware/render.js:107:11 at new Promise (<anonymous>) at renderContent (/home/smiley/nodebb/src/middleware/render.js:106:10) at renderMethod (/home/smiley/nodebb/src/middleware/render.js:75:15) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async ServerResponse.renderOverride [as render] (/home/smiley/nodebb/src/middleware/render.js:96:5) 2022-08-13T06:54:02.575Z [4567/48639] - [31merror[39m: GET /serverinfo Error: Failed to lookup view "serverinfo" in views directory "/home/smiley/nodebb/build/public/templates" at Function.render (/home/smiley/nodebb/node_modules/express/lib/application.js:597:17) at ServerResponse.render (/home/smiley/nodebb/node_modules/express/lib/response.js:1039:7) at /home/smiley/nodebb/src/middleware/render.js:107:11 at new Promise (<anonymous>) at renderContent (/home/smiley/nodebb/src/middleware/render.js:106:10) at renderMethod (/home/smiley/nodebb/src/middleware/render.js:75:15) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async ServerResponse.renderOverride [as render] (/home/smiley/nodebb/src/middleware/render.js:96:5)
-
@Sampo2910 For whatever it may be worth, I brought up a fresh instance of 2.4 a couple days back and it just worked. At least to the extent I played around with it. So maybe something w/the update process went amiss?
Copyright © 2024 NodeBB | Contributors