Heroku deployment: Internal Server Error (no idea what's going on)



  • Hey all!

    I'm having a little trouble deploying my local NodeBB app to Heroku. I was wondering if anybody would be willing to offer some guidance.

    I followed the instructions available at: https://docs.nodebb.org/installing/cloud/heroku/#heroku pretty much verbatim.

    As for the redis database configuration,

    Host IP or address of your Redis instance: redis://redistogo:PASSWORD@greeneye.redistogo.com:11951/
    Host port of your Redis instance:
    11951
    Password of your Redis database:
    PASSWORD
    Which database to use:
    (default) 0

    The logs from when the source was being built:
    *Initially, in development, we noticed that Node v8.0.0 was not compatible with NodeBB, so we downgraded to v7.10.0. Speculating that this might be the reason that the app is failing in production as well, we specified the node version as v7.10.0. But it didn't resolve the issue.

    remote: Compressing source files... done.
    remote: Building source:
    remote: 
    remote: -----> Node.js app detected
    remote: 
    remote: -----> Creating runtime environment
    remote:        
    remote:        NPM_CONFIG_LOGLEVEL=error
    remote:        NPM_CONFIG_PRODUCTION=true
    remote:        NODE_VERBOSE=false
    remote:        NODE_ENV=production
    remote:        NODE_MODULES_CACHE=true
    remote: 
    remote: -----> Installing binaries
    remote:        engines.node (package.json):  7.10.0
    remote:        engines.npm (package.json):   unspecified (use default)
    remote:        
    remote:        Downloading and installing node 7.10.0...
    remote:        Using default npm version: 4.2.0
    remote: 
    remote: -----> Restoring cache
    remote:        Skipping cache restore (new-signature)
    remote: 
    remote: -----> Building dependencies
    remote:        Installing node modules (package.json)
    remote:        
    remote:        > uws@0.14.5 install /tmp/build_e220483025115735e73591a2a50a7692/node_modules/uws
    remote:        > node-gyp rebuild > build_log.txt 2>&1 || exit 0
    remote:        
    remote:        nodebb@1.5.1 /tmp/build_e220483025115735e73591a2a50a7692
    remote:        ├── ace-builds@1.2.6
    remote:        ├── async@2.4.1
    remote:        ├─┬ autoprefixer@7.1.1
    remote:        │ ├─┬ browserslist@2.1.4
    remote:        │ │ └── electron-to-chromium@1.3.13
    remote:        │ ├── caniuse-lite@1.0.30000680
    remote:        │ ├── normalize-range@0.1.2
    remote:        │ ├── num2fraction@1.2.2
    remote:        │ └── postcss-value-parser@3.3.0
    remote:        ├── bcryptjs@2.4.3
    remote:        ├─┬ body-parser@1.17.2
    remote:        │ ├── bytes@2.4.0
    remote:        │ ├── content-type@1.0.2
    remote:        │ ├── debug@2.6.7
    remote:        │ ├── depd@1.1.0
    remote:        │ ├─┬ http-errors@1.6.1
    remote:        │ │ └── inherits@2.0.3
    remote:        │ ├── iconv-lite@0.4.15
    remote:        │ ├─┬ on-finished@2.3.0
    remote:        │ │ └── ee-first@1.1.1
    remote:        │ ├── qs@6.4.0
    remote:        │ ├─┬ raw-body@2.2.0
    remote:        │ │ └── unpipe@1.0.0
    remote:        │ └─┬ type-is@1.6.15
    remote:        │   └── media-typer@0.3.0
    remote:        ├── bootstrap@3.3.7
    remote:        ├─┬ chart.js@2.6.0
    remote:        │ ├─┬ chartjs-color@2.1.0
    remote:        │ │ ├─┬ chartjs-color-string@0.4.0
    remote:        │ │ │ └── color-name@1.1.2
    remote:        │ │ └── color-convert@0.5.3
    remote:        │ └── moment@2.18.1
    remote:        ├── colors@1.1.2
    remote:        ├─┬ compression@1.6.2
    remote:        │ ├─┬ accepts@1.3.3
    remote:        │ │ └── negotiator@0.6.1
    remote:        │ ├── bytes@2.3.0
    remote:        │ ├─┬ compressible@2.0.10
    remote:        │ │ └── mime-db@1.27.0
    remote:        │ ├─┬ debug@2.2.0
    remote:        │ │ └── ms@0.7.1
    remote:        │ ├── on-headers@1.0.1
    remote:        │ └── vary@1.1.1
    remote:        ├── connect-ensure-login@0.1.1
    remote:        ├── connect-flash@0.1.1
    remote:        ├─┬ connect-mongo@1.3.2
    remote:        │ └── bluebird@3.5.0
    remote:        ├─┬ connect-multiparty@2.0.0
    remote:        │ ├─┬ multiparty@4.1.3
    remote:        │ │ └─┬ fd-slicer@1.0.1
    remote:        │ │   └── pend@1.2.0
    remote:        │ └── qs@4.0.0
    remote:        ├── connect-redis@3.3.0
    remote:        ├─┬ cookie-parser@1.4.3
    remote:        │ ├── cookie@0.3.1
    remote:        │ └── cookie-signature@1.0.6
    remote:        ├─┬ cron@1.2.1
    remote:        │ └── moment-timezone@0.5.13
    remote:        ├── cropperjs@0.8.1
    remote:        ├─┬ csurf@1.9.0
    remote:        │ ├─┬ csrf@3.0.6
    remote:        │ │ ├── rndm@1.2.0
    remote:        │ │ └── tsscmp@1.0.5
    remote:        │ └─┬ http-errors@1.5.1
    remote:        │   └── setprototypeof@1.0.2
    remote:        ├── daemon@1.1.0
    remote:        ├─┬ express@4.15.3
    remote:        │ ├── array-flatten@1.1.1
    remote:        │ ├── content-disposition@0.5.2
    remote:        │ ├── encodeurl@1.0.1
    remote:        │ ├── escape-html@1.0.3
    remote:        │ ├── etag@1.8.0
    remote:        │ ├── finalhandler@1.0.3
    remote:        │ ├── fresh@0.5.0
    remote:        │ ├── merge-descriptors@1.0.1
    remote:        │ ├── methods@1.1.2
    remote:        │ ├── parseurl@1.3.1
    remote:        │ ├── path-to-regexp@0.1.7
    remote:        │ ├─┬ proxy-addr@1.1.4
    remote:        │ │ ├── forwarded@0.1.0
    remote:        │ │ └── ipaddr.js@1.3.0
    remote:        │ ├── range-parser@1.2.0
    remote:        │ ├─┬ send@0.15.3
    remote:        │ │ ├── destroy@1.0.4
    remote:        │ │ └── mime@1.3.4
    remote:        │ ├── serve-static@1.12.3
    remote:        │ ├── setprototypeof@1.0.3
    remote:        │ ├── statuses@1.3.1
    remote:        │ └── utils-merge@1.0.0
    remote:        ├─┬ express-session@1.15.3
    remote:        │ ├── crc@3.4.4
    remote:        │ └─┬ uid-safe@2.1.4
    remote:        │   └── random-bytes@1.0.0
    remote:        ├── express-useragent@1.0.7
    remote:        ├─┬ html-to-text@3.3.0
    remote:        │ ├── he@1.1.1
    remote:        │ ├─┬ htmlparser2@3.9.2
    remote:        │ │ ├── domelementtype@1.3.0
    remote:        │ │ ├── domhandler@2.4.1
    remote:        │ │ ├─┬ domutils@1.6.2
    remote:        │ │ │ └─┬ dom-serializer@0.1.0
    remote:        │ │ │   └── domelementtype@1.1.3
    remote:        │ │ └── entities@1.1.1
    remote:        │ ├─┬ optimist@0.6.1
    remote:        │ │ ├── minimist@0.0.10
    remote:        │ │ └── wordwrap@0.0.3
    remote:        │ ├── underscore@1.8.3
    remote:        │ └─┬ underscore.string@3.3.4
    remote:        │   ├── sprintf-js@1.1.1
    remote:        │   └── util-deprecate@1.0.2
    remote:        ├── ip@1.1.5
    remote:        ├─┬ jimp@0.2.28
    remote:        │ ├── bignumber.js@2.4.0
    remote:        │ ├── bmp-js@0.0.3
    remote:        │ ├── es6-promise@3.2.1
    remote:        │ ├── exif-parser@0.1.9
    remote:        │ ├── file-type@3.9.0
    remote:        │ ├── jpeg-js@0.2.0
    remote:        │ ├─┬ load-bmfont@1.3.0
    remote:        │ │ ├── buffer-equal@0.0.1
    remote:        │ │ ├── parse-bmfont-ascii@1.0.6
    remote:        │ │ ├── parse-bmfont-binary@1.0.6
    remote:        │ │ ├─┬ parse-bmfont-xml@1.1.3
    remote:        │ │ │ ├── xml-parse-from-string@1.0.1
    remote:        │ │ │ └─┬ xml2js@0.4.17
    remote:        │ │ │   ├── sax@1.2.2
    remote:        │ │ │   └── xmlbuilder@4.2.1
    remote:        │ │ └─┬ xhr@2.4.0
    remote:        │ │   ├─┬ global@4.3.2
    remote:        │ │   │ ├─┬ min-document@2.19.0
    remote:        │ │   │ │ └── dom-walk@0.1.1
    remote:        │ │   │ └── process@0.5.2
    remote:        │ │   ├── is-function@1.0.1
    remote:        │ │   └─┬ parse-headers@2.0.1
    remote:        │ │     ├── for-each@0.3.2
    remote:        │ │     └── trim@0.0.1
    remote:        │ ├── pixelmatch@4.0.2
    remote:        │ ├── pngjs@3.2.0
    remote:        │ ├── read-chunk@1.0.1
    remote:        │ ├─┬ stream-to-buffer@0.1.0
    remote:        │ │ └── stream-to@0.2.2
    remote:        │ ├── tinycolor2@1.4.1
    remote:        │ └─┬ url-regex@3.2.0
    remote:        │   └── ip-regex@1.0.3
    remote:        ├── jquery@3.2.1
    remote:        ├─┬ json-2-csv@2.1.1
    remote:        │ └── doc-path@1.0.8
    remote:        ├─┬ less@2.7.2
    remote:        │ ├─┬ errno@0.1.4
    remote:        │ │ └── prr@0.0.0
    remote:        │ ├── graceful-fs@4.1.11
    remote:        │ ├── image-size@0.5.4
    remote:        │ ├─┬ promise@7.1.1
    remote:        │ │ └── asap@2.0.5
    remote:        │ └── source-map@0.5.6
    remote:        ├── lodash@4.17.4
    remote:        ├── lodash.padstart@4.6.1
    remote:        ├─┬ logrotate-stream@0.2.5
    remote:        │ ├── byt@0.1.0
    remote:        │ └── log-rotate@0.2.7
    remote:        ├─┬ lru-cache@4.0.2
    remote:        │ ├── pseudomap@1.0.2
    remote:        │ └── yallist@2.1.2
    remote:        ├── mime@1.3.6
    remote:        ├── minimist@1.2.0
    remote:        ├─┬ mkdirp@0.5.1
    remote:        │ └── minimist@0.0.8
    remote:        ├─┬ mongodb@2.2.27
    remote:        │ ├─┬ mongodb-core@2.1.11
    remote:        │ │ ├── bson@1.0.4
    remote:        │ │ └─┬ require_optional@1.0.0
    remote:        │ │   └── resolve-from@2.0.0
    remote:        │ └─┬ readable-stream@2.2.7
    remote:        │   ├── buffer-shims@1.0.0
    remote:        │   ├── core-util-is@1.0.2
    remote:        │   ├── isarray@1.0.0
    remote:        │   ├── process-nextick-args@1.0.7
    remote:        │   └── string_decoder@1.0.2
    remote:        ├─┬ morgan@1.8.2
    remote:        │ ├── basic-auth@1.1.0
    remote:        │ └── debug@2.6.8
    remote:        ├── mousetrap@1.6.1
    remote:        ├─┬ nconf@0.8.4
    remote:        │ ├── async@1.5.2
    remote:        │ ├── ini@1.3.4
    remote:        │ ├── secure-keys@1.0.0
    remote:        │ └─┬ yargs@3.32.0
    remote:        │   ├── camelcase@2.1.1
    remote:        │   ├─┬ cliui@3.2.0
    remote:        │   │ └── wrap-ansi@2.1.0
    remote:        │   ├── decamelize@1.2.0
    remote:        │   ├─┬ os-locale@1.4.0
    remote:        │   │ └─┬ lcid@1.0.0
    remote:        │   │   └── invert-kv@1.0.0
    remote:        │   ├─┬ string-width@1.0.2
    remote:        │   │ ├── code-point-at@1.1.0
    remote:        │   │ └─┬ is-fullwidth-code-point@1.0.0
    remote:        │   │   └── number-is-nan@1.0.1
    remote:        │   ├── window-size@0.1.4
    remote:        │   └── y18n@3.2.1
    remote:        ├─┬ nodebb-plugin-composer-default@4.4.10
    remote:        │ └── screenfull@3.0.0
    remote:        ├─┬ nodebb-plugin-dbsearch@2.0.2
    remote:        │ ├── async@2.1.4
    remote:        │ └─┬ redisearch@0.0.6
    remote:        │   ├── async@1.5.2
    remote:        │   ├─┬ natural@0.2.1
    remote:        │   │ ├── apparatus@0.0.9
    remote:        │   │ └── sylvester@0.0.21
    remote:        │   └── redis@0.12.1
    remote:        ├─┬ nodebb-plugin-emoji-extended@1.1.1
    remote:        │ └── q@1.5.0
    remote:        ├─┬ nodebb-plugin-emoji-one@1.2.1
    remote:        │ ├── adm-zip@0.4.7
    remote:        │ └── wrench@1.5.9
    remote:        ├─┬ nodebb-plugin-markdown@7.1.1
    remote:        │ └─┬ markdown-it@6.1.1
    remote:        │   ├─┬ argparse@1.0.9
    remote:        │   │ └── sprintf-js@1.0.3
    remote:        │   ├── linkify-it@1.2.4
    remote:        │   ├── mdurl@1.0.1
    remote:        │   └── uc.micro@1.0.3
    remote:        ├── nodebb-plugin-mentions@2.0.3
    remote:        ├── nodebb-plugin-soundpack-default@1.0.0
    remote:        ├─┬ nodebb-plugin-spam-be-gone@0.5.0
    remote:        │ ├── akismet@1.0.0
    remote:        │ ├── project-honeypot@0.0.0
    remote:        │ └── simple-recaptcha-new@1.1.1
    remote:        ├── nodebb-rewards-essentials@0.0.9
    remote:        ├── nodebb-theme-lavender@4.0.0
    remote:        ├── nodebb-theme-persona@5.0.3
    remote:        ├── nodebb-theme-vanilla@6.0.3
    remote:        ├── nodebb-widget-essentials@3.0.0
    remote:        ├─┬ nodemailer@2.6.4
    remote:        │ ├─┬ libmime@2.1.0
    remote:        │ │ ├── iconv-lite@0.4.13
    remote:        │ │ ├── libbase64@0.1.0
    remote:        │ │ └── libqp@1.1.0
    remote:        │ ├─┬ mailcomposer@3.12.0
    remote:        │ │ └─┬ buildmail@3.10.0
    remote:        │ │   └── addressparser@1.0.1
    remote:        │ ├── nodemailer-direct-transport@3.3.2
    remote:        │ ├─┬ nodemailer-shared@1.1.0
    remote:        │ │ └── nodemailer-fetch@1.6.0
    remote:        │ ├── nodemailer-smtp-pool@2.8.2
    remote:        │ ├── nodemailer-smtp-transport@2.7.2
    remote:        │ └─┬ socks@1.1.9
    remote:        │   └── smart-buffer@1.1.15
    remote:        ├── nodemailer-sendmail-transport@1.0.0
    remote:        ├─┬ nodemailer-smtp-transport@2.7.4
    remote:        │ ├── nodemailer-wellknown@0.1.10
    remote:        │ └─┬ smtp-connection@2.12.0
    remote:        │   └─┬ httpntlm@1.6.1
    remote:        │     ├── httpreq@0.4.23
    remote:        │     └── underscore@1.7.0
    remote:        ├─┬ passport@0.3.2
    remote:        │ ├── passport-strategy@1.0.0
    remote:        │ └── pause@0.0.1
    remote:        ├── passport-local@1.0.0
    remote:        ├─┬ postcss@6.0.1
    remote:        │ ├─┬ chalk@1.1.3
    remote:        │ │ ├── ansi-styles@2.2.1
    remote:        │ │ ├── escape-string-regexp@1.0.5
    remote:        │ │ ├─┬ has-ansi@2.0.0
    remote:        │ │ │ └── ansi-regex@2.1.1
    remote:        │ │ ├── strip-ansi@3.0.1
    remote:        │ │ └── supports-color@2.0.0
    remote:        │ └─┬ supports-color@3.2.3
    remote:        │   └── has-flag@1.0.0
    remote:        ├─┬ postcss-clean@1.0.2
    remote:        │ ├─┬ clean-css@3.4.26
    remote:        │ │ ├── commander@2.8.1
    remote:        │ │ └─┬ source-map@0.4.4
    remote:        │ │   └── amdefine@1.0.1
    remote:        │ └─┬ postcss@5.0.21
    remote:        │   └── js-base64@2.1.9
    remote:        ├── promise-polyfill@6.0.2
    remote:        ├─┬ prompt@1.0.0
    remote:        │ ├── pkginfo@0.4.0
    remote:        │ ├─┬ read@1.0.7
    remote:        │ │ └── mute-stream@0.0.7
    remote:        │ ├── revalidator@0.1.8
    remote:        │ ├─┬ utile@0.3.0
    remote:        │ │ ├── async@0.9.2
    remote:        │ │ ├── deep-equal@0.2.2
    remote:        │ │ ├── i@0.3.5
    remote:        │ │ └── ncp@1.0.1
    remote:        │ └─┬ winston@2.1.1
    remote:        │   ├── async@1.0.0
    remote:        │   ├── colors@1.0.3
    remote:        │   └── pkginfo@0.3.1
    remote:        ├─┬ redis@2.7.1
    remote:        │ ├── double-ended-queue@2.1.0-0
    remote:        │ ├── redis-commands@1.3.1
    remote:        │ └── redis-parser@2.6.0
    remote:        ├─┬ request@2.81.0
    remote:        │ ├── aws-sign2@0.6.0
    remote:        │ ├── aws4@1.6.0
    remote:        │ ├── caseless@0.12.0
    remote:        │ ├─┬ combined-stream@1.0.5
    remote:        │ │ └── delayed-stream@1.0.0
    remote:        │ ├── extend@3.0.1
    remote:        │ ├── forever-agent@0.6.1
    remote:        │ ├─┬ form-data@2.1.4
    remote:        │ │ └── asynckit@0.4.0
    remote:        │ ├─┬ har-validator@4.2.1
    remote:        │ │ ├─┬ ajv@4.11.8
    remote:        │ │ │ ├── co@4.6.0
    remote:        │ │ │ └─┬ json-stable-stringify@1.0.1
    remote:        │ │ │   └── jsonify@0.0.0
    remote:        │ │ └── har-schema@1.0.5
    remote:        │ ├─┬ hawk@3.1.3
    remote:        │ │ ├── boom@2.10.1
    remote:        │ │ ├── cryptiles@2.0.5
    remote:        │ │ ├── hoek@2.16.3
    remote:        │ │ └── sntp@1.0.9
    remote:        │ ├─┬ http-signature@1.1.1
    remote:        │ │ ├── assert-plus@0.2.0
    remote:        │ │ ├─┬ jsprim@1.4.0
    remote:        │ │ │ ├── assert-plus@1.0.0
    remote:        │ │ │ ├── extsprintf@1.0.2
    remote:        │ │ │ ├── json-schema@0.2.3
    remote:        │ │ │ └── verror@1.3.6
    remote:        │ │ └─┬ sshpk@1.13.1
    remote:        │ │   ├── asn1@0.2.3
    remote:        │ │   ├── assert-plus@1.0.0
    remote:        │ │   ├── bcrypt-pbkdf@1.0.1
    remote:        │ │   ├─┬ dashdash@1.14.1
    remote:        │ │   │ └── assert-plus@1.0.0
    remote:        │ │   ├── ecc-jsbn@0.1.1
    remote:        │ │   ├─┬ getpass@0.1.7
    remote:        │ │   │ └── assert-plus@1.0.0
    remote:        │ │   ├── jsbn@0.1.1
    remote:        │ │   └── tweetnacl@0.14.5
    remote:        │ ├── is-typedarray@1.0.0
    remote:        │ ├── isstream@0.1.2
    remote:        │ ├── json-stringify-safe@5.0.1
    remote:        │ ├── mime-types@2.1.15
    remote:        │ ├── oauth-sign@0.8.2
    remote:        │ ├── performance-now@0.2.0
    remote:        │ ├── safe-buffer@5.0.1
    remote:        │ ├── stringstream@0.0.5
    remote:        │ ├─┬ tough-cookie@2.3.2
    remote:        │ │ └── punycode@1.4.1
    remote:        │ ├── tunnel-agent@0.6.0
    remote:        │ └── uuid@3.0.1
    remote:        ├─┬ rimraf@2.6.1
    remote:        │ └─┬ glob@7.1.2
    remote:        │   ├── fs.realpath@1.0.0
    remote:        │   ├─┬ inflight@1.0.6
    remote:        │   │ └── wrappy@1.0.2
    remote:        │   ├─┬ minimatch@3.0.4
    remote:        │   │ └─┬ brace-expansion@1.1.7
    remote:        │   │   ├── balanced-match@0.4.2
    remote:        │   │   └── concat-map@0.0.1
    remote:        │   ├── once@1.4.0
    remote:        │   └── path-is-absolute@1.0.1
    remote:        ├─┬ rss@1.2.2
    remote:        │ └─┬ mime-types@2.1.13
    remote:        │   └── mime-db@1.25.0
    remote:        ├─┬ sanitize-html@1.14.1
    remote:        │ ├── regexp-quote@0.0.0
    remote:        │ └── xtend@4.0.1
    remote:        ├── semver@5.3.0
    remote:        ├─┬ serve-favicon@2.4.3
    remote:        │ └── ms@2.0.0
    remote:        ├─┬ sitemap@1.12.0
    remote:        │ └── url-join@1.1.0
    remote:        ├─┬ socket.io@2.0.1
    remote:        │ ├─┬ engine.io@3.1.0
    remote:        │ │ ├── base64id@1.0.0
    remote:        │ │ ├─┬ engine.io-parser@2.1.1
    remote:        │ │ │ ├── after@0.8.2
    remote:        │ │ │ ├── arraybuffer.slice@0.0.6
    remote:        │ │ │ └── blob@0.0.4
    remote:        │ │ ├── uws@0.14.5
    remote:        │ │ └─┬ ws@2.3.1
    remote:        │ │   └── ultron@1.1.0
    remote:        │ ├── object-assign@4.1.1
    remote:        │ ├─┬ socket.io-adapter@1.1.0
    remote:        │ │ └─┬ debug@2.3.3
    remote:        │ │   └── ms@0.7.2
    remote:        │ └─┬ socket.io-parser@3.1.2
    remote:        │   ├─┬ has-binary2@1.0.2
    remote:        │   │ └── isarray@2.0.1
    remote:        │   └── isarray@2.0.1
    remote:        ├─┬ socket.io-client@2.0.1
    remote:        │ ├── backo2@1.0.2
    remote:        │ ├── base64-arraybuffer@0.1.5
    remote:        │ ├── component-bind@1.0.0
    remote:        │ ├── component-emitter@1.2.1
    remote:        │ ├─┬ debug@2.6.4
    remote:        │ │ └── ms@0.7.3
    remote:        │ ├─┬ engine.io-client@3.1.1
    remote:        │ │ ├── component-inherit@0.0.3
    remote:        │ │ ├── parsejson@0.0.3
    remote:        │ │ ├── parseqs@0.0.5
    remote:        │ │ └── yeast@0.1.2
    remote:        │ ├── has-cors@1.1.0
    remote:        │ ├── indexof@0.0.1
    remote:        │ ├── object-component@0.0.3
    remote:        │ ├─┬ parseuri@0.0.5
    remote:        │ │ └─┬ better-assert@1.0.2
    remote:        │ │   └── callsite@1.0.0
    remote:        │ └── to-array@0.1.4
    remote:        ├─┬ socket.io-redis@5.0.1
    remote:        │ ├─┬ debug@2.3.3
    remote:        │ │ └── ms@0.7.2
    remote:        │ ├── notepack.io@1.0.1
    remote:        │ ├── redis@2.6.3
    remote:        │ └── uid2@0.0.3
    remote:        ├── socketio-wildcard@2.0.0
    remote:        ├── string@3.3.3
    remote:        ├── templates.js@0.3.11
    remote:        ├── toobusy-js@0.5.1
    remote:        ├─┬ uglify-js@3.0.15
    remote:        │ └─┬ commander@2.9.0
    remote:        │   └── graceful-readlink@1.0.1
    remote:        ├── validator@7.0.0
    remote:        ├─┬ winston@2.3.1
    remote:        │ ├── async@1.0.0
    remote:        │ ├── colors@1.0.3
    remote:        │ ├── cycle@1.0.3
    remote:        │ ├── eyes@0.1.8
    remote:        │ └── stack-trace@0.0.10
    remote:        ├── xml@1.0.1
    remote:        ├── xmlhttprequest-ssl@1.5.3
    remote:        ├── xregexp@3.2.0
    remote:        └── zxcvbn@4.4.2
    remote:        
    remote: 
    remote: -----> Caching build
    remote:        Clearing previous node cache
    remote:        Saving 2 cacheDirectories (default):
    remote:        - node_modules
    remote:        - bower_components (nothing to cache)
    remote: 
    remote: -----> Build succeeded!
    remote: -----> Discovering process types
    remote:        Procfile declares types -> web
    remote: 
    remote: -----> Compressing...
    remote:        Done: 46.3M
    remote: -----> Launching...
    remote:        Released v4
    remote:        https://vast-gorge-52911.herokuapp.com/ deployed to Heroku
    remote: 
    remote: Verifying deploy... done.
    To https://git.heroku.com/vast-gorge-52911.git
     * [new branch]      v1.5.x -> master
    Branch v1.5.x set up to track remote branch master from heroku.
    

    ============================================================

    But when I open the app, I get the following error:0_1496907881375_Screen Shot 2017-06-08 at 4.39.59 PM.png
    And the heroku logs:

    2017-06-08T08:08:52.018505+00:00 app[api]: Initial release by user stjohndlee@gmail.com
    2017-06-08T08:08:52.018505+00:00 app[api]: Release v1 created by user stjohndlee@gmail.com
    2017-06-08T08:08:52.133641+00:00 app[api]: Enable Logplex by user stjohndlee@gmail.com
    2017-06-08T08:08:52.133641+00:00 app[api]: Release v2 created by user stjohndlee@gmail.com
    2017-06-08T08:09:25.499344+00:00 app[api]: Release v3 created by user stjohndlee@gmail.com
    2017-06-08T08:09:25.499344+00:00 app[api]: Attach REDISTOGO (@ref:redistogo-concentric-59348) by user stjohndlee@gmail.com
    2017-06-08T08:13:30.000000+00:00 app[api]: Build started by user stjohndlee@gmail.com
    2017-06-08T08:14:20.815758+00:00 app[api]: Deploy c73a4c8e by user stjohndlee@gmail.com
    2017-06-08T08:14:20.815758+00:00 app[api]: Release v4 created by user stjohndlee@gmail.com
    2017-06-08T08:14:20.834362+00:00 app[api]: Scaled to web@1:Free by user stjohndlee@gmail.com
    2017-06-08T08:13:30.000000+00:00 app[api]: Build succeeded
    2017-06-08T08:14:25.436646+00:00 heroku[web.1]: Starting process with command node loader.js --no-daemon
    2017-06-08T08:14:31.752036+00:00 heroku[web.1]: State changed from starting to up
    2017-06-08T08:14:40.487961+00:00 heroku[router]: at=info method=GET path="/" host=vast-gorge-52911.herokuapp.com request_id=b4ab1a26-21e0-4618-a9b9-9deca8902651 fwd="121.128.254.157" dyno=web.1 connect=1ms service=124ms status=500 bytes=630 protocol=https
    2017-06-08T08:14:42.167403+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=vast-gorge-52911.herokuapp.com request_id=631de158-a63d-4d99-a17f-104493c2bbe1 fwd="121.128.254.157" dyno=web.1 connect=0ms service=16ms status=200 bytes=690 protocol=https

    I tried several times to reinstall the whole NodeBB app (and the Heroku app) to fix the problem, but to no avail. Any help at all would be greatly appreciated!



  • Same situation, follow https://docs.nodebb.org/installing/cloud/heroku/ but not works. Also tried https://github.com/NodeBB/NodeBB/issues/5805 and change Procfile to ./nodebb setup && ./nodebb start but not work either.

    Any advice?

    milesflo created this issue in NodeBB/NodeBB

    closed Heroku Deploy from Mint #5805


Log in to reply
 


Star

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