Your don't need the header in your template. You need to add it like this:router.get('/calendar', middleware.buildHeader, renderPageHandler); router.get('/api/calendar', renderPageHandler);
Unsolved nodeBB composer-default not working?
can anyone please help me?
ok I couldnt get any further :(( that's a real pitty i really wanna use nodebb ;(
Well, I now filed a bugreport. Maybe the devs can fix it. Thanks
I will update this thread if theres anything they could do.
Well the problem seems to be socket.io not working. Can anyone help me? I'm using plesk onyx and I get this error:
Firefox kann keine Verbindung zu dem Server unter wss://forum.nextgamers.eu/socket.io/?EIO=3&transport=websocket&sid=MySessionID aufbauen.
Which menas Firefox couldnt establish a connection to the server at wss....
Also websockets seem to be installed.
My config looks like this:
The support of plesk says they think its more a nodebb related issue than plesk.
Hm, ghe guy from Plesk says:
Node.js is supported by Plesk. All NPM requirements for nodebb (including websocket) were installed. All that you need is using some kind of instruction how to configure websocket properly for nodebb.
Can anyone help me there?
btw, i cant telnet to port 4567 localhost? i wonder what im doing wrong ;( I also changed url to https now.
well im using plesk onyx and .. it starts the app.js not using nodebb start. is that wrong? because if i start it using nodebb start it listens ons localhost 4567 but isnt reachable after. so i have to do it using plesk. im trying to get the forumr unning since 1 day ... it would be sad if in the end it wouldnt work. ;(
jarey last edited by
thats a tutorial not with plesk onyx and not with apache only. plesk onyx now supports node.js natively. but it looks like my nodebb doesnt even listen on 4567 but i have configured it to do so. so testing how apache does proxy is senseless aswell
If you still cannot figure it out, I would suggest you try using a droplet on DigitalOcean, as that is the easiest to get started. It's fairly cost-effective as well, at $5 USD /mo
im using nginx now. it works. but for it to work i have to manually run /opt/plesk/node/6/bin/node ./nodebb start ... in plesk i cant set this up. is there any way to automatically start nodebb with the node.js feature of plesk?
Change the startup file option to
startup file option cant be set to nodebb start it says file not found.
nodebbis the executable.
startis the first argument passed in.