nodeBB composer-default not working?
-
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:
{
"url": "http://forum.nextgamers.eu",
"secret": "MySecret",
"database": "redis",
"port": 4567,
"redis": {
"host": "127.0.0.1",
"port": "6379",
"password": "somepass",
"database": "somedb"
}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. ;(
-
@Uwe-Pfeifer have you tried the steps explained on this thread? Seems that one user got it working on previous versions of nodebb https://community.nodebb.org/post/52519
-
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
-
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
nodebb start
? -
startup file option cant be set to nodebb start it says file not found.