Remote deployments crashing using 1.4.2.5

After updating to 1.4.2.5 and deploying to Galaxy we are experiencing application crashes. The exact errors are different for different environments and only happen remotely (on Galaxy, not locally). As soon as we back down to 1.4.2.3 they go away.

Env 1 consistently gives:

c2er - 2017-02-07 14:31:15+00:00Application process starting, version: 85 on apprunner (embedded)
c2er - 2017-02-07 14:31:29+00:00/app/bundle/programs/server/node_modules/fibers/future.js:280
c2er - 2017-02-07 14:31:29+00:00 throw(ex);
c2er - 2017-02-07 14:31:29+00:00 ^
c2er - 2017-02-07 14:31:29+00:00
c2er - 2017-02-07 14:31:29+00:00TypeError: Cannot read property 'onError' of undefined
c2er - 2017-02-07 14:31:29+00:00 at /app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/logger.js:69:19
c2er - 2017-02-07 14:31:29+00:00 at arrayEach (/app/bundle/programs/server/npm/node_modules/lodash/lodash.js:537:11)
c2er - 2017-02-07 14:31:29+00:00 at Object.forEach (/app/bundle/programs/server/npm/node_modules/lodash/lodash.js:9359:14)
c2er - 2017-02-07 14:31:29+00:00 at Stdio.LoggerAbstract.setupListeners (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/logger.js:67:5)
c2er - 2017-02-07 14:31:29+00:00 at Stdio.LoggerAbstract (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/logger.js:17:8)
c2er - 2017-02-07 14:31:29+00:00 at new Stdio (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/loggers/stdio.js:31:18)
c2er - 2017-02-07 14:31:29+00:00 at Log.addOutput (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/log.js:213:10)
c2er - 2017-02-07 14:31:29+00:00 at new Log (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/log.js:50:10)
c2er - 2017-02-07 14:31:29+00:00 at new Transport (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/transport.js:19:27)
c2er - 2017-02-07 14:31:29+00:00 at Object.EsApiClient (/app/bundle/programs/server/npm/node_modules/elasticsearch/src/lib/client.js:57:22)
c2er - 2017-02-07 14:31:29+00:00Application exited with code: 1 signal: null
c2er - 2017-02-07 14:31:29+00:00Application process closed with code: 1 signal: null
c2er - 2017-02-07 14:31:37+00:00The container has crashed. A new container will be started to replace it.

And env 2:

nyjx - 2017-02-07 14:33:00+00:00Application process starting, version: 32 on apprunner (embedded)
nyjx - 2017-02-07 14:33:02+00:00/app/bundle/programs/server/node_modules/fibers/future.js:280
nyjx - 2017-02-07 14:33:02+00:00 throw(ex);
nyjx - 2017-02-07 14:33:02+00:00 ^
nyjx - 2017-02-07 14:33:02+00:00
nyjx - 2017-02-07 14:33:02+00:00Error: Cannot find module 'has-flag'
nyjx - 2017-02-07 14:33:02+00:00 at Function.Module._resolveFilename (module.js:325:15)
nyjx - 2017-02-07 14:33:02+00:00 at Function.Module._load (module.js:276:25)
nyjx - 2017-02-07 14:33:02+00:00 at Module.require (module.js:353:17)
nyjx - 2017-02-07 14:33:02+00:00 at require (internal/module.js:12:17)
nyjx - 2017-02-07 14:33:02+00:00 at Object.<anonymous> (/app/bundle/programs/server/npm/node_modules/supports-color/index.js:2:15)
nyjx - 2017-02-07 14:33:02+00:00 at Module._compile (module.js:409:26)
nyjx - 2017-02-07 14:33:02+00:00 at Object.Module._extensions..js (module.js:416:10)
nyjx - 2017-02-07 14:33:02+00:00 at Module.load (module.js:343:32)
nyjx - 2017-02-07 14:33:02+00:00 at Function.Module._load (module.js:300:12)
nyjx - 2017-02-07 14:33:02+00:00 at Module.require (module.js:353:17)
nyjx - 2017-02-07 14:33:02+00:00 at require (internal/module.js:12:17)
nyjx - 2017-02-07 14:33:02+00:00Application exited with code: 1 signal: null
nyjx - 2017-02-07 14:33:02+00:00Application process closed with code: 1 signal: null
nyjx - 2017-02-07 14:33:07+00:00The container has crashed. A new container will be started to replace it.

Thanks for reporting this. We’ve identified and confirmed an issue in Meteor 1.4.2.5. Meteor 1.4.2.6 is on its way, but you can test right now by using the 1.4.2.6 release-candidate:

meteor update --release 1.4.2.6-rc.0

See the following GitHub issue for more information:

1.4.2.6-rc.0 fixes the issue. Thanks.

1 Like

Just FYI, Meteor 1.4.2.6 (changelog) is now out and officially recommended (no longer a release candidate):

meteor update --release 1.4.2.6

Thanks for bringing this to our attention!

1 Like