Open lpatmo opened 9 years ago
Seems like something wrong with your MONGO_URL.
Can you please verify that it's working. On 2015 ජන 1, බ්රහස් at පෙ.ව. 8.51 lpatmo notifications@github.com wrote:
Spent the afternoon trying to figure out why my attempt to deploy to Digital Ocean using Compose.io and meteor-up was not working. All was going well until I got to the "sudo mup deploy" setup.
This is what I'm seeing in logs:
[104.236.29.161] Warning: Permanently added '104.236.29.161' (RSA) to the list of known hosts. [104.236.29.161] tail: [104.236.29.161] cannot open ‘/var/log/upstart/cb.log’ for reading: No such file or directory[104.236.29.161]
And the full error is here:
MacBook-Air:cb user$ sudo mup deploy
Meteor Up: Production Quality Meteor Deployments
Building Started: .
Started TaskList: Deploy app 'cb' (linux) [104.236.29.161] - Uploading bundle [104.236.29.161] ✔ Uploading bundle: SUCCESS [104.236.29.161] - Setting up Environment Variables [104.236.29.161] ✔ Setting up Environment Variables: SUCCESS [104.236.29.161] - Invoking deployment process [104.236.29.161] ✘ Invoking deployment process: FAILED
-----------------------------------STDERR----------------------------------- spawn args '/usr/lib/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.node-gyp/0.10.33/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.33', gyp info spawn args '-Dmodule_root_dir=/opt/cb/tmp/bundle/programs/server/npm/sacha:juice/node_modules/juice/node_modules/jsdom/node_modules/contextify', 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 meteor-dev-bundle@0.0.0 No description npm WARN package.json meteor-dev-bundle@0.0.0 No repository field. npm WARN package.json meteor-dev-bundle@0.0.0 No README data /opt/cb/config/env.sh: line 10: linda: No such file or directory -----------------------------------STDOUT----------------------------------- e/obj.target/contextify/src/contextify.o SOLINK_MODULE(target) Release/obj.target/contextify.node SOLINK_MODULE(target) Release/obj.target/contextify.node: Finished COPY Release/contextify.node make: Leaving directory `/opt/cb/tmp/bundle/programs/server/npm/sacha:juice/node_modules/juice/node_modules/jsdom/node_modules/contextify/build' > fibers@1.0.1 install /opt/cb/tmp/bundle/programs/server/node_modules/fibers > node ./build.js `linux-x64-v8-3.14` exists; testing Binary is fine; exiting underscore@1.5.2 node_modules/underscore semver@4.1.0 node_modules/semver eachline@2.3.3 node_modules/eachline └── type-of@2.0.1 chalk@0.5.1 node_modules/chalk ├── escape-string-regexp@1.0.2 ├── ansi-styles@1.1.0 ├── supports-color@0.2.0 ├── has-ansi@0.1.0 (ansi-regex@0.2.1) └── strip-ansi@0.3.0 (ansi-regex@0.2.1) source-map-support@0.2.8 node_modules/source-map-support └── source-map@0.1.32 (amdefine@0.1.0) fibers@1.0.1 node_modules/fibers Waiting for MongoDB to initialize. (5 minutes) ----------------------------------------------------------------------------
Completed TaskList: Deploy app 'cb' (linux)
Also, I'm running the latest versions of node and npm (I actually re-installed homebrew as well):
MacBook-Air:cb username$ node -v v0.10.35 MacBook-Air:cb username$ npm -v 1.4.28
— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/207.
Oh gosh, you're absolutely right. Thanks so much! Can't believe this took me two hours of breaking more things and re-installing. Well, at least my homebrew is working again. :D
Things like this happens. Wish you a happy new year. On 2015 ජන 1, බ්රහස් at පෙ.ව. 9.03 lpatmo notifications@github.com wrote:
Oh gosh, you're absolutely right. Thanks so much! Can't believe this took me two hours of double checking.
— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/207#issuecomment-68479645.
Happy new year! :)
I'm having a similar issue with the exact same results except the final line of STDERR is instead:
bash: line 103: wait-for-mongo: command not found
Could you provide more insight?
@jhawn My only mistake was that I typed in
@lpatmo Thanks. I followed the video and used Compose to buy my way out of the error. Not sure why the local DB didn't work though.
✘ Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/type-of
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 304 https://registry.npmjs.org/has-ansi
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 304 https://registry.npmjs.org/supports-color
npm http 304 https://registry.npmjs.org/type-of
npm http 304 https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
/usr/bin/env: node: Permission denied
-----------------------------------STDOUT-----------------------------------
> fibers@1.0.1 install /opt/test/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
underscore@1.5.2 node_modules/underscore
semver@4.1.0 node_modules/semver
fibers@1.0.1 node_modules/fibers
eachline@2.3.3 node_modules/eachline
└── type-of@2.0.1
source-map-support@0.2.8 node_modules/source-map-support
└── source-map@0.1.32 (amdefine@0.1.0)
chalk@0.5.1 node_modules/chalk
├── escape-string-regexp@1.0.2
├── ansi-styles@1.1.0
├── supports-color@0.2.0
├── strip-ansi@0.3.0 (ansi-regex@0.2.1)
└── has-ansi@0.1.0 (ansi-regex@0.2.1)
Waiting for MongoDB to initialize. (5 minutes)
----------------------------------------------------------------------------
what is this all about ?
Side note: For some reason yesterday I got this error again:
cannot open ‘/var/log/upstart/cb.log’ for reading[123.123.12.123] : No such file or directory
Then it magically disappeared tonight (a day later). And I hadn't touched the app. Just wanted to make note.
Spent the afternoon trying to figure out why my attempt to deploy to Digital Ocean using Compose.io and meteor-up was not working. All was going well until I got to the "sudo mup deploy" setup.
This is what I'm seeing in logs:
And the full error is here:
Also, I'm running the latest versions of node and npm (I actually re-installed homebrew as well):