@mattdjuk This could be something (clutching at straws a bit here)...
I was just looking in the cookies, I see these:
Screenshot 2022-05-26 113221.png
It has 2 express.sid cookies
1 is for forum.$$$$$$$.co.uk and the other is for .$$$$$$$.co.uk
i am new to NodeBB, trying to install it on CentOS7. After starting, browse the page and i get following error. Please show me how to fix it.
Thanks a lot.
Error: Failed to lookup view "500" in views directory "/opt/services/node/nodebb/build/public/templates"
at EventEmitter.render (/opt/services/node/nodebb/node_modules/express/lib/application.js:580:17)
at ServerResponse.render (/opt/services/node/nodebb/node_modules/express/lib/response.js:971:7)
at content (/opt/services/node/nodebb/src/middleware/render.js:70:15)
at replenish (/opt/services/node/nodebb/node_modules/async/dist/async.js:946:17)
at eachOfLimit (/opt/services/node/nodebb/node_modules/async/dist/async.js:975:24)
at eachOf (/opt/services/node/nodebb/node_modules/async/dist/async.js:1051:5)
at _parallel (/opt/services/node/nodebb/node_modules/async/dist/async.js:3829:5)
at Object.parallelLimit [as parallel] (/opt/services/node/nodebb/node_modules/async/dist/async.js:3912:5)
at async.waterfall.str (/opt/services/node/nodebb/src/middleware/render.js:65:12)
at nextTask (/opt/services/node/nodebb/node_modules/async/dist/async.js:5273:14)
at next (/opt/services/node/nodebb/node_modules/async/dist/async.js:5280:9)
at fireFilterHook (/opt/services/node/nodebb/src/plugins/hooks.js:112:11)
@bzero we can try to help if you can list the steps you followed so far.
i got it works now.
It was missing modules during first installation.
Another experience, server should have more than 512Mb Ram, better 1G to avoid npm install issue.
I just ran into this after changing my theme and clicking rebuild and restart... any idea how I get out of this state?
Update: After running
npm install and
./nodebb build the error changed to:
Error: ENOENT: no such file or directory, open '/home/snarlynarwhal/nodebb/build/public/templates/footer.tpl' at Error (native)
npm install nodebb-theme-<theme-you-want> then
./nodebb build then
sudo systemctl restart nodebb fixed the issue.