v1.x.x installs mongodb 2.1.22 and requires 2.1.3


  • Plugin & Theme Dev

     git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb
    Cloning into 'nodebb'...
    remote: Counting objects: 104177, done.
    remote: Compressing objects: 100% (75/75), done.
    remote: Total 104177 (delta 22), reused 0 (delta 0), pack-reused 104102
    Receiving objects: 100% (104177/104177), 31.96 MiB | 11.28 MiB/s, done.
    Resolving deltas: 100% (77551/77551), done.
    root@w1-exodo:/var/exodo# cd nodebb/
    root@w1-exodo:/var/exodo/nodebb# npm install --production
    npm WARN engine less@2.7.1: wanted: {"node":">=0.12"} (current: {"node":"0.10.37","npm":"1.4.28"})
    npm WARN engine postcss@5.1.2: wanted: {"node":">=0.12"} (current: {"node":"0.10.37","npm":"1.4.28"})
    npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
    npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.37","npm":"1.4.28"})
    npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.37","npm":"1.4.28"})
    npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.37","npm":"1.4.28"})
    npm WARN engine pngjs@3.0.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.37","npm":"1.4.28"})
    connect-flash@0.1.1 node_modules/connect-flash
    
    connect-ensure-login@0.1.1 node_modules/connect-ensure-login
    
    nodemailer-sendmail-transport@1.0.0 node_modules/nodemailer-sendmail-transport
    
    socketio-wildcard@0.3.0 node_modules/socketio-wildcard
    
    nodebb-plugin-soundpack-default@0.1.6 node_modules/nodebb-plugin-soundpack-default
    
    daemon@1.1.0 node_modules/daemon
    
    nodebb-rewards-essentials@0.0.9 node_modules/nodebb-rewards-essentials
    
    ip@1.1.2 node_modules/ip
    
    toobusy-js@0.4.3 node_modules/toobusy-js
    
    mime@1.3.4 node_modules/mime
    
    semver@5.3.0 node_modules/semver
    
    colors@1.1.2 node_modules/colors
    
    minimist@1.2.0 node_modules/minimist
    
    serve-favicon@2.3.0 node_modules/serve-favicon
    ├── fresh@0.3.0
    ├── parseurl@1.3.1
    ├── etag@1.7.0
    └── ms@0.7.1
    
    cookie-parser@1.4.3 node_modules/cookie-parser
    ├── cookie-signature@1.0.6
    └── cookie@0.3.1
    
    passport-local@1.0.0 node_modules/passport-local
    └── passport-strategy@1.0.0
    
    underscore@1.8.3 node_modules/underscore
    
    underscore.deep@0.5.1 node_modules/underscore.deep
    
    sitemap@1.8.1 node_modules/sitemap
    └── url-join@1.1.0
    
    passport@0.3.2 node_modules/passport
    ├── pause@0.0.1
    └── passport-strategy@1.0.0
    
    express-useragent@0.2.4 node_modules/express-useragent
    
    nodebb-plugin-spam-be-gone@0.4.9 node_modules/nodebb-plugin-spam-be-gone
    ├── project-honeypot@0.0.0
    ├── akismet@1.0.0
    └── simple-recaptcha-new@1.1.1
    
    nodebb-widget-essentials@2.0.10 node_modules/nodebb-widget-essentials
    
    async@1.5.2 node_modules/async
    
    lru-cache@4.0.0 node_modules/lru-cache
    ├── pseudomap@1.0.2
    └── yallist@2.0.0
    
    mkdirp@0.5.1 node_modules/mkdirp
    └── minimist@0.0.8
    
    nodebb-plugin-mentions@1.1.3 node_modules/nodebb-plugin-mentions
    
    string@3.3.1 node_modules/string
    
    xregexp@3.1.1 node_modules/xregexp
    
    bcryptjs@2.3.0 node_modules/bcryptjs
    
    csurf@1.9.0 node_modules/csurf
    ├── cookie-signature@1.0.6
    ├── cookie@0.3.1
    ├── http-errors@1.5.0 (setprototypeof@1.0.1, inherits@2.0.1, statuses@1.3.0)
    └── csrf@3.0.3 (rndm@1.2.0, base64-url@1.2.2, tsscmp@1.0.5, uid-safe@2.1.1)
    
    nodebb-plugin-composer-default@4.1.7 node_modules/nodebb-plugin-composer-default
    └── screenfull@3.0.0
    
    nodebb-theme-lavender@3.0.13 node_modules/nodebb-theme-lavender
    
    express-session@1.14.0 node_modules/express-session
    ├── utils-merge@1.0.0
    ├── parseurl@1.3.1
    ├── cookie-signature@1.0.6
    ├── on-headers@1.0.1
    ├── cookie@0.3.1
    ├── crc@3.4.0
    ├── depd@1.1.0
    ├── uid-safe@2.1.1 (random-bytes@1.0.0, base64-url@1.2.2)
    └── debug@2.2.0 (ms@0.7.1)
    
    logrotate-stream@0.2.5 node_modules/logrotate-stream
    ├── byt@0.1.0
    ├── log-rotate@0.2.7
    └── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
    
    validator@5.5.0 node_modules/validator
    
    rimraf@2.5.4 node_modules/rimraf
    └── glob@7.0.5 (path-is-absolute@1.0.0, fs.realpath@1.0.0, inherits@2.0.1, once@1.3.3, inflight@1.0.5, minimatch@3.0.3)
    
    nodemailer-smtp-transport@2.6.0 node_modules/nodemailer-smtp-transport
    ├── nodemailer-wellknown@0.1.10
    ├── nodemailer-shared@1.0.5 (nodemailer-fetch@1.4.0)
    └── smtp-connection@2.8.0 (httpntlm@1.6.1)
    
    connect-multiparty@2.0.0 node_modules/connect-multiparty
    ├── on-finished@2.3.0 (ee-first@1.1.1)
    ├── qs@4.0.0
    ├── multiparty@4.1.2 (fd-slicer@1.0.1)
    └── type-is@1.6.13 (media-typer@0.3.0, mime-types@2.1.11)
    
    winston@2.2.0 node_modules/winston
    ├── cycle@1.0.3
    ├── stack-trace@0.0.9
    ├── eyes@0.1.8
    ├── isstream@0.1.2
    ├── pkginfo@0.3.1
    ├── async@1.0.0
    └── colors@1.0.3
    
    connect-redis@3.0.2 node_modules/connect-redis
    └── debug@2.2.0 (ms@0.7.1)
    
    mousetrap@1.6.0 node_modules/mousetrap
    
    morgan@1.7.0 node_modules/morgan
    ├── basic-auth@1.0.4
    ├── on-headers@1.0.1
    ├── depd@1.1.0
    ├── on-finished@2.3.0 (ee-first@1.1.1)
    └── debug@2.2.0 (ms@0.7.1)
    
    redis@2.4.2 node_modules/redis
    ├── double-ended-queue@2.1.0-0
    └── redis-commands@1.2.0
    
    html-to-text@2.0.0 node_modules/html-to-text
    ├── he@0.5.0
    ├── htmlparser@1.7.7
    ├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
    └── underscore.string@3.3.4 (util-deprecate@1.0.2, sprintf-js@1.0.3)
    
    prompt@1.0.0 node_modules/prompt
    ├── revalidator@0.1.8
    ├── pkginfo@0.4.0
    ├── read@1.0.7 (mute-stream@0.0.6)
    ├── utile@0.3.0 (deep-equal@0.2.2, ncp@1.0.1, i@0.3.5, async@0.9.2)
    └── winston@2.1.1 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, isstream@0.1.2, pkginfo@0.3.1, async@1.0.0, colors@1.0.3)
    
    nconf@0.8.4 node_modules/nconf
    ├── ini@1.3.4
    ├── secure-keys@1.0.0
    └── yargs@3.32.0 (decamelize@1.2.0, camelcase@2.1.1, y18n@3.2.1, window-size@0.1.4, os-locale@1.4.0, cliui@3.2.0, string-width@1.0.2)
    
    socket.io-redis@1.0.0 node_modules/socket.io-redis
    ├── uid2@0.0.3
    ├── async@0.9.0
    ├── msgpack-js@0.3.0 (bops@0.0.7)
    ├── redis@2.3.0 (double-ended-queue@2.1.0-0)
    ├── socket.io-adapter@0.4.0 (socket.io-parser@2.2.2)
    └── debug@2.2.0 (ms@0.7.1)
    
    connect-mongo@1.1.0 node_modules/connect-mongo
    └── bluebird@3.4.1
    
    nodemailer@2.0.0 node_modules/nodemailer
    ├── nodemailer-smtp-transport@2.0.0 (nodemailer-wellknown@0.1.7, clone@1.0.2, smtp-connection@2.0.0)
    ├── nodemailer-shared@1.0.2 (nodemailer-fetch@1.0.0)
    ├── nodemailer-direct-transport@2.0.0 (smtp-connection@2.0.0)
    ├── mailcomposer@3.0.1 (buildmail@3.0.1)
    ├── nodemailer-smtp-pool@2.0.0 (nodemailer-wellknown@0.1.7, clone@1.0.2, smtp-connection@2.0.0)
    └── libmime@2.0.0 (libbase64@0.1.0, libqp@1.1.0, iconv-lite@0.4.13)
    
    json-2-csv@2.0.22 node_modules/json-2-csv
    ├── doc-path@1.0.7
    └── bluebird@3.3.5
    
    request@2.74.0 node_modules/request
    ├── is-typedarray@1.0.0
    ├── oauth-sign@0.8.2
    ├── aws-sign2@0.6.0
    ├── forever-agent@0.6.1
    ├── tunnel-agent@0.4.3
    ├── caseless@0.11.0
    ├── stringstream@0.0.5
    ├── isstream@0.1.2
    ├── json-stringify-safe@5.0.1
    ├── extend@3.0.0
    ├── aws4@1.4.1
    ├── form-data@1.0.0-rc4
    ├── combined-stream@1.0.5 (delayed-stream@1.0.0)
    ├── node-uuid@1.4.7
    ├── qs@6.2.1
    ├── tough-cookie@2.3.1
    ├── bl@1.1.2 (readable-stream@2.0.6)
    ├── mime-types@2.1.11 (mime-db@1.23.0)
    ├── har-validator@2.0.6 (pinkie-promise@2.0.1, commander@2.9.0, chalk@1.1.3, is-my-json-valid@2.13.1)
    ├── http-signature@1.1.1 (assert-plus@0.2.0, jsprim@1.3.0, sshpk@1.9.2)
    └── hawk@3.1.3 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)
    
    compression@1.6.2 node_modules/compression
    ├── on-headers@1.0.1
    ├── vary@1.1.0
    ├── bytes@2.3.0
    ├── debug@2.2.0 (ms@0.7.1)
    ├── compressible@2.0.8 (mime-db@1.23.0)
    └── accepts@1.3.3 (negotiator@0.6.1, mime-types@2.1.11)
    
    socket.io@1.4.8 node_modules/socket.io
    ├── has-binary@0.1.7 (isarray@0.0.1)
    ├── debug@2.2.0 (ms@0.7.1)
    ├── socket.io-parser@2.2.6 (isarray@0.0.1, component-emitter@1.1.2, json3@3.3.2, benchmark@1.0.0)
    ├── engine.io@1.6.11 (base64id@0.1.0, engine.io-parser@1.2.4, ws@1.1.0, accepts@1.1.4)
    └── socket.io-adapter@0.4.0 (socket.io-parser@2.2.2)
    
    templates.js@0.3.4 node_modules/templates.js
    
    nodebb-theme-vanilla@5.1.9 node_modules/nodebb-theme-vanilla
    
    rss@1.2.1 node_modules/rss
    ├── xml@1.0.1
    └── mime-types@2.1.11 (mime-db@1.23.0)
    
    nodebb-theme-persona@4.1.19 node_modules/nodebb-theme-persona
    
    socket.io-client@1.4.8 node_modules/socket.io-client
    ├── to-array@0.1.4
    ├── indexof@0.0.1
    ├── component-emitter@1.2.0
    ├── component-bind@1.0.0
    ├── backo2@1.0.2
    ├── object-component@0.0.3
    ├── has-binary@0.1.7 (isarray@0.0.1)
    ├── debug@2.2.0 (ms@0.7.1)
    ├── parseuri@0.0.4 (better-assert@1.0.2)
    ├── engine.io-client@1.6.11 (yeast@0.1.2, component-inherit@0.0.3, has-cors@1.1.0, component-emitter@1.1.2, xmlhttprequest-ssl@1.5.1, parseqs@0.0.2, parsejson@0.0.1, engine.io-parser@1.2.4, ws@1.0.1)
    └── socket.io-parser@2.2.6 (isarray@0.0.1, json3@3.3.2, component-emitter@1.1.2, benchmark@1.0.0)
    
    uglify-js@2.7.1 node_modules/uglify-js
    ├── uglify-to-browserify@1.0.2
    ├── async@0.2.10
    ├── source-map@0.5.6
    └── yargs@3.10.0 (decamelize@1.2.0, window-size@0.1.0, camelcase@1.2.1, cliui@2.1.0)
    
    body-parser@1.15.2 node_modules/body-parser
    ├── content-type@1.0.2
    ├── bytes@2.4.0
    ├── on-finished@2.3.0 (ee-first@1.1.1)
    ├── raw-body@2.1.7 (unpipe@1.0.0)
    ├── qs@6.2.0
    ├── depd@1.1.0
    ├── http-errors@1.5.0 (setprototypeof@1.0.1, statuses@1.3.0, inherits@2.0.1)
    ├── iconv-lite@0.4.13
    ├── debug@2.2.0 (ms@0.7.1)
    └── type-is@1.6.13 (media-typer@0.3.0, mime-types@2.1.11)
    
    express@4.14.0 node_modules/express
    ├── escape-html@1.0.3
    ├── utils-merge@1.0.0
    ├── array-flatten@1.1.1
    ├── cookie-signature@1.0.6
    ├── merge-descriptors@1.0.1
    ├── fresh@0.3.0
    ├── methods@1.1.2
    ├── vary@1.1.0
    ├── path-to-regexp@0.1.7
    ├── encodeurl@1.0.1
    ├── range-parser@1.2.0
    ├── parseurl@1.3.1
    ├── etag@1.7.0
    ├── content-type@1.0.2
    ├── cookie@0.3.1
    ├── content-disposition@0.5.1
    ├── serve-static@1.11.1
    ├── on-finished@2.3.0 (ee-first@1.1.1)
    ├── depd@1.1.0
    ├── finalhandler@0.5.0 (unpipe@1.0.0, statuses@1.3.0)
    ├── qs@6.2.0
    ├── send@0.14.1 (destroy@1.0.4, ms@0.7.1, statuses@1.3.0, http-errors@1.5.0)
    ├── proxy-addr@1.1.2 (forwarded@0.1.0, ipaddr.js@1.1.1)
    ├── accepts@1.3.3 (negotiator@0.6.1, mime-types@2.1.11)
    ├── debug@2.2.0 (ms@0.7.1)
    └── type-is@1.6.13 (media-typer@0.3.0, mime-types@2.1.11)
    
    nodebb-plugin-markdown@6.0.2 node_modules/nodebb-plugin-markdown
    └── markdown-it@6.1.1 (uc.micro@1.0.2, mdurl@1.0.1, linkify-it@1.2.4, entities@1.1.1, argparse@1.0.7)
    
    postcss@5.1.2 node_modules/postcss
    ├── js-base64@2.1.9
    ├── supports-color@3.1.2 (has-flag@1.0.0)
    └── source-map@0.5.6
    
    mongodb@2.1.22-alpha4 node_modules/mongodb
    ├── es6-promise@3.0.2
    ├── readable-stream@1.0.31 (isarray@0.0.1, inherits@2.0.1, string_decoder@0.10.31, core-util-is@1.0.2)
    └── mongodb-core@1.3.22-alpha4 (require_optional@1.0.0, bson@0.4.23)
    
    jimp@0.2.21 node_modules/jimp
    ├── read-chunk@1.0.1
    ├── file-type@3.8.0
    ├── bmp-js@0.0.1
    ├── url-regex@3.2.0 (ip-regex@1.0.3)
    ├── stream-to-buffer@0.1.0 (stream-to@0.2.2)
    ├── es6-promise@3.2.1
    ├── bignumber.js@2.4.0
    ├── exif-parser@0.1.9
    ├── tinycolor2@1.4.1
    ├── pngjs@2.3.1
    ├── pixelmatch@4.0.2 (pngjs@3.0.0)
    └── jpeg-js@0.1.2
    
    nodebb-plugin-emoji-one@1.1.5 node_modules/nodebb-plugin-emoji-one
    ├── wrench@1.5.9
    ├── q@1.4.1
    ├── adm-zip@0.4.7
    └── lodash@4.15.0
    
    nodebb-plugin-dbsearch@1.0.2 node_modules/nodebb-plugin-dbsearch
    └── redisearch@0.0.6 (redis@0.12.1, natural@0.2.1)
    
    cron@1.1.0 node_modules/cron
    └── moment-timezone@0.3.1 (moment@2.14.1)
    
    less@2.7.1 node_modules/less
    ├── graceful-fs@4.1.5
    ├── image-size@0.5.0
    ├── errno@0.1.4 (prr@0.0.0)
    ├── source-map@0.5.6
    └── promise@7.1.1 (asap@2.0.4)
    
    autoprefixer@6.4.0 node_modules/autoprefixer
    ├── normalize-range@0.1.2
    ├── num2fraction@1.2.2
    ├── postcss-value-parser@3.3.0
    ├── browserslist@1.3.5
    └── caniuse-db@1.0.30000522
    
    chart.js@2.2.1 node_modules/chart.js
    ├── chartjs-color@2.0.0 (color-convert@0.5.3, chartjs-color-string@0.4.0)
    └── moment@2.14.1
    
    nodebb-plugin-emoji-extended@1.1.1 node_modules/nodebb-plugin-emoji-extended
    ├── q@1.4.1
    └── lodash@4.15.0
    root@w1-exodo:/var/exodo/nodebb# nano config.json
    root@w1-exodo:/var/exodo/nodebb# ./nodebb upgrade
    1. Bringing base dependencies up to date... OK
    2. Checking installed plugins for updates... OK
    3. Updating NodeBB data store schema...
    15/8 04:52 [4507] - info: [database] Checking database indices.
    15/8 04:52 [4507] - info: Beginning database schema update
    15/8 04:52 [4507] - info: [2015/12/15] Chats upgrade skipped!
    15/8 04:52 [4507] - info: [2015/12/23] Chats room hashes upgrade skipped!
    15/8 04:52 [4507] - info: [2015/12/23] Adding theme to active plugins sorted set skipped!
    15/8 04:52 [4507] - info: [2016/01/14] Creating user best post sorted sets skipped!
    15/8 04:52 [4507] - info: [2016/01/20] Creating users:notvalidated skipped!
    15/8 04:52 [4507] - info: [2016/01/23] Creating Global moderators group skipped!
    15/8 04:52 [4507] - info: [2016/02/25] Social: Post Sharing skipped!
    15/8 04:52 [4507] - info: [2016/04/14] Group title from settings to user profile skipped!
    15/8 04:52 [4507] - info: [2016/04/19] Users post count per tid skipped!
    15/8 04:52 [4507] - info: [2016/04/29] Dismiss flags from deleted topics skipped!
    15/8 04:52 [4507] - info: [2016/05/28] Giving topics:read privs to any group that was previously allowed to Find & Access Category - skipped!
    15/8 04:52 [4507] - info: [2016/06/13] Store upvotes/downvotes separately skipped!
    15/8 04:52 [4507] - info: [2016/07/12] Upload privileges skipped!
    15/8 04:52 [4507] - info: [2016/08/05] Removing best posts with negative scores skipped!
    15/8 04:52 [4507] - info: [upgrade] Schema already up to date!
    OK
    
                                           NodeBB Upgrade Complete!
    
    root@w1-exodo:/var/exodo/nodebb# ./nodebb start
    
    Starting NodeBB
      "./nodebb stop" to stop the NodeBB server
      "./nodebb log" to view server output
      "./nodebb restart" to restart NodeBB
    
    root@w1-exodo:/var/exodo/nodebb# ./nodebb log
    
    Type Ctrl-C to exit
    
    [outdated] mongodb installed v2.1.22-alpha4, package.json requires ~2.1.3
    15/8 04:52 [4532] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    15/8 04:52 [4532] - warn:     ./nodebb upgrade
    15/8 04:52 [4534] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    15/8 04:52 [4534] - warn:     ./nodebb upgrade
    [cluster] Child Process (4532) has exited (code: 0, signal: null)
    15/8 04:52 [4527] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    [cluster] Child Process (4534) has exited (code: 0, signal: null)
    15/8 04:52 [4527] - warn:     ./nodebb upgrade
    [cluster] Child Process (4527) has exited (code: 0, signal: null)
    
    [outdated] mongodb installed v2.1.22-alpha4, package.json requires ~2.1.3
    15/8 04:52 [4532] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    15/8 04:52 [4532] - warn:     ./nodebb upgrade
    15/8 04:52 [4534] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    15/8 04:52 [4534] - warn:     ./nodebb upgrade
    [cluster] Child Process (4532) has exited (code: 0, signal: null)
    15/8 04:52 [4527] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
    [cluster] Child Process (4534) has exited (code: 0, signal: null)
    15/8 04:52 [4527] - warn:     ./nodebb upgrade
    [cluster] Child Process (4527) has exited (code: 0, signal: null)
    

    Tried to npm i mongodb@~2.1.3
    but didnt work


  • Plugin & Theme Dev

    @exodo what happened when you tried to install mongodb module using npm i? Did you get an error?


  • Plugin & Theme Dev

    @pichalite said in v1.x.x installs mongodb 2.1.22 and requires 2.1.3:

    @exodo what happened when you tried to install mongodb module using npm i? Did you get an error?

    No error but mongo stays on same version


  • Plugin & Theme Dev

    @exodo try the install without the ~

    npm i mongodb@2.1.21

    that's the latest in that minor version.


  • Plugin & Theme Dev

    @pichalite said in v1.x.x installs mongodb 2.1.22 and requires 2.1.3:

    @exodo try the install without the ~

    npm i mongodb@2.1.21

    that's the latest in that minor version.

    seems to work now after a few error commands :full_moon_with_face:

     npm i mongodb@2.1.3
    -
    > kerberos@0.0.21 install /var/foroexodo/nodebb/node_modules/mongodb/node_module                                           s/kerberos
    > (node-gyp rebuild) || (exit 0)
    
    make: Entering directory `/var/foroexodo/nodebb/node_modules/mongodb/node_module                                           s/kerberos/build'
      CXX(target) Release/obj.target/kerberos/lib/kerberos.o
    In file included from ../lib/kerberos.cc:1:0:
    ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
    compilation terminated.
    make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
    make: Leaving directory `/var/foroexodo/nodebb/node_modules/mongodb/node_modules                                           /kerberos/build'
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module                                           s/node-gyp/lib/build.js:267:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:                                           12)
    gyp ERR! System Linux 3.5.0-54-generic
    gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/nod                                           e-gyp.js" "rebuild"
    gyp ERR! cwd /var/foroexodo/nodebb/node_modules/mongodb/node_modules/kerberos
    gyp ERR! node -v v0.10.37
    gyp ERR! node-gyp -v v1.0.1
    gyp ERR! not ok
    mongodb@2.1.3 node_modules/mongodb
    ├── es6-promise@3.0.2
    ├── readable-stream@1.0.31 (inherits@2.0.1, isarray@0.0.1, string_decoder@0.10.3                                           1, core-util-is@1.0.2)
    ├── kerberos@0.0.21 (nan@2.3.5)
    └── mongodb-core@1.2.31 (bson@0.4.23)
    root@w1-exodo:/var/foroexodo/nodebb# npm ls mongodb
    nodebb@1.1.2 /var/foroexodo/nodebb
    └── mongodb@2.1.3  invalid
    
    npm ERR! invalid: mongodb@2.1.3 /var/foroexodo/nodebb/node_modules/mongodb
    npm ERR! not ok code 0
    root@w1-exodo:/var/foroexodo/nodebb# npm install
    root@w1-exodo:/var/foroexodo/nodebb# ./nodebb upgrade
    1. Bringing base dependencies up to date... OK
    2. Checking installed plugins for updates... OK
    3. Updating NodeBB data store schema...
    15/8 11:14 [5763] - info: [database] Checking database indices.
    15/8 11:14 [5763] - info: Beginning database schema update
    15/8 11:14 [5763] - info: [2015/12/15] Chats upgrade skipped!
    15/8 11:14 [5763] - info: [2015/12/23] Chats room hashes upgrade skipped!
    15/8 11:14 [5763] - info: [2015/12/23] Adding theme to active plugins sorted set skipped!
    15/8 11:14 [5763] - info: [2016/01/14] Creating user best post sorted sets skipped!
    15/8 11:14 [5763] - info: [2016/01/20] Creating users:notvalidated skipped!
    15/8 11:14 [5763] - info: [2016/01/23] Creating Global moderators group skipped!
    15/8 11:14 [5763] - info: [2016/02/25] Social: Post Sharing skipped!
    15/8 11:14 [5763] - info: [2016/04/14] Group title from settings to user profile skipped!
    15/8 11:14 [5763] - info: [2016/04/19] Users post count per tid skipped!
    15/8 11:14 [5763] - info: [2016/04/29] Dismiss flags from deleted topics skipped!
    15/8 11:14 [5763] - info: [2016/05/28] Giving topics:read privs to any group that was previously allowed to Find & Access Category - skipped!
    15/8 11:14 [5763] - info: [2016/06/13] Store upvotes/downvotes separately skipped!
    15/8 11:14 [5763] - info: [2016/07/12] Upload privileges skipped!
    15/8 11:14 [5763] - info: [2016/08/05] Removing best posts with negative scores skipped!
    15/8 11:14 [5763] - info: [upgrade] Schema already up to date!
    OK
    
                                                     NodeBB Upgrade Complete!
    
    root@w1-exodo:/var/foroexodo/nodebb# npm ls redis
    nodebb@1.1.2 /var/foroexodo/nodebb
    ├─┬ nodebb-plugin-dbsearch@1.0.2
    │ └─┬ redisearch@0.0.6
    │   └── redis@0.12.1
    ├── redis@2.4.2
    └─┬ socket.io-redis@1.0.0
      └── redis@2.3.0
    
    root@w1-exodo:/var/foroexodo/nodebb# npm ls mongodb
    nodebb@1.1.2 /var/foroexodo/nodebb
    └── mongodb@2.1.3
    
    

Log in to reply
 

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