Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment issue #435

Open
thikari opened this issue May 18, 2015 · 11 comments
Open

Deployment issue #435

thikari opened this issue May 18, 2015 · 11 comments

Comments

@thikari
Copy link

thikari commented May 18, 2015

Hey,
I have problems with mup deploy. Any idea what to fix here?

-----------------------------------STDERR-----------------------------------
t_dir=/root/.node-gyp/0.10.36',
gyp info spawn args   '-Dmodule_root_dir=/opt/hashtagteachers/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok 
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 80: Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
ctory `/opt/hashtagteachers/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'

> [email protected] install /opt/hashtagteachers/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
[email protected] node_modules/underscore

[email protected] node_modules/semver

[email protected] node_modules/chalk
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])

[email protected] node_modules/eachline
└── [email protected]

[email protected] node_modules/fibers

[email protected] node_modules/source-map-support
└── [email protected] ([email protected])
Waiting for MongoDB to initialize. (5 minutes)
connected
hashtagteachers stop/waiting
hashtagteachers start/running, process 2750
Waiting for 250 seconds while app is booting up
Checking is app booted or not?
hashtagteachers stop/waiting
hashtagteachers start/running, process 3218
----------------------------------------------------------------------------
@lc3t35
Copy link

lc3t35 commented May 18, 2015

+1, same kind of problem since a few days too when trying to deploy on DO, here is the current status :

DEBUG=* mup deploy
/.../
Invoking deployment process: FAILED

    -----------------------------------STDERR-----------------------------------
    cal/lib/node_modules/node-gyp/addon.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   '/root/.node-gyp/0.10.36/common.gypi',
    gyp info spawn args   '-Dlibrary=shared_library',
    gyp info spawn args   '-Dvisibility=default',
    gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/0.10.36',
    gyp info spawn args   '-Dmodule_root_dir=/opt/speakactive/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',
    gyp info spawn args   '--depth=.',
    gyp info spawn args   '--no-parallel',
    gyp info spawn args   '--generator-output',
    gyp info spawn args   'build',
    gyp info spawn args   '-Goutput_dir=.' ]
    gyp info spawn make
    gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
    gyp info ok 
    npm WARN package.json [email protected] No description
    npm WARN package.json [email protected] No repository field.
    npm WARN package.json [email protected] No README data
    npm WARN package.json [email protected] No license field.
    bash: line 127: wait-for-mongo: command not found
    -----------------------------------STDOUT-----------------------------------
    t.o
      CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
      SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
      SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node: Finished
      COPY Release/bcrypt_lib.node
    make: Leaving directory `/opt/speakactive/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'

    > [email protected] install /opt/speakactive/tmp/bundle/programs/server/node_modules/fibers
    > node ./build.js

    `linux-x64-v8-3.14` exists; testing
    Binary is fine; exiting
    [email protected] node_modules/underscore

    [email protected] node_modules/semver

    [email protected] node_modules/fibers

    [email protected] node_modules/eachline
    └── [email protected]

    [email protected] node_modules/chalk
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected])
    └── [email protected] ([email protected])

    [email protected] node_modules/source-map-support
    └── [email protected] ([email protected])
    Waiting for MongoDB to initialize. (5 minutes)
    ----------------------------------------------------------------------------

npm i -g node-gyp && node-gyp clean

/.../ 
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info ok 

npm i -g bcrypt

> [email protected] install /usr/local/lib/node_modules/bcrypt
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/bcrypt/.node-gyp"
Killed
npm ERR! Linux 3.2.0-23-virtual
npm ERR! argv "node" "/usr/local/bin/npm" "i" "-g" "bcrypt"
npm ERR! node v0.10.36
npm ERR! npm  v2.10.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/npm-debug.log

