NodeBB setup



  • I am using NodeBB with redis because mongo was being stupid, so now when i do the ./nodebb setup, here is what pops up:

    [root@localhost nodebb]# ./nodebb setup
    17/2 20:21:34 [4309] - 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).

    17/2 20:21:35 [4309] - info: Now configuring redis database:
    Configuration Saved OK
    Populating database with default configs, if not already set...
    [deprecated] String.prototype.rtrim is deprecated as of NodeBB v1.5; use utils.rtrim instead.


  • Global Moderator

    @privateryan that's a deprecation warning which you can safely ignore.



  • @pitaj but after that, there are no new messages.. what should I do? When i start the nodebb i cannot access it through the link.


  • Global Moderator

    Is there an existing config.json file? If so ./nodebb setup might not show anything else. You can delete that file to restart, but you might also need to either choose a different database number for redis to start fresh.

    Are you starting NodeBB with ./nodebb start? Try running ./nodebb start -l which will show the log and display any errors that occur.



  • @pitaj i had setup the database wrong, all fixed 🙂


 

| |