Internal Server Error



  • I changed the theme "npm install nodebb-theme-rocket"
    After that, the forum stopped working. A bug is displayed in the browser
    "Internal Server Error".Which file should I edit to return the forum to its original state?
    Are there debugging methods for theme? How to understand where the error in this theme is?


  • Global Moderator

    ./nodebb reset -t



  • @pitaj said in Internal Server Error:

    ./nodebb reset -t

    ./nodebb reset -t
    ./nodebb reset -a

    Does not work.
    What to do?

    2018-02-20T10:56:03.925Z [14936] - info: Routes added
    2018-02-20T10:56:03.929Z [14936] - info: NodeBB Ready
    2018-02-20T10:56:03.933Z [14936] - info: Enabling 'trust proxy'
    2018-02-20T10:56:03.938Z [14936] - info: NodeBB is now listening on: 0.0.0.0:4567
    2018-02-20T10:57:30.386Z [14936] - error: /categories
    Error: Failed to lookup view "categories" in views directory "/opt/nodebb/build/public/templates"
    at Function.render (/opt/nodebb/node_modules/express/lib/application.js:580:17)
    at ServerResponse.render (/opt/nodebb/node_modules/express/lib/response.js:1008:7)
    at content (/opt/nodebb/src/middleware/render.js:83:15)
    at /opt/nodebb/node_modules/async/dist/async.js:3866:24
    at replenish (/opt/nodebb/node_modules/async/dist/async.js:998:17)
    at /opt/nodebb/node_modules/async/dist/async.js:1002:9
    at eachOfLimit (/opt/nodebb/node_modules/async/dist/async.js:1027:24)
    at /opt/nodebb/node_modules/async/dist/async.js:1032:16
    at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1103:5)
    at _parallel (/opt/nodebb/node_modules/async/dist/async.js:3865:5)
    at Object.parallelLimit [as parallel] (/opt/nodebb/node_modules/async/dist/async.js:3948:5)
    at async.waterfall.str (/opt/nodebb/src/middleware/render.js:78:12)
    at nextTask (/opt/nodebb/node_modules/async/dist/async.js:5310:14)
    at next (/opt/nodebb/node_modules/async/dist/async.js:5317:9)
    at /opt/nodebb/node_modules/async/dist/async.js:958:16
    at /opt/nodebb/node_modules/async/dist/async.js:473:16
    Missing translation "language:dir"
    Missing translation "pages:home"
    Missing translation "language:dir"
    Error: Failed to lookup view "footer" in views directory "/opt/nodebb/build/public/templates"
    at Function.render (/opt/nodebb/node_modules/express/lib/application.js:580:17)
    at /opt/nodebb/src/middleware/header.js:255:13
    at nextTask (/opt/nodebb/node_modules/async/dist/async.js:5310:14)
    at next (/opt/nodebb/node_modules/async/dist/async.js:5317:9)
    at /opt/nodebb/node_modules/async/dist/async.js:958:16
    at /opt/nodebb/src/middleware/header.js:243:6
    at /opt/nodebb/node_modules/async/dist/async.js:3874:9
    at /opt/nodebb/node_modules/async/dist/async.js:473:16
    at replenish (/opt/nodebb/node_modules/async/dist/async.js:993:25)
    at iterateeCallback (/opt/nodebb/node_modules/async/dist/async.js:983:17)
    at /opt/nodebb/node_modules/async/dist/async.js:958:16
    at /opt/nodebb/node_modules/async/dist/async.js:3871:13
    at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:107:11)
    at Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:88:5)
    at /opt/nodebb/node_modules/async/dist/async.js:66:19
    at /opt/nodebb/node_modules/async/dist/async.js:3866:24


  • Global Moderator

    @rahmon ./nodebb build


 

| |