Fresh Install Admin Forbidden. Is 32 bit a problem?

Technical Support
  • This is a fresh dedicated server, setup only to run NodeBB on this server, with nothing else on it (not a virtual or shared server).
    Ubuntu 16.04 LTS 32 bit.

    Walk through the installation instructions, everything seems to work, no apparent errors that I can see (newbie with nodeBB).
    Connect to the server through webpage on port 4567 to setup the administrator account (all seems to go well). Then it restarts NodeBB (the web page indicates). And then prompted to login. Attempt to login with the just created admin account username and password, and get error on empty webpage of just: "Forbidden".

    ./nodebb log, when trying to login shows:

    {"level":"info","message":"Time: Wed Nov 30 2016 15:31:48 GMT-0800 (PST)","timestamp":"2016-11-30T23:31:48.972Z"}
    {"level":"info","message":"Initializing NodeBB v1.3.0","timestamp":"2016-11-30T23:31:48.980Z"}
    {"level":"info","message":"[database] Checking database indices.","timestamp":"2016-11-30T23:31:49.539Z"}
    {"level":"info","message":"[database] Checking database indices done!","timestamp":"2016-11-30T23:31:49.565Z"}
    {"level":"info","message":"initializing NodeBB ...","timestamp":"2016-11-30T23:31:52.391Z"}
    {"level":"info","message":"Routes added","timestamp":"2016-11-30T23:31:53.060Z"}
    [minifier] file not found, node_modules/
    [minifier] file not found, node_modules/
    {"level":"info","message":"NodeBB Ready","timestamp":"2016-11-30T23:32:22.143Z"}
    {"level":"info","message":"Enabling 'trust proxy'","timestamp":"2016-11-30T23:32:22.149Z"}
    {"level":"info","message":"NodeBB is now listening on:","timestamp":"2016-11-30T23:32:22.159Z"}
    {"level":"error","message":"/login\n invalid csrf token","timestamp":"2016-11-30T23:32:46.017Z"}

    I have tried a complete wipe of nodebb, mongo (including removing /var/log, /var/lib, /etc/mongo.conf, apt-get purge, etc.), etc. and reinstall, 3 times now, with the same results alas.

    Is 32 bit OS a problem?

  • Switch to master and see if the problem goes away.
    git checkout master

    See this:

  • Pulling from Master helped. However the webpage that starts NodeBB after setting up the DB through the webpage, doesn't restart it now. I had to kill the command line, and manually start nodeBB. But then it works fine. Just an FYI.

Suggested Topics