• Latest v2.4.0 I upgraded today.

    Always expect errors now it is a given…This is latest and do not know why. As always more chance of a reply with Sudonix. 🙂 Basically my custom page stopped working.

    0fda0c2d-cf1b-45f0-80b1-f247edca68ae-image.png

    2022-08-13T06:53:24.550Z [4567/48639] - error: 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] - error: 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 can you try removing the custom pages extension, rebuild, then reinstall and rebuild again ?

    I’ve had this happen to me before.


  • @Sampo2910 can you try removing the custom pages extension, rebuild, then reinstall and rebuild again ?

    I’ve had this happen to me before.


  • @phenomlab As always…Thank you.

    Worked for me.

  • Topic has been marked as a question  phenomlab phenomlab 
  • Topic has been marked as solved  phenomlab phenomlab 

If this topic and the associated threads resolved an issue for you, or was useful, why not buy me a coffee? It's a nice gesture, and there's other ways to donate if you wish 💗

Discover More