more /root/npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'i', '-g', 'bcrypt' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of /usr/local/lib/package.json
5 verbose readDependencies loading dependencies from /usr/local/lib/package.json
6 silly cache add args [ 'bcrypt', null ]
7 verbose cache add spec bcrypt
8 silly cache add parsed spec { raw: 'bcrypt',
8 silly cache add   scope: null,
8 silly cache add   name: 'bcrypt',
8 silly cache add   rawSpec: '',
8 silly cache add   spec: '*',
8 silly cache add   type: 'range' }
9 silly addNamed bcrypt@*
10 verbose addNamed "*" is a valid semver range for bcrypt
11 silly addNameRange { name: 'bcrypt', range: '*', hasData: false }
12 silly mapToRegistry name bcrypt
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/bcrypt
16 verbose addNameRange registry:https://registry.npmjs.org/bcrypt not in flight; fetching
17 verbose request uri https://registry.npmjs.org/bcrypt
18 verbose request no auth needed
19 info attempt registry request try #1 at 22:42:57
20 verbose request id 6724e108c33dfa85
21 verbose etag "3CJ6K7DX95450WVBNFPO4YRDY"
22 http request GET https://registry.npmjs.org/bcrypt
23 http 304 https://registry.npmjs.org/bcrypt
24 silly get cb [ 304,
24 silly get   { date: 'Mon, 18 May 2015 22:42:57 GMT',
24 silly get     via: '1.1 varnish',
24 silly get     'cache-control': 'max-age=60',
24 silly get     etag: '"3CJ6K7DX95450WVBNFPO4YRDY"',
24 silly get     age: '0',
24 silly get     connection: 'keep-alive',
24 silly get     'x-served-by': 'cache-fra1227-FRA',
24 silly get     'x-cache': 'HIT',
24 silly get     'x-cache-hits': '1',
24 silly get     'x-timer': 'S1431988977.448437,VS0,VE701',
24 silly get     vary: 'Accept' } ]
25 verbose etag https://registry.npmjs.org/bcrypt from cache
26 verbose get saving bcrypt to /root/.npm/registry.npmjs.org/bcrypt/.cache.json
27 silly addNameRange number 2 { name: 'bcrypt', range: '*', hasData: true }
28 silly addNameRange versions [ 'bcrypt',
28 silly addNameRange   [ '0.1.2',
28 silly addNameRange     '0.2.0',
28 silly addNameRange     '0.2.1',
28 silly addNameRange     '0.1.3',
28 silly addNameRange     '0.2.2',
28 silly addNameRange     '0.2.3',
28 silly addNameRange     '0.2.4',
28 silly addNameRange     '0.3.0',
28 silly addNameRange     '0.3.1',
28 silly addNameRange     '0.3.2',
28 silly addNameRange     '0.4.0',
28 silly addNameRange     '0.4.1',
28 silly addNameRange     '0.5.0',
28 silly addNameRange     '0.6.0',
28 silly addNameRange     '0.7.0',
28 silly addNameRange     '0.7.1',
28 silly addNameRange     '0.7.2',
28 silly addNameRange     '0.7.3',
28 silly addNameRange     '0.7.4',
28 silly addNameRange     '0.7.5',
28 silly addNameRange     '0.7.6',
28 silly addNameRange     '0.7.7',
28 silly addNameRange     '0.7.8',
28 silly addNameRange     '0.8.0',
28 silly addNameRange     '0.8.1',
28 silly addNameRange     '0.8.2',
28 silly addNameRange     '0.8.3' ] ]
29 silly addNamed [email protected]
30 verbose addNamed "0.8.3" is a plain semver version for bcrypt
31 silly cache afterAdd [email protected]
32 verbose afterAdd /root/.npm/bcrypt/0.8.3/package/package.json not in flight; writing
33 verbose afterAdd /root/.npm/bcrypt/0.8.3/package/package.json written
34 silly install resolved [ { name: 'bcrypt',
34 silly install resolved     description: 'A bcrypt library for NodeJS.',
34 silly install resolved     keywords:
34 silly install resolved      [ 'bcrypt',
34 silly install resolved        'password',
34 silly install resolved        'auth',
34 silly install resolved        'authentication',
34 silly install resolved        'encryption',
34 silly install resolved        'crypt',
34 silly install resolved        'crypto' ],
34 silly install resolved     main: './bcrypt',
34 silly install resolved     version: '0.8.3',
34 silly install resolved     author: { name: 'Nick Campbell', url: 'https://github.com/ncb000gt' },
34 silly install resolved     engines: { node: '>= 0.6.0' },
34 silly install resolved     repository:
34 silly install resolved      { type: 'git',
34 silly install resolved        url: 'git+https://github.com/ncb000gt/node.bcrypt.js.git' },
34 silly install resolved     licenses: [ [Object] ],
34 silly install resolved     bugs: { url: 'https://github.com/ncb000gt/node.bcrypt.js/issues' },
34 silly install resolved     scripts:
34 silly install resolved      { test: 'node-gyp configure build && nodeunit test',
34 silly install resolved        install: 'node-gyp rebuild' },
34 silly install resolved     dependencies: { bindings: '1.2.1', nan: '1.8.4' },
34 silly install resolved     devDependencies: { nodeunit: '>=0.6.4' },
34 silly install resolved     contributors:
34 silly install resolved      [ [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object],
34 silly install resolved        [Object] ],
34 silly install resolved     gypfile: true,
34 silly install resolved     gitHead: '59b9a1e4b3a0d0889812fdeda4e1c7bd0224ebd1',
34 silly install resolved     homepage: 'https://github.com/ncb000gt/node.bcrypt.js#readme',
34 silly install resolved     _id: '[email protected]',
34 silly install resolved     _shasum: '714f92307246a35350744312b0d6a11a4abf792e',
34 silly install resolved     _from: 'bcrypt@*',
34 silly install resolved     _npmVersion: '2.9.0',
34 silly install resolved     _nodeVersion: '0.10.35',
34 silly install resolved     _npmUser: { name: 'shtylman', email: '[email protected]' },
34 silly install resolved     maintainers: [ [Object], [Object], [Object], [Object] ],
34 silly install resolved     dist:
34 silly install resolved      { shasum: '714f92307246a35350744312b0d6a11a4abf792e',
34 silly install resolved        tarball: 'http://registry.npmjs.org/bcrypt/-/bcrypt-0.8.3.tgz' },
34 silly install resolved     directories: {},
34 silly install resolved     _resolved: 'https://registry.npmjs.org/bcrypt/-/bcrypt-0.8.3.tgz',
34 silly install resolved     readme: 'ERROR: No README data found!' } ]
35 info install [email protected] into /usr/local/lib
36 info installOne [email protected]
37 verbose installOne of bcrypt to /usr/local/lib not in flight; installing
38 verbose lock using /root/.npm/_locks/bcrypt-4e15af7ad2934fd3.lock for /usr/local/lib/node_modules/bcrypt
39 silly install write writing bcrypt 0.8.3 to /usr/local/lib/node_modules/bcrypt
40 verbose unbuild lib/node_modules/bcrypt
41 silly gentlyRm /usr/local/lib/node_modules/bcrypt is being purged from base /usr/local
42 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt
43 verbose tar unpack /root/.npm/bcrypt/0.8.3/package.tgz
44 verbose tar unpacking to /usr/local/lib/node_modules/bcrypt
45 silly gentlyRm /usr/local/lib/node_modules/bcrypt is being purged
46 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt
47 silly gunzTarPerm modes [ '755', '644' ]
48 silly gunzTarPerm extractEntry package.json
49 silly gunzTarPerm extractEntry .npmignore
50 silly gunzTarPerm extractEntry README.md
51 silly gunzTarPerm extractEntry LICENSE
52 silly gunzTarPerm extractEntry bcrypt.js
53 silly gunzTarPerm extractEntry binding.gyp
54 silly gunzTarPerm extractEntry .travis.yml
55 silly gunzTarPerm extractEntry CHANGELOG.md
56 silly gunzTarPerm extractEntry examples/async_compare.js
57 silly gunzTarPerm extractEntry examples/forever_gen_salt.js
58 silly gunzTarPerm extractEntry test/async.js
59 silly gunzTarPerm extractEntry test/repetitions.js
60 silly gunzTarPerm extractEntry test/sync.js
61 silly gunzTarPerm extractEntry Makefile
62 silly gunzTarPerm extractEntry src/bcrypt.cc
63 silly gunzTarPerm extractEntry src/bcrypt_node.cc
64 silly gunzTarPerm extractEntry src/blowfish.cc
65 silly gunzTarPerm extractEntry src/node_blf.h
66 silly gunzTarPerm extractEntry werker.yml
67 verbose write writing to /usr/local/lib/node_modules/bcrypt/package.json
68 info preinstall [email protected]
69 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/bcrypt/package.json
70 silly prepareForInstallMany adding [email protected] from bcrypt dependencies
71 silly prepareForInstallMany adding [email protected] from bcrypt dependencies
72 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/bcrypt/package.json
73 silly cache add args [ '[email protected]', null ]
74 verbose cache add spec [email protected]
75 silly cache add args [ '[email protected]', null ]
76 verbose cache add spec [email protected]
77 silly cache add parsed spec { raw: '[email protected]',
77 silly cache add   scope: null,
77 silly cache add   name: 'bindings',
77 silly cache add   rawSpec: '1.2.1',
77 silly cache add   spec: '1.2.1',
77 silly cache add   type: 'version' }
78 silly addNamed [email protected]
79 verbose addNamed "1.2.1" is a plain semver version for bindings
80 silly mapToRegistry name bindings
81 silly mapToRegistry using default registry
82 silly mapToRegistry registry https://registry.npmjs.org/
83 silly mapToRegistry uri https://registry.npmjs.org/bindings
84 verbose addNameVersion registry:https://registry.npmjs.org/bindings not in flight; fetching
85 silly cache add parsed spec { raw: '[email protected]',
85 silly cache add   scope: null,
85 silly cache add   name: 'nan',
85 silly cache add   rawSpec: '1.8.4',
85 silly cache add   spec: '1.8.4',
85 silly cache add   type: 'version' }
86 silly addNamed [email protected]
87 verbose addNamed "1.8.4" is a plain semver version for nan
88 silly mapToRegistry name nan
89 silly mapToRegistry using default registry
90 silly mapToRegistry registry https://registry.npmjs.org/
91 silly mapToRegistry uri https://registry.npmjs.org/nan
92 verbose addNameVersion registry:https://registry.npmjs.org/nan not in flight; fetching
93 verbose request uri https://registry.npmjs.org/bindings
94 verbose request no auth needed
95 info attempt registry request try #1 at 22:42:58
96 verbose etag "9RK4S5X0OXSOK2HUD8YR6PWNW"
97 http request GET https://registry.npmjs.org/bindings
98 verbose request uri https://registry.npmjs.org/nan
99 verbose request no auth needed
100 info attempt registry request try #1 at 22:42:58
101 verbose etag "560ZHVEP0DOKC8XVXCA3VTZHE"
102 http request GET https://registry.npmjs.org/nan
103 http 304 https://registry.npmjs.org/nan
104 silly get cb [ 304,
104 silly get   { date: 'Mon, 18 May 2015 22:42:58 GMT',
104 silly get     via: '1.1 varnish',
104 silly get     'cache-control': 'max-age=60',
104 silly get     etag: '"560ZHVEP0DOKC8XVXCA3VTZHE"',
104 silly get     age: '13',
104 silly get     connection: 'keep-alive',
104 silly get     'x-served-by': 'cache-fra1246-FRA',
104 silly get     'x-cache': 'HIT',
104 silly get     'x-cache-hits': '1',
104 silly get     'x-timer': 'S1431988978.583588,VS0,VE0',
104 silly get     vary: 'Accept' } ]
105 verbose etag https://registry.npmjs.org/nan from cache
106 verbose get saving nan to /root/.npm/registry.npmjs.org/nan/.cache.json
107 silly cache afterAdd [email protected]
108 verbose afterAdd /root/.npm/nan/1.8.4/package/package.json not in flight; writing
109 verbose afterAdd /root/.npm/nan/1.8.4/package/package.json written
110 http 304 https://registry.npmjs.org/bindings
111 silly get cb [ 304,
111 silly get   { date: 'Mon, 18 May 2015 22:42:58 GMT',
111 silly get     via: '1.1 varnish',
111 silly get     'cache-control': 'max-age=60',
111 silly get     etag: '"9RK4S5X0OXSOK2HUD8YR6PWNW"',
111 silly get     age: '0',
111 silly get     connection: 'keep-alive',
111 silly get     'x-served-by': 'cache-fra1224-FRA',
111 silly get     'x-cache': 'HIT',
111 silly get     'x-cache-hits': '1',
111 silly get     'x-timer': 'S1431988978.574364,VS0,VE103',
111 silly get     vary: 'Accept' } ]
112 verbose etag https://registry.npmjs.org/bindings from cache
113 verbose get saving bindings to /root/.npm/registry.npmjs.org/bindings/.cache.json
114 silly cache afterAdd [email protected]
115 verbose afterAdd /root/.npm/bindings/1.2.1/package/package.json not in flight; writing
116 verbose afterAdd /root/.npm/bindings/1.2.1/package/package.json written
117 silly install resolved [ { name: 'nan',
117 silly install resolved     version: '1.8.4',
117 silly install resolved     description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
117 silly install resolved     main: 'include_dirs.js',
117 silly install resolved     repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
117 silly install resolved     scripts:
117 silly install resolved      { test: 'tap --gc test/js/*-test.js',
117 silly install resolved        'rebuild-tests': 'pangyp rebuild --directory test' },
117 silly install resolved     contributors:
117 silly install resolved      [ [Object],
117 silly install resolved        [Object],
117 silly install resolved        [Object],
117 silly install resolved        [Object],
117 silly install resolved        [Object],
117 silly install resolved        [Object],
117 silly install resolved        [Object] ],
117 silly install resolved     devDependencies:
117 silly install resolved      { bindings: '~1.2.1',
117 silly install resolved        'node-gyp': '~1.0.2',
117 silly install resolved        pangyp: '~2.0.1',
117 silly install resolved        tap: '~0.7.1',
117 silly install resolved        xtend: '~4.0.0' },
117 silly install resolved     license: 'MIT',
117 silly install resolved     gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
117 silly install resolved     bugs: { url: 'https://github.com/iojs/nan/issues' },
117 silly install resolved     homepage: 'https://github.com/iojs/nan#readme',
117 silly install resolved     _id: '[email protected]',
117 silly install resolved     _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
117 silly install resolved     _from: '[email protected]',
117 silly install resolved     _npmVersion: '2.8.3',
117 silly install resolved     _nodeVersion: '0.12.2',
117 silly install resolved     _npmUser: { name: 'kkoopa', email: '[email protected]' },
117 silly install resolved     maintainers: [ [Object], [Object] ],
117 silly install resolved     dist:
117 silly install resolved      { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
117 silly install resolved        tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
117 silly install resolved     directories: {},
117 silly install resolved     _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
117 silly install resolved     readme: 'ERROR: No README data found!' },
117 silly install resolved   { name: 'bindings',
117 silly install resolved     description: 'Helper module for loading your native module\'s .node file',
117 silly install resolved     keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
117 silly install resolved     version: '1.2.1',
117 silly install resolved     author:
117 silly install resolved      { name: 'Nathan Rajlich',
117 silly install resolved        email: '[email protected]',
117 silly install resolved        url: 'http://tootallnate.net' },
117 silly install resolved     repository:
117 silly install resolved      { type: 'git',
117 silly install resolved        url: 'git://github.com/TooTallNate/node-bindings.git' },
117 silly install resolved     main: './bindings.js',
117 silly install resolved     bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' },
117 silly install resolved     homepage: 'https://github.com/TooTallNate/node-bindings',
117 silly install resolved     license: 'MIT',
117 silly install resolved     gitHead: 'e404152ee27f8478ccbc7122ee051246e8e5ec02',
117 silly install resolved     _id: '[email protected]',
117 silly install resolved     scripts: {},
117 silly install resolved     _shasum: '14ad6113812d2d37d72e67b4cacb4bb726505f11',
117 silly install resolved     _from: '[email protected]',
117 silly install resolved     _npmVersion: '1.4.14',
117 silly install resolved     _npmUser: { name: 'tootallnate', email: '[email protected]' },
117 silly install resolved     maintainers: [ [Object], [Object] ],
117 silly install resolved     dist:
117 silly install resolved      { shasum: '14ad6113812d2d37d72e67b4cacb4bb726505f11',
117 silly install resolved        tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz' },
117 silly install resolved     directories: {},
117 silly install resolved     _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz',
117 silly install resolved     readme: 'ERROR: No README data found!' } ]
118 info install [email protected] into /usr/local/lib/node_modules/bcrypt
119 info install [email protected] into /usr/local/lib/node_modules/bcrypt
120 info installOne [email protected]
121 verbose installOne of nan to /usr/local/lib/node_modules/bcrypt not in flight; installing
122 info installOne [email protected]
123 verbose installOne of bindings to /usr/local/lib/node_modules/bcrypt not in flight; installing
124 verbose lock using /root/.npm/_locks/nan-c975b4099e242fad.lock for /usr/local/lib/node_modules/bcrypt/node_modules/nan
125 verbose lock using /root/.npm/_locks/bindings-a648b405563f3a33.lock for /usr/local/lib/node_modules/bcrypt/node_modules/bindings
126 silly install write writing nan 1.8.4 to /usr/local/lib/node_modules/bcrypt/node_modules/nan
127 silly install write writing bindings 1.2.1 to /usr/local/lib/node_modules/bcrypt/node_modules/bindings
128 verbose unbuild lib/node_modules/bcrypt/node_modules/nan
129 verbose unbuild lib/node_modules/bcrypt/node_modules/bindings
130 silly gentlyRm /usr/local/lib/node_modules/bcrypt/node_modules/nan is being purged from base /usr/local
131 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt/node_modules/nan
132 silly gentlyRm /usr/local/lib/node_modules/bcrypt/node_modules/bindings is being purged from base /usr/local
133 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt/node_modules/bindings
134 verbose tar unpack /root/.npm/nan/1.8.4/package.tgz
135 verbose tar unpacking to /usr/local/lib/node_modules/bcrypt/node_modules/nan
136 silly gentlyRm /usr/local/lib/node_modules/bcrypt/node_modules/nan is being purged
137 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt/node_modules/nan
138 verbose tar unpack /root/.npm/bindings/1.2.1/package.tgz
139 verbose tar unpacking to /usr/local/lib/node_modules/bcrypt/node_modules/bindings
140 silly gentlyRm /usr/local/lib/node_modules/bcrypt/node_modules/bindings is being purged
141 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt/node_modules/bindings
142 silly gunzTarPerm modes [ '755', '644' ]
143 silly gunzTarPerm modes [ '755', '644' ]
144 silly gunzTarPerm extractEntry package.json
145 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
146 silly gunzTarPerm extractEntry package.json
147 silly gunzTarPerm extractEntry README.md
148 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
149 silly gunzTarPerm extractEntry include_dirs.js
150 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
151 silly gunzTarPerm extractEntry README.md
152 silly gunzTarPerm extractEntry bindings.js
153 silly gunzTarPerm extractEntry LICENSE.md
154 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
155 silly gunzTarPerm extractEntry .dntrc
156 silly gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
157 silly gunzTarPerm extractEntry appveyor.yml
158 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
159 silly gunzTarPerm extractEntry nan.h
160 silly gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
161 verbose write writing to /usr/local/lib/node_modules/bcrypt/node_modules/bindings/package.json
162 info preinstall [email protected]
163 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/bcrypt/node_modules/bindings/package.json
164 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/bcrypt/node_modules/bindings/package.json
165 silly install resolved []
166 verbose about to build /usr/local/lib/node_modules/bcrypt/node_modules/bindings
167 info build /usr/local/lib/node_modules/bcrypt/node_modules/bindings
168 info linkStuff [email protected]
169 silly linkStuff [email protected] has /usr/local/lib/node_modules/bcrypt/node_modules as its parent node_modules
170 silly linkStuff [email protected] is part of a global install
171 silly linkStuff [email protected] is installed into a global node_modules
172 verbose linkBins [email protected]
173 verbose linkMans [email protected]
174 verbose rebuildBundles [email protected]
175 info install [email protected]
176 info postinstall [email protected]
177 verbose unlock done using /root/.npm/_locks/bindings-a648b405563f3a33.lock for /usr/local/lib/node_modules/bcrypt/node_modules/bindin
gs
178 silly gunzTarPerm extractEntry nan_implementation_12_inl.h
179 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
180 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
181 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
182 silly gunzTarPerm extractEntry nan_new.h
183 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
184 silly gunzTarPerm extractEntry nan_string_bytes.h
185 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
186 silly gunzTarPerm extractEntry CHANGELOG.md
187 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
188 verbose write writing to /usr/local/lib/node_modules/bcrypt/node_modules/nan/package.json
189 info preinstall [email protected]
190 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/bcrypt/node_modules/nan/package.json
191 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/bcrypt/node_modules/nan/package.json
192 silly install resolved []
193 verbose about to build /usr/local/lib/node_modules/bcrypt/node_modules/nan
194 info build /usr/local/lib/node_modules/bcrypt/node_modules/nan
195 info linkStuff [email protected]
196 silly linkStuff [email protected] has /usr/local/lib/node_modules/bcrypt/node_modules as its parent node_modules
197 silly linkStuff [email protected] is part of a global install
198 silly linkStuff [email protected] is installed into a global node_modules
199 verbose linkBins [email protected]
200 verbose linkMans [email protected]
201 verbose rebuildBundles [email protected]
202 info install [email protected]
203 info postinstall [email protected]
204 verbose unlock done using /root/.npm/_locks/nan-c975b4099e242fad.lock for /usr/local/lib/node_modules/bcrypt/node_modules/nan
205 verbose about to build /usr/local/lib/node_modules/bcrypt
206 info build /usr/local/lib/node_modules/bcrypt
207 info linkStuff [email protected]
208 silly linkStuff [email protected] has /usr/local/lib/node_modules as its parent node_modules
209 silly linkStuff [email protected] is part of a global install
210 silly linkStuff [email protected] is installed into a global node_modules
211 silly linkStuff [email protected] is installed into the top-level global node_modules
212 verbose linkBins [email protected]
213 verbose linkMans [email protected]
214 verbose rebuildBundles [email protected]
215 verbose rebuildBundles [ 'bindings', 'nan' ]
216 info install [email protected]
217 verbose unsafe-perm in lifecycle false
218 info [email protected] Failed to exec install script
219 verbose unlock done using /root/.npm/_locks/bcrypt-4e15af7ad2934fd3.lock for /usr/local/lib/node_modules/bcrypt
220 verbose stack Error: [email protected] install: `node-gyp rebuild`
220 verbose stack Exit status 137
220 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
220 verbose stack     at EventEmitter.emit (events.js:98:17)
220 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
220 verbose stack     at ChildProcess.emit (events.js:98:17)
220 verbose stack     at maybeClose (child_process.js:766:16)
220 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
221 verbose pkgid [email protected]
222 verbose cwd /root
223 error Linux 3.2.0-23-virtual
224 error argv "node" "/usr/local/bin/npm" "i" "-g" "bcrypt"
225 error node v0.10.36
226 error npm  v2.10.0
227 error code ELIFECYCLE
228 error [email protected] install: `node-gyp rebuild`
228 error Exit status 137
229 error Failed at the [email protected] install script 'node-gyp rebuild'.
229 error This is most likely a problem with the bcrypt package,
229 error not with npm itself.
229 error Tell the author that this fails on your system:
229 error     node-gyp rebuild
229 error You can get their info via:
229 error     npm owner ls bcrypt
229 error There is likely additional logging output above.
230 verbose exit [ 1, true ]
231 verbose unbuild lib/node_modules/bcrypt
232 info preuninstall [email protected]
233 info uninstall [email protected]
234 verbose unbuild rmStuff [email protected] from /usr/local/lib/node_modules
235 info postuninstall [email protected]
236 silly gentlyRm /usr/local/lib/node_modules/bcrypt is being purged from base /usr/local
237 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/bcrypt
238 silly vacuum-fs purging /usr/local/lib/node_modules/bcrypt
239 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules

@nihiels
Copy link

nihiels commented May 20, 2015

When I try to deploy, everything works fine, except the invoking deployment process.
Has anybody an idea what I need to to do to fix it?

x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
ndle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok 
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
sudo: stop: command not found
sudo: start: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to host
sudo: stop: command not found
sudo: start: command not found
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
e/obj.target/node_aes_gcm.node
SOLINK_MODULE(target) Release/obj.target/node_aes_gcm.node: Finished
COPY Release/node_aes_gcm.node
make: Leaving directory `/opt/koofen/tmp/bundle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm/build'

> [email protected] install /opt/koofen/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
[email protected] node_modules/underscore

[email protected] node_modules/eachline
└── [email protected]

[email protected] node_modules/semver

[email protected] node_modules/chalk
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])

[email protected] node_modules/fibers

[email protected] node_modules/source-map-support
└── [email protected] ([email protected])
Waiting for MongoDB to initialize. (5 minutes)
connected
Waiting for 15 seconds while app is booting up
Checking is app booted or not?

@arunoda
Copy link
Owner

arunoda commented May 20, 2015

There is a new version of available in the mupx branch. You can install it
from Npm as well.

It will give more verbosity into this issue.
On 2015 මැයි 20, බදාදා at ප.ව. 4.18 nihiels [email protected]
wrote:

When I try to deploy, everything works fine, except the invoking
deployment process.
Has anybody an idea what I need to to do to fix it?

x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
ndle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
sudo: stop: command not found
sudo: start: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to
host
sudo: stop: command not found
sudo: start: command not found

Latest deployment failed! Reverted back to the previous version.

-----------------------------------STDOUT-----------------------------------

e/obj.target/node_aes_gcm.node
SOLINK_MODULE(target) Release/obj.target/node_aes_gcm.node: Finished
COPY Release/node_aes_gcm.node
make: Leaving directory
`/opt/koofen/tmp/bundle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm/build'

[email protected] install /opt/koofen/tmp/bundle/programs/server/node_modules/fibers
node ./build.js

linux-x64-v8-3.14 exists; testing
Binary is fine; exiting
[email protected] node_modules/underscore

[email protected] node_modules/eachline
└── [email protected]

[email protected] node_modules/semver

[email protected] node_modules/chalk
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected]

)

