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

Community

Z

ZenOokami

@ZenOokami
About
Posts
8
Topics
4
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Users stuck on the Logging in page
  • Z ZenOokami

    Been experiencing a lot of issues with NodeBB, not much help via support - but one of the most annoying thing so far through testing is that users are stuck on the login page, inputting information and clicking okay keeps them on that page - needing to click the banner to go to the forum page, and then refresh to see and function as normal.

    We cannot find out what is causing this issue.


  • NodeBB and File Permissions across the system
  • Z ZenOokami

    Prelude: Last year, ran nodeBB under a root user just fine. many months later, system crashed and had to wipe the server. This time on installation, on a new server, ran into various errors. Was told not to run nodeBB under the root user, so --

    Creating a new user, and pulling and installing a different instance of nodeBB I am now running into errors with npm install (even using the global command) and generally overall.

    Is this still due to file permission issues regarding the first time setting up nodeBB on the new server? Or is something else to blame?

    When utilizing nodeBB on the new user, npm gives errors such as not finding modules (even tried removing node_modules directory and doing npm -g install), and when I do get the npm install to not crash, running any ./nodebb command still gives errors.

    Does anyone know the issue at hand? I'm thinking of wiping the server, and giving it one more try via not using root from the start to see if the errors can be avoided altogether - if not I may just move on to a different forum system.

    Thanks in advance!


  • MongoDB directory Location?
  • Z ZenOokami

    For anyone interested, I was able to trace some information down 😄

    so using: "ps -xa | grep mongod" I was able to locate the config file for mongo in /etc/ (different than etc/)

    if you open the config file (mongodb.conf) -- some use gedit (if your distro has it or not), I use vim: vim mongodb.conf

    you can then find the path for the database =o -- for me that was: /var/lib/mongodb

    Hope this helps if anyone stumbles across this post 🙂

    ps:
    If you're stuck in vim be sure to press "esc" on your keyboard, and then type ":q"

    I would recommend looking up vim and how it works if you plan on editing files with it -- alternatively, you could use sftp if you're using a VPS.

    Cheers!
    -ZenOokami


  • MongoDB directory Location?
  • Z ZenOokami

    So I'm running nodebb on an ubuntu vps and using mongodb as the database -- now I know I can simply use the cli command "mongo" to enter the shell -- but where is the data stored in general?

    I'd like to experiment with the database, and eventually test out getting other things to connect to it.

    (I used the the -y git nodejs mongodb build-essential to install it by the way)


  • Issues trying to setup NodeBB with MongoDB on DigitalOcean[solved]
  • Z ZenOokami

    I don't think it was Mongodb's user or db being the issue ._.
    Pretty sure "host identifier" has something to do with either nodebb or mongo's hosting setup, but I think it was that of NodeBB

    on the second time it wasn't accepting my webInstaller settings - not through the command line.

    But thanks.


  • Issues trying to setup NodeBB with MongoDB on DigitalOcean[solved]
  • Z ZenOokami

    @Joykiller did read it, didn't help, and couldn't get it to work. Not saying it's wrong, saying I didn't understand it lol.


  • Issues trying to setup NodeBB with MongoDB on DigitalOcean[solved]
  • Z ZenOokami

    In case anyone is curious and is having the same issues that I was having, I decided (and found out how to use) the web installer.

    Once you've cloned your copy of the repo of NodeBB and snatched your dependencies -- go to your directory that you've copied the repo to.

    use: "ls -la" to make sure you can see the "loader.js" file -- now what you're gonna want to do is use "nodejs loader.js" (we use nodejs because ubuntu has conflicts and needs to use nodejs to avoid said conflicts).

    The first time I ran the web installer it did not like my personal inputs for the db name and password and even name of the database - so for the 2nd time, after I selected to use "MongoDB" for the database, I left the rest blank.

    This worked.

    Hope this helps any others!

    p.s. -- if anyone knows readily where the mongodb database files are being stored for nodebb, that'd be helpful!


  • Issues trying to setup NodeBB with MongoDB on DigitalOcean[solved]
  • Z ZenOokami

    Hello!

    So I've been trying to setup NodeBB on a DO droplet (Ubuntu 14.04) with mongodb -- and I think some of the documentation might be outdated.

    Regardless of which during the nodebb setup I'm getting errors about a "double colon in host identifier" -- if I try to change a few things I get "connect ECONNREFUSED"

    And due to various tutorials, I've confused myself more than I'd like to admit.

    Is there an official up to date documented guide to installing NodeBB?

  • 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
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.