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)

    2022-08-13 09_54_47-_ fmjcod4 _ Forums.png

    Log

    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 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? 🐕

  • @gotwf

    On advice from @phenomlab I uninstalled the plugin, rebuilt, installed plugin again, rebuilt and it was ok.

    This had also happened to himself before.


Suggested Topics


  • "Move Topic" not available in v1.17.2

    Unsolved Technical Support
    3
    0 Votes
    3 Posts
    225 Views

    @volanar After upgrading to v1.18 this issue is resolved.

  • 0 Votes
    1 Posts
    1k Views

    My login page is (almost) entirely blank on my production server but works ok on dev and staging (heroku). I can see the home page and I can create an account and see the profile page, but I cannot login to an existing account:

    0_1458589372352_Screen Shot 2016-03-21 at 12.41.34 PM.png

    There are no javascript errors in the browser and no errors in the server side log:

    21/3 14:33 [24540] - info: NodeBB v0.9.2 Copyright (C) 2013-2014 NodeBB Inc.
    21/3 14:33 [24540] - info: This program comes with ABSOLUTELY NO WARRANTY.
    21/3 14:33 [24540] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    21/3 14:33 [24540] - info:
    21/3 14:33 [24540] - info: Time: Mon Mar 21 2016 14:33:07 GMT-0500 (PET)
    21/3 14:33 [24540] - info: Initializing NodeBB v0.9.2
    21/3 14:33 [24540] - info: Environment: production
    21/3 14:33 [24540] - verbose: * using mongo store at xx.xx.xx.xx:xxxx
    21/3 14:33 [24540] - verbose: * using themes stored in: /var/www/blahblahblah/live/node_modules
    21/3 14:33 [24540] - info: [database] Checking database indices.
    21/3 14:33 [24540] - verbose: Checking dependencies for outdated modules
    21/3 14:33 [24540] - verbose: [notifications.init] Registering jobs.
    21/3 14:33 [24540] - verbose: [meta/css] Minifying LESS/CSS
    21/3 14:33 [24540] - verbose: [sounds] Sounds OK
    21/3 14:33 [24540] - verbose: [meta/templates] Compiling templates
    21/3 14:33 [24540] - verbose: [meta/templates] Successfully compiled templates.
    21/3 14:33 [24540] - verbose: [meta/css] admin.css committed to disk.
    21/3 14:33 [24540] - verbose: [meta/css] stylesheet.css committed to disk.
    21/3 14:33 [24540] - verbose: [meta/js] Minification complete
    21/3 14:33 [24540] - verbose: [hotswap] Router with id plugins replaced successfully
    21/3 14:33 [24540] - verbose: [plugins] All plugins reloaded and rerouted
    21/3 14:33 [24540] - verbose: [hotswap] Router with id auth replaced successfully
    21/3 14:33 [24540] - verbose: [meta/js] Client-side minfile committed to disk.
    21/3 14:33 [24540] - info: NodeBB Ready
    21/3 14:33 [24540] - info: Enabling 'trust proxy'
    21/3 14:33 [24540] - info: NodeBB is now listening on: 0.0.0.0:4567

  • 0 Votes
    15 Posts
    6k Views

    @JaredBusch said:

    A quick firewall-cmd --zone=public --add-port=4567/tcp --permanent and firewall-cmd --reload later
    And there we go.
    img

    Thanks @rbeer for the information about nodejs versions. I did not see the indicator that you did obviously.

    Very nice! Glad to see it working now. 👍
    And, don't you worry! I was tearing my hair out for about an hour, when I stumbled upon that error some weeks ago. 🙂

  • 0 Votes
    2 Posts
    6k Views

    Well fixed the issue, just updated the ProxyPass

    ProxyPass /socket.io/ ws://localhost:4568/socket.io/ ProxyPassReverse /socket.io/ ws://localhost:4568/socket.io/

    Don't get why in the documentation it uses socket.io/1/websocket....would explain why I was not able to connect to the websocket.

  • 0.7 and plugins support

    Technical Support
    1
    0 Votes
    1 Posts
    1k Views

    just installed dev version 0.7, in console log that buildin plugins can cause err -)
    installed sso steam in 0.7, plugin unstable, sometime working, sometime not working
    is there compabality list for plugins? or compabality tests for plugins?