[email protected] node_modules/fibers

[email protected] node_modules/source-map-support
└── [email protected] ([email protected])
Waiting for MongoDB to initialize. (5 minutes)
connected
Waiting for 15 seconds while app is booting up
Checking is app booted or not?


Reply to this email directly or view it on GitHub
zodern/meteor-up#435 (comment).

@nihiels
Copy link

nihiels commented May 20, 2015

with mupx it raises this error:
x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
time="2015-05-20T14:10:05+02:00" level=fatal msg="Error: failed to remove one or more containers" 
dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
time="2015-05-20T14:10:05+02:00" level=fatal msg="Error: failed to remove one or more containers" 
time="2015-05-20T14:10:05+02:00" level=fatal msg="Post http:///var/run/docker.sock/v1.18/images/create?fromImage=meteorhacks%2Fmeteord%3Abase: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?" 
-----------------------------------STDOUT-----------------------------------
----------------------------------------------------------------------------

@arunoda
Copy link
Owner

arunoda commented May 20, 2015

What's the server's OS?

@nihiels
Copy link

nihiels commented May 20, 2015

Debian 7 64bit

2015-05-20 14:27 GMT+02:00 Arunoda Susiripala [email protected]:

What's the server's OS?


Reply to this email directly or view it on GitHub
zodern/meteor-up#435 (comment).

