When trying to deploy meteor app to azure using kadirahq/meteor-up, i am getting the following error
x Verifying Deployment: FAILED
-----------------------------------STDERR-----------------------------------
> node npm-rebuild.js
> [email protected] install /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt
> node-gyp rebuild
make: Entering directory '/bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt/build'
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
COPY Release/bcrypt_lib.node
make: Leaving directory '/bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt/build'
[email protected] /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt
[email protected] /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bindings
[email protected] /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/nan
=> Redeploying previous version of the app
-----------------------------------STDOUT-----------------------------------
To see more logs type 'mup logs --tail=100'
----------------------------------------------------------------------------
On mup logs --tail=50, the following logs are displayed:
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/read-package-tree
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/realize-package-specifier
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/retry
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/sha
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/sorted-object
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/text-table
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/uid-number
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/umask
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/unique-filename
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/unique-filename/node_modules/unique-slug
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/unpipe
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/npm/node_modules/write-file-atomic
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/oauth-sign
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/pubsub-js
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/qs
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/request
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/stringstream
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/tough-cookie
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/tunnel-agent
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/selectn
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/simple-mock
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/sinon
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/util
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/soap
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/soap/node_modules/lodash
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/strip-bom
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/tweetnacl
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/xml2js
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/xml2js/node_modules/xmlbuilder
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/xml2js/node_modules/lodash
[52.187.xx.xxx][email protected] /bundle/bundle/programs/server/npm/node_modules/xmlhttprequest
[52.187.xx.xxx]{
[52.187.xx.xxx] "meteor-dev-bundle": "0.0.0",
[52.187.xx.xxx] "npm": "3.10.5",
[52.187.xx.xxx] "ares": "1.10.1-DEV",
[52.187.xx.xxx] "http_parser": "2.5.2",
[52.187.xx.xxx] "icu": "56.1",
[52.187.xx.xxx] "modules": "46",
[52.187.xx.xxx] "node": "4.4.7",
[52.187.xx.xxx] "openssl": "1.0.2h",
[52.187.xx.xxx] "uv": "1.8.0",
[52.187.xx.xxx] "v8": "4.5.103.36",
[52.187.xx.xxx] "zlib": "1.2.8"
[52.187.xx.xxx]}
[52.187.xx.xxx]npm WARN [email protected] No description
[52.187.xx.xxx]npm WARN [email protected] No repository field.
[52.187.xx.xxx]npm WARN [email protected] No license field.
[52.187.xx.xxx]=> Starting meteor app on port:80
[52.187.xx.xxx]{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
[52.187.xx.xxx]js-bson: Failed to load c++ bson extension, using pure JS version
[52.187.xx.xxx]/bundle/bundle/programs/server/node_modules/fibers/future.js:313
[52.187.xx.xxx] throw(ex);
[52.187.xx.xxx] ^
[52.187.xx.xxx]MongoError: failed to connect to server [localhost:9001] on first connect
[52.187.xx.xxx] at Object.Future.wait (/bundle/bundle/programs/server/node_modules/fibers/future.js:449:15)
My app should run in port 4010 and the following is the mup.js file that i am using for mup deploy:
module.exports = {
servers: {
one: {
host: '52.187.xx.xxx',
username: 'myusername',
password: 'mypassword',
env: {
PORT: 4010
}
}
},
meteor: {
name: 'myapp',
path: '../../../src',
servers: {
one: {}
},
buildOptions: {
serverOnly: true,
debug: false
},
env: {
ROOT_URL: 'http://52.187.xx.xxx',
MONGO_URL: 'mongodb://localhost:4011/meteor',
PORT: 4010
},
dockerImage: 'abernix/meteord:base',
deployCheckWaitTime: 900
},
mongo: {
oplog: true,
port: 27017,
servers: {
one: {}
}
}
};
Can anyone let me know what i am doing wrong here. Thanks in advance.