• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Fresh Install Admin Forbidden. Is 32 bit a problem?

Scheduled Pinned Locked Moved Technical Support
3 Posts 2 Posters 1.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    merp
    wrote on last edited by
    #1

    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/socket.io-client/socket.io.js
    [minifier] file not found, node_modules/socket.io-client/socket.io.js
    {"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: 0.0.0.0:4567","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.

    Suggestions?
    Is 32 bit OS a problem?
    Thanks!

    1 Reply Last reply
    1
  • JaredBuschJ Offline
    JaredBuschJ Offline
    JaredBusch GNU/Linux
    wrote on last edited by JaredBusch
    #2

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

    See this: https://community.nodebb.org/topic/9904/fresh-install-error-cannot-login-register-js-reference-error

    1 Reply Last reply
    2
  • M Offline
    M Offline
    merp
    wrote on last edited by
    #3

    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.

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development