Nils Pfeifenberger

Weisestraße 54
12049 Berlin

+49 176 61 829 858

@thikari
Copy link
Author

thikari commented May 20, 2015

I got this error

x Verifying deployment: FAILED

-----------------------------------STDERR-----------------------------------
 (/bundle/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
    at /bundle/bundle/programs/server/boot.js:117:5
    - - - - -
    at [object Object].<anonymous> (/bundle/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
    at [object Object].emit (events.js:106:17)
    at [object Object].<anonymous> (/bundle/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
    at [object Object].emit (events.js:98:17)
    at Socket.<anonymous> (/bundle/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
    at Socket.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:442:13)
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
=> Starting meteor app on port:80
-----------------------------------STDOUT-----------------------------------

@MHerszak
Copy link

Hi there,

I just started using mupx and I am getting this error when I deploy to DigitalOcean. Everything except invoking deployment seems to work.

Started TaskList: Deploy app 'base2industries' (linux)
[45.55.223.62] - Uploading bundle
[45.55.223.62] - Uploading bundle: SUCCESS
[45.55.223.62] - Sending environment variables
[45.55.223.62] - Sending environment variables: SUCCESS
[45.55.223.62] - Initializing start script
[45.55.223.62] - Initializing start script: SUCCESS
[45.55.223.62] - Invoking deployment process
[45.55.223.62] x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
Error response from daemon: no such id: base2industries-frontend
time="2015-05-20T12:42:06-04:00" level=fatal msg="Error: failed to remove one or more containers" 
time="2015-05-20T12:42:12-04:00" level=fatal msg="Error response from daemon: Cannot start container 5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use" 
-----------------------------------STDOUT-----------------------------------
base2industries
base: Pulling from meteorhacks/meteord
21e4345e9035: Already exists
b3d362b23ec1: Already exists
56031332072b: Already exists
f88e209e7818: Already exists
b3f51d93defe: Already exists
70ab8c255ca1: Already exists
8fa54b9a2ceb: Already exists
ff09945665bb: Already exists
ff09945665bb: Already exists
Digest: sha256:c55af1fa3b77ca37058e806ecd947f45f8df7579bd1fa8bf28d5169062f4fc12
Status: Image is up to date for meteorhacks/meteord:base
5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e
----------------------------------------------------------------------------

@arunoda
Copy link
Owner

arunoda commented May 20, 2015

That means, there is another process running on port 80.

On Wed, May 20, 2015 at 10:20 PM MHerszak [email protected] wrote:

Hi there,

I just started using mupx and I am getting this error when I deploy to
DigitalOcean. Everything except invoking deployment seems to work.

Started TaskList: Deploy app 'base2industries' (linux)
[45.55.223.62] - Uploading bundle
[45.55.223.62] - Uploading bundle: SUCCESS
[45.55.223.62] - Sending environment variables
[45.55.223.62] - Sending environment variables: SUCCESS
[45.55.223.62] - Initializing start script
[45.55.223.62] - Initializing start script: SUCCESS
[45.55.223.62] - Invoking deployment process
[45.55.223.62] x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
Error response from daemon: no such id: base2industries-frontend
time="2015-05-20T12:42:06-04:00" level=fatal msg="Error: failed to remove one or more containers"
time="2015-05-20T12:42:12-04:00" level=fatal msg="Error response from daemon: Cannot start container 5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use"
-----------------------------------STDOUT-----------------------------------
base2industries
base: Pulling from meteorhacks/meteord
21e4345e9035: Already exists
b3d362b23ec1: Already exists
56031332072b: Already exists
f88e209e7818: Already exists
b3f51d93defe: Already exists
70ab8c255ca1: Already exists
8fa54b9a2ceb: Already exists
ff09945665bb: Already exists
ff09945665bb: Already exists
Digest: sha256:c55af1fa3b77ca37058e806ecd947f45f8df7579bd1fa8bf28d5169062f4fc12
Status: Image is up to date for meteorhacks/meteord:base

5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e


Reply to this email directly or view it on GitHub
zodern/meteor-up#435 (comment).

@justindra
Copy link

Hi, I am trying to deploy to an AWS EC2 Instance running Ubuntu 14.04 64-bit. But I'm getting this error

✘ Invoking deployment process: FAILED

    -----------------------------------STDERR-----------------------------------
     args   'build',
    gyp info spawn args   '-Goutput_dir=.' ]
    gyp info spawn make
    gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
    In file included from ../lib/kerberos.cc:1:0:
    ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
     #include <gssapi/gssapi.h>
                               ^
    compilation terminated.
    make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
    gyp ERR! build error 
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:269:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
    gyp ERR! System Linux 3.13.0-48-generic
    gyp ERR! command "node" "/usr/bin/node-gyp" "rebuild"
    gyp ERR! cwd /opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/kerberos
    gyp ERR! node -v v0.10.33
    gyp ERR! node-gyp -v v1.0.3
    gyp ERR! not ok 
    -----------------------------------STDOUT-----------------------------------
    => re-installing binary npm module 'bson' of package 'cfs_gridfs'
    make: Entering directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build'
      CXX(target) Release/obj.target/bson/ext/bson.o
      SOLINK_MODULE(target) Release/obj.target/bson.node
      SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
      COPY Release/bson.node
    make: Leaving directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build'
    => re-installing binary npm module 'kerberos' of package 'cfs_gridfs'
    make: Entering directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/kerberos/build'
      CXX(target) Release/obj.target/kerberos/lib/kerberos.o
    make: Leaving directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/kerberos/build'
    ----------------------------------------------------------------------------

Just wondering what I need to do.

Cheers!

@ShrinathGupta
Copy link

@arunoda I'm also facing same issue. please refer issue #1151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants