NodeBB Start Up Help



  • Hi,
    I recently installed NodeBB and is already set up, but I discovered that it needed to be upgraded. So what I did was delete the old NodeBB files and used Git to grab the new files. Now, when I start it up, I get this error. This is for localhost use for expirementing.

    {"level":"info","message":"NodeBB v1.3.0 Copyright (C) 2013-2016 NodeBB Inc.","timestamp":"2016-11-15T05:58:26.215Z"}
    {"level":"info","message":"This program comes with ABSOLUTELY NO WARRANTY.","timestamp":"2016-11-15T05:58:26.231Z"}
    {"level":"info","message":"This is free software, and you are welcome to redistribute it under certain conditions.","timestamp":"2016-11-15T05:58:26.231Z"}
    {"meta":"","level":"info","message":"","timestamp":"2016-11-15T05:58:26.231Z"}
    {"level":"info","message":"Time: Mon Nov 14 2016 21:58:26 GMT-0800 (Pacific Standard Time)","timestamp":"2016-11-15T05:58:26.832Z"}
    {"level":"info","message":"Initializing NodeBB v1.3.0","timestamp":"2016-11-15T05:58:26.832Z"}
    {"level":"warn","message":"You have no mongo password setup!","timestamp":"2016-11-15T05:58:28.551Z"}
    {"level":"info","message":"[database] Checking database indices.","timestamp":"2016-11-15T05:58:29.048Z"}
    {"level":"info","message":"[database] Checking database indices done!","timestamp":"2016-11-15T05:58:29.071Z"}
    {"level":"warn","message":"Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to spec:","timestamp":"2016-11-15T05:58:35.811Z"}
    {"level":"warn","message":" ./nodebb upgrade","timestamp":"2016-11-15T05:58:35.811Z"}


  • Global Moderator

    @Ryan-Feng run ./nodebb upgrade



  • @PitaJ so I did that, and this happened:

    Admin@DESKTOP-60RE76F ~/Documents/GitHub/NodeBB (v1.3.0)
    $ ./nodebb upgrade

    1. Bringing base dependencies up to date...
      Error: spawn /usr/bin/env ENOENT


  • Fixed. I was using Git Bash to run the command :P

    Now, how do I get rid of the {""} stuff? It was not there before.


  • Community Rep

    @Ryan-Feng said in NodeBB Start Up Help:

    Now, how do I get rid of the {""} stuff? It was not there before.

    This will be fixed soon.



  • Alright thanks.

    Solved. Mods or Admins may close.


  • Anime Lovers

    @Ryan-Feng me too.. spawn /usr/bin/env appeared how can solve it???


  • Global Moderator

    @사다리하하 try npm install && node app --upgrade instead


  • Anime Lovers

    @PitaJ thanks~~ a lot -0-


Log in to reply
 

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