Hangs at "Server startup"


#1

Hi

I try to deploy my meteor application into a docker container. When starting it does not print out any information nor do anything.

With profiling enabled it seems to be stuck at “Server startup”

$ METEOR_LOG=debug METEOR_PROFILE=1 node main.js
| (#1) Profiling: Server startup
|
| Server startup..................................................772 ms (1)
| ├─ Load server bundles..........................................759 ms (1)
| │  ├─ packages/meteor.js..........................................4 ms (1)
| │  │  ├─ Npm.require("meteor-deque")                              1 ms (1)
| │  │  └─ other packages/meteor.js                                 2 ms
| │  ├─ packages/modules.js.........................................5 ms (1)
| │  │  └─ require("./node_modules/meteor/modules/server.js").......5 ms (1)
| │  │     ├─ require("./install-packages.js")                      1 ms (1)
| │  │     └─ require("./reify.js").................................3 ms (1)
| │  │        └─ require("reify/lib/runtime")                       2 ms (1)
| │  ├─ packages/promise.js.........................................3 ms (1)
| │  │  └─ require("./node_modules/meteor/promise/server.js").......2 ms (1)
| │  │     └─ require("meteor-promise")                             2 ms (1)
| │  ├─ packages/underscore.js                                      1 ms (1)
| │  ├─ packages/ecmascript-runtime-server.js.......................8 ms (1)
| │  │  └─ require("./node_modules/meteor/ecmascript-runtime-server/runtime.js").8 ms (1)
| │  │     └─ require("core-js/modules/es7.string.pad-start")       7 ms (1)
| │  ├─ packages/babel-compiler.js..................................3 ms (1)
| │  │  └─ Npm.require("semver")                                    2 ms (1)
| │  ├─ packages/babel-runtime.js...................................5 ms (1)
| │  │  └─ require("./node_modules/meteor/babel-runtime/babel-runtime.js").5 ms (1)
| │  │     └─ require("babel-runtime/regenerator")                  4 ms (1)
| │  ├─ packages/ejson.js...........................................1 ms (1)
| │  │  └─ require("./node_modules/meteor/ejson/ejson.js")          1 ms (1)
| │  ├─ packages/npm-mongo.js......................................92 ms (1)
| │  │  └─ Npm.require("mongodb")                                  92 ms (1)
| │  ├─ packages/random.js..........................................1 ms (1)
| │  │  └─ require("./node_modules/meteor/random/random.js")        1 ms (1)
| │  ├─ packages/minimongo.js.......................................8 ms (1)
| │  │  └─ require("./node_modules/meteor/minimongo/minimongo_server.js").8 ms (1)
| │  │     └─ require("./minimongo_common.js")......................7 ms (1)
| │  │        └─ require("./local_collection.js")...................6 ms (1)
| │  │           ├─ require("./cursor.js")..........................3 ms (1)
| │  │           │  ├─ require("./common.js")                       2 ms (1)
| │  │           │  └─ other require("./cursor.js")                 1 ms
| │  │           └─ other require("./local_collection.js")          2 ms
| │  ├─ packages/ddp-client.js......................................4 ms (1)
| │  │  └─ require("./node_modules/meteor/ddp-client/livedata_connection.js") 2 ms (1)
| │  ├─ packages/boilerplate-generator.js..........................14 ms (1)
| │  │  └─ require("./node_modules/meteor/boilerplate-generator/generator.js").14 ms (1)
| │  │     └─ require("babel-runtime/helpers/extends")             12 ms (1)
| │  ├─ packages/webapp.js........................................126 ms (1)
| │  │  └─ require("./node_modules/meteor/webapp/webapp_server.js").126 ms (1)
| │  │     ├─ require("http").......................................6 ms (1)
| │  │     │  └─ Npm.require("http")                                6 ms (1)
| │  │     ├─ require("connect")                                   48 ms (1)
| │  │     ├─ require("useragent")                                  8 ms (1)
| │  │     ├─ require("send")                                       5 ms (1)
| │  │     └─ other require("./node_modules/meteor/webapp/webapp_server.js") 58 ms
| │  ├─ packages/ddp-server.js.....................................53 ms (1)
| │  │  ├─ require("./node_modules/meteor/ddp-server/livedata_server.js") 2 ms (1)
| │  │  └─ require("./node_modules/meteor/ddp-server/server_convenience.js").50 ms (1)
| │  │     ├─ Npm.require("sockjs")                                45 ms (1)
| │  │     ├─ Npm.require("permessage-deflate")                     2 ms (1)
| │  │     └─ other require("./node_modules/meteor/ddp-server/server_convenience.js") 3 ms
| │  ├─ packages/mongo.js...........................................6 ms (1)
| │  │  ├─ require("./node_modules/meteor/mongo/mongo_driver.js")   2 ms (1)
| │  │  └─ require("./node_modules/meteor/mongo/oplog_observe_driver.js") 1 ms (1)
| │  ├─ packages/htmljs.js                                          2 ms (1)
| │  ├─ packages/shell-server.js....................................2 ms (1)
| │  │  └─ require("./node_modules/meteor/shell-server/main.js")....2 ms (1)
| │  │     └─ require("./shell-server.js")                          1 ms (2)
| │  ├─ packages/kadira_flow-router.js..............................3 ms (1)
| │  │  └─ require("./node_modules/meteor/kadira:flow-router/server/router.js").2 ms (1)
| │  │     └─ Npm.require("qs")                                     2 ms (1)
| │  ├─ packages/accounts-base.js.................................109 ms (1)
| │  │  └─ require("./node_modules/meteor/accounts-base/server_main.js").109 ms (1)
| │  │     ├─ require("./accounts_server.js")......................26 ms (1)
| │  │     │  ├─ require("./accounts_common.js")                   24 ms (1)
| │  │     │  └─ other require("./accounts_server.js")              2 ms
| │  │     └─ other require("./node_modules/meteor/accounts-base/server_main.js") 82 ms
| │  ├─ packages/tdamsma_meteor-accounts-ldap.js...................78 ms (1)
| │  │  └─ Npm.require("activedirectory")                          78 ms (1)
| │  ├─ packages/aldeed_tabular.js..................................2 ms (1)
| │  │  └─ require("./node_modules/meteor/aldeed:tabular/server/main.js") 2 ms (1)
| │  ├─ packages/http.js...........................................98 ms (1)
| │  │  └─ require("./node_modules/meteor/http/httpcall_server.js").97 ms (1)
| │  │     └─ Npm.require("request")                               97 ms (1)
| │  ├─ packages/dynamic-import.js..................................2 ms (1)
| │  │  └─ require("./node_modules/meteor/dynamic-import/server.js") 2 ms (1)
| │  ├─ packages/autoupdate.js                                      1 ms (1)
| │  ├─ app/app.js.................................................12 ms (1)
| │  │  └─ require("./lib/tables.js")..............................10 ms (1)
| │  │     ├─ require("moment")                                     8 ms (1)
| │  │     └─ other require("./lib/tables.js")                      2 ms
| │  ├─ packages/service-configuration.js                          26 ms (1)
| │  └─ other Load server bundles                                  81 ms
| ├─ Call Meteor.startup hooks.....................................10 ms (1)
| │  ├─ Meteor.startup at AccountsServer.Ap._deleteSavedTokensForAllUsersOnStartup (packages/accounts-base/accounts_server.js:1533:10) 6 ms (1)
| │  └─ Meteor.startup at packages/autoupdate.js:188:8              4 ms (1)
| └─ Run main()                                                     3 ms (1)
|
| Top leaves:
|
| (#1) Total: 772 ms (Server startup)
|

I am using Meteor 1.6

$ node -v
v8.8.1