Hello...


  • GNU/Linux

    Hello I have used several scripts forum, and I want to remain with nodebb!

    in a topic I have seen command to install ubuntu on 14 I know it must have mongo versions 2.6.x can someone remind me how to do it??


  • Community Rep

    @Dawid-Glomba this isn't a nodebb specific problem, you can find tons of information and tutorials on how to install mongo on Ubuntu if you search Google.



  • @Dawid-Glomba said in Hello...:

    Hello I have used several scripts forum, and I want to remain with nodebb!

    in a topic I have seen command to install ubuntu on 14 I know it must have mongo versions 2.6.x can someone remind me how to do it??

    I passed this guide along to several people that were trying out nodebb and it worked for them using mongo. Hopefully it helps you too.


  • GNU/Linux

    im have thais:
    29/5 16:24 [14597] - info: Now configuring mongo database:
    Host IP or address of your MongoDB instance (127.0.0.1) 127.0.0.1
    Host port of your MongoDB instance (27017) 27017
    MongoDB username (node) nodebb
    Password of your MongoDB database
    Which database to use (0) nodebb
    Configuration Saved OK
    29/5 16:24 [14597] - error: NodeBB could not connect to your Mongo database. Mon go returned the following error: auth failed
    29/5 16:24 [14597] - warn: NodeBB Setup Aborted.
    MongoError: auth failed
    at Function.MongoError.create (/root/nodebb/node_modules/mongodb/node_module s/mongodb-core/lib/error.js:31:11)
    at commandCallback (/root/nodebb/node_modules/mongodb/node_modules/mongodb-c ore/lib/topologies/server.js:1206:66)
    at Callbacks.emit (/root/nodebb/node_modules/mongodb/node_modules/mongodb-co re/lib/topologies/server.js:119:3)
    at null.messageHandler (/root/nodebb/node_modules/mongodb/node_modules/mongo db-core/lib/topologies/server.js:371:23)
    at Socket.<anonymous> (/root/nodebb/node_modules/mongodb/node_modules/mongod b-core/lib/connection/connection.js:301:22)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at TCP.onread (net.js:531:20)
    root@vps259565:~/nodebb#



  • @Dawid-Glomba

    in terminal ./nodebb setup and confirm each step that it matches your mongodb setting especially the password


  • GNU/Linux

    soloved https://crox.pl


  • GNU/Linux

    have this error:
    /api/admin/advanced/database
    not authorized on nodebb to execute command { serverStatus: 1 }


  • Admin

    Your MongoDB user does not have appropriate privileges to access database info.


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.