nodeBB composer-default not working?



  • I've freshly installed nodebb but no composer is working. i tried reinstalling the default composer and also tried another composer. the error i get right now is:

    TypeError: config['composer-default'] is undefined

    How can i define it?

    Thank you very much! :)


  • Community Rep

    Try running

    ./nodebb stop
    ./nodebb reset -p
    ./nodebb setup
    ./nodebb start
    


  • didn't help. i activated composer plugin again - but still, i cant write. error:

    TypeError: config['composer-default'] is undefined
    <anonym>
    nodebb.min.js:25283
    jQuery.event.dispatch()
    nodebb.min.js:5200
    jQuery.event.add/elemData.handle()
    nodebb.min.js:5009
    .trigger()
    nodebb.min.js:8171
    .trigger/<()
    nodebb.min.js:8239
    .each()
    nodebb.min.js:368
    jQuery.prototype.each()



  • oh well wait. i forgot ./nodebb setup but ... im using plesk onyx node.js enabled vhost. and ... i dont know how to run nodebb setup with the version installed on that vhost. which is a more recent version than the one ... used by default ./nodebb i think?



  • ok ... i found out how to ... id id all the steps but it didnt help - still the same error. The forum is at https://forum.nextgamers.eu



  • 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:

    {
    "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. ;(


  • Translator

    @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


  • Admin

    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?


  • Community Rep

    @Uwe-Pfeifer

    Change the startup file option to nodebb start ?



  • startup file option cant be set to nodebb start it says file not found.


  • Admin

    nodebb is the executable. start is the first argument passed in.


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.