• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. obri3n
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    obri3n

    @obri3n

    0
    Reputation
    399
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    obri3n Unfollow Follow

    Latest posts made by obri3n

    • RE: HELP! Update from 0.8 to 1.4

      😞

      [email protected]:~/nodebb$ mongo nodebb
      MongoDB shell version: 3.2.12
      connecting to: nodebb
      Server has startup warnings:
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten]
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten]
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
      2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten]

      show users
      {
      "_id" : "nodebb.nodebbsvc",
      "user" : "nodebbsvc",
      "db" : "nodebb",
      "roles" : [
      {
      "role" : "readWrite",
      "db" : "nodebb"
      }
      ]
      }

      posted in Technical Support
      O
      obri3n
    • RE: HELP! Update from 0.8 to 1.4

      [email protected]:~/nodebb$ ./nodebb setup
      19/2 11:33:56 [23827] - info: NodeBB Setup Triggered via Command Line

      Welcome to NodeBB!

      This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
      Press enter to accept the default setting (shown in brackets).

      19/2 11:33:56 [23827] - info: Now configuring mongo database:
      19/2 11:33:56 [23827] - error: Error saving server configuration! EACCES: permission denied, open '/home/tom/nodebb/config.json'
      19/2 11:33:56 [23827] - warn: NodeBB Setup Aborted.
      Error: EACCES: permission denied, open '/home/tom/nodebb/config.json'
      at Error (native)

      posted in Technical Support
      O
      obri3n
    • RE: HELP! Update from 0.8 to 1.4

      Ok, getting closer...

      One thing I'm not sure about was the edit mongo .conf - It didn't have an auth=true ???

      [email protected]:~/nodebb$ sudo nano /etc/mongod.conf

      GNU nano 2.5.3 File: /etc/mongod.conf Modified

      #security:

      #operationProfiling:

      #replication:

      #sharding:

      Enterprise-Only Options:

      #auditLog:

      #snmp:

      ???

      Then on to node install I get this:

      19/2 11:24:02 [23753] - info: Now configuring mongo database:
      Host IP or address of your MongoDB instance (127.0.0.1)
      Host port of your MongoDB instance (27017)
      MongoDB username mongoadmin
      Password of your MongoDB database
      MongoDB database name (nodebb)
      Configuration Saved OK
      19/2 11:24:40 [23753] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: Authentication failed.
      19/2 11:24:40 [23753] - warn: NodeBB Setup Aborted.
      MongoError: Authentication failed.
      at Function.MongoError.create (/home/tom/nodebb/node_modules/mongodb-core/lib/error.js:31:11)
      at /home/tom/nodebb/node_modules/mongodb-core/lib/connection/pool.js:483:72
      at authenticateStragglers (/home/tom/nodebb/node_modules/mongodb-core/lib/connection/pool.js:429:16)
      at Connection.messageHandler (/home/tom/nodebb/node_modules/mongodb-core/lib/connection/pool.js:463:5)
      at Socket.<anonymous> (/home/tom/nodebb/node_modules/mongodb-core/lib/connection/connection.js:317:22)
      at emitOne (events.js:96:13)
      at Socket.emit (events.js:188:7)
      at readableAddChunk (_stream_readable.js:176:18)
      at Socket.Readable.push (_stream_readable.js:134:10)
      at TCP.onread (net.js:548:20)
      [email protected]:~/nodebb$

      posted in Technical Support
      O
      obri3n
    • RE: HELP! Update from 0.8 to 1.4

      ok here goes : )

      So, following link text

      Digital Ocean
      Ubuntu 16.4
      node -v = v6.9.5
      npm -v = 3.10.10

      First problem...

      [email protected]:~$ mongo
      MongoDB shell version: 3.2.12
      connecting to: test
      Server has startup warnings:
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten]
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten]
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
      2017-02-19T10:36:01.171+0000 I CONTROL [initandlisten]

      posted in Technical Support
      O
      obri3n

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact