Manage configs via configs instead of admin

General Discussion

Suggested Topics

  • 0 Votes
    3 Posts

    So, I managed to get it working. Just coming here to post what works for me if anyone have the same issue. I try to scape double quotes, stringify, etc.

    I had to "unfold (?)" the admin object and then all start working:

    { "url": "${URL}", "port": "${PORT}", "admin":{ "username": "${ADMIN_USERNAME}", "email": "${ADMIN_EMAIL}", "password": "${ADMIN_PASSWORD}", "password:confirm": "${ADMIN_PASSWORD}" }, "database": "${DB_VENDOR}", "${DB_VENDOR}": { "host": "${DB_HOST}", "port": "${DB_PORT}", "username": "${DB_USER}", "password": "${DB_PASSWORD}", "database": "${DB_NAME}", "ssl": "${DB_SSL}" } }
  • 1 Votes
    1 Posts

    Since are for discussing the platform of NodeBB, it probably make sense to have a group that is whoever has a verified nodebb deployment and as admin. Having such group will help motivate more people to ask questions, help those site admins and also a promote a culture of community target: the "user" of NodeBB software itself: the site admins of NodeBB.

    I checked the group and it seems it doesn't exist yet.


  • 0 Votes
    10 Posts

    @Julien-Deloubes This is just a guess about your situation based on my own initial setup of nodebb, but you may be having issues because of linux privileges (i.e. some stuff is done with sudo and some stuff isn't). So, try this and see if it helps:

    Go to the directory where your nodebb is installed and run sudo npm install Next type sudo chown -R youruser:youruser . <-- youruser is your username... Run ./nodebb setup Run ./nodebb dev and post any errors or warnings you get here...

    To summarize, you'll npm install with sudo because sometimes things need to rebuild which may call out to folders/files requiring su privileges. Then, you change ownership of your entire nodebb installation directory to your username to avoid privilege issues when running ./nodebb. You re-run setup to ensure things are built properly and where they need to be. Finally, ./nodebb dev will give you some useful output as nodebb loads and if you are having routing issues it will probably log those to the console as well. So, run it that way click around, type things and do stuff to see what happens and if you are getting errors/warnings post it here.

    Having said all that, I may be completely wrong, but it only takes a minute or two to try out and definitely won't mess things up. Just don't set your port to anything low (i.e.port 80) or you'll have issues because linux reserves the lower port numbers for su privileged users. Basically, stick to port 4567.

    Good luck!

  • How to admin?

    General Discussion
    0 Votes
    8 Posts

    Seems to vary between the services used, I didn't get asked to create an admin user when using openshift. Is there a way to create one after the fact?

  • NodeBB Demo Admin?

    General Discussion
    0 Votes
    24 Posts

    This community is really nice and supportive. How does one obtain "referrals' or whatever so you can post on other threads without waiting a long loads of time.