Struggling to set up NodeBB on local computer

General Discussion
  • After starting node with ./nodebb start I get the output:

    Starting NodeBB
    "./nodebb stop" to stop the NodeBB server
    "./nodebb log" to view server output
    

    But on visiting localhost:4567 I get This web page is not available.

    Looking at the logs, I can see the following output, repeating every second or so:

    [cluster] Spinning up another process...
    [cluster] Child Process (6951) listening for connections.
    [cluster] Child Process (6951) has exited (code: 7)
    [cluster] Spinning up another process...
    

    The setup used the defaults, so it's definitely the correct port. What am I doing wrong here?

  • Running it with ./nodebb dev should give you a more detailed output.

  • @Xiph Ah, thanks very much. It seems that it was looking for a theme that wasn't installed. What happened was that I had installed nodebb some months ago and played around a bit. Now the new installation is using the same database as the old, but with the new file system. I'll set it up again with a new database. Thanks for the heads up on the ./nodebb dev command 🙂

  • @babaggeii said:

    @Xiph Ah, thanks very much. It seems that it was looking for a theme that wasn't installed. What happened was that I had installed nodebb some months ago and played around a bit. Now the new installation is using the same database as the old, but with the new file system. I'll set it up again with a new database. Thanks for the heads up on the ./nodebb dev command 🙂

    No problem, here to help :bowtie:

    If you want to keep the data from your old database, you can try running the ./nodebb upgrade command, although personally I've only used it to upgrade between subsequent versions of NodeBB, so I can't guarantee it'll work flawlessly in your case. 😕 It'd probably be wise to take a backup of your database if you want to try it.

  • @Xiph said:

    It'd probably be wise to take a backup of your database if you want to try it.

    Always a good thing to do when automated tools supposedly mess around with your data 😄


Suggested Topics


| | | |