Putting a NodeJS webapi onto the same server as NodeBB

Technical Support

Suggested Topics


  • 0 Votes
    9 Posts
    637 Views

    Oh, even better. Here it is all updated for NodeBB 1.14 and NodeJS updated as well.

    Deploying NodeBB 1.14 on CentOS 8 with MongoDB 4.2

    NodeBB is a powerful, open source package for building online communities and forums. We usually recommend running it on CentOS 8, primarily because of the need for MongoDB deployment support. The current NodeBB release is 1.14. By default, NodeBB uses th...

    favicon

    MangoLassi (mangolassi.it)

  • 0 Votes
    4 Posts
    367 Views

    @Kolt-L It depends on your set up details, of which I know not. But maybe resembles something like:

    mongodump -u <your mongo user here> -p <your mongo user pass here> --out /where/you/want/the/backup/files/$(date +%F) --authenticationDatabase=admin

    If, perchance ye' followed the nodebb docs for setting up mongodb here https://docs.nodebb.org/configuring/databases/mongo/ and here https://docs.nodebb.org/installing/os/ubuntu/ then you should have an admin user. Hopefully you still have that pass tucked away safe somewhere.

    /where/you/want/the/backup/files/$(date +%F) should now be populated with sub directories for each of the admin and nodebb databases. Ensure you copy them both to the new server.

    For future reference, I prefer not to have my privileged admin user running cron scripts so I created a "backup operator" user with limited privileges for such duties. YMMV.

    Note: You may need to quote the pass phrase if it contains special characters.

  • NodeBB Bootstrap error

    Technical Support
    2
    0 Votes
    2 Posts
    252 Views

    Fresh installation seems broken

    Use npm i [email protected] until the issue is fixed in jquery. Issue for tracking https://github.com/jquery/jquery/issues/4665

    favicon

    NodeBB Community (community.nodebb.org)

  • 0 Votes
    1 Posts
    570 Views

    I am a web developer, new to nodeBB.

    I am working on a web app where users can discuss a document (see the prototype here; I am in the process of simplifying the UX and planning for version 1). The UI looks like this:
    -- a main area shows the document,
    -- in other areas/windows/tabs, users can create topics to discuss parts of the document.

    Does it sound feasible with nodeBB? My main concern is not OAuth/SSO, but client-side display.

  • 0 Votes
    1 Posts
    1k Views

    So... hello 🙂

    I was wondering if anyone has setup nodebb on Plesk Onyx succesfully?

    from what i can tell, everything is setup and working as it should, but I can not connect?...

    3/9 19:13 [7] - info: NodeBB v1.1.2 Copyright (C) 2013-2016 NodeBB Inc. 3/9 19:13 [7] - info: This program comes with ABSOLUTELY NO WARRANTY. 3/9 19:13 [7] - info: This is free software, and you are welcome to redistribute it under certain conditions. 3/9 19:13 [7] - info: 3/9 19:13 [7] - info: NodeBB Setup Triggered via Command Line Welcome to NodeBB! This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed. Press enter to accept the default setting (shown in brackets). URL used to access this NodeBB (http://localhost:4567) > [email protected] start /usr/src/app > node loader.js 3/9 19:14 [36] - info: Launching web installer on port 4567 3/9 19:14 [36] - info: Web installer listening on http://0.0.0.0:4567 npm info it worked if it ends with ok npm info using [email protected] npm info using [email protected] npm info prestart [email protected] npm info start [email protected]

    anyone have any experiance?