ind1go / bluemix-buildpack-meteor Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sweetleon/cloudfoundry-buildpack-meteorite
Meteor on Bluemix.
License: MIT License
This project forked from sweetleon/cloudfoundry-buildpack-meteorite
Meteor on Bluemix.
License: MIT License
Hello!
Just tried to push to Bluemix with this buildpack but it didn't end up working.
Here's a link to the repo with the meteor app I tried to push: https://github.com/thisisbrianhan/leaderboard-example
cf push brian-leaderboard -b https://github.com/ind1go/bluemix-buildpack-meteor.git -m 128m
Updating app brian-leaderboard in org [email protected] / space dev as [email protected]...
OK
Uploading brian-leaderboard...
Uploading app files from: /Users/brianhan/brian-dev/meteor/leaderboard
Uploading 2.8M, 264 files
OK
Stopping app brian-leaderboard in org [email protected] / space dev as [email protected]...
OK
Starting app brian-leaderboard in org [email protected] / space dev as [email protected]...
OK
-----> Downloaded app package (2.7M)
-----> Downloaded app buildpack cache (4.0K)
Cloning into '/tmp/buildpacks/bluemix-buildpack-meteor'...
-----> Resolving engine versions
No version of Node.js specified in nodeversion, using '0.10.33'
Using Node.js version: 0.10.33
-----> Fetching Node.js binaries
- downloading and extracting node from http://nodejs.org/dist/v0.10.33/node-v0.10.33-linux-x64.tar.gz
Installing meteor
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6121 0 6121 0 0 16004 0 --:--:-- --:--:-- --:--:-- 32215
Downloading Meteor distribution
Dropped log message: message too long (>64K without a newline)
...
Meteor 1.0.3.1 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.
This may prompt for your password.
sudo: no tty present and no askpass program specified
Couldn't write the launcher script. Please either:
(1) Run the following as root:
cp "/tmp/node-meteor-hFrh/.meteor/packages/meteor-tool/1.0.40/meteor-tool-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
(2) Add "$HOME/.meteor" to your path, or
(3) Rerun this command to try again.
Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
Meteor installed
Building meteor bundle
FAILED
Server error, status code: 400, error code: 170004, message: App staging failed in the buildpack compile phase
Would love to know if there's anything I can do to change with how I'm deploying this meteor app.
Cheers
Node version was updated.
Can be temporarily overridden by adding a 'nodeversion' file to the root of the project with contents "0.10.36".
Fixed by #11
Hi,
since Meteor 1.4 I cannot use this build pack to deploy on Bluemix. The command "cf push" aborts with the error message below.
Thanks
Tarkan
C:\myapp>cf push
Using manifest file C:\myapp\manifest.yml
Updating app myapp in org MyOrg / space MySpace as my-email@address...
OK
Using route myapp.eu-gb.mybluemix.net
Uploading myapp...
Uploading app files from: C:\myapp
Uploading 160M, 39702 files
FAILED
Error processing app files: Error uploading application.
remove C:\TEMP\apps987997647.meteor\local\dev_bundle\lib\node_modules\cordova-lib\node_modules\npm\node_modules\node-gyp\node_modules\path-array\node_modules\array-index\node_modu
les\es6-symbol\node_modules\es5-ext\node_modules\es6-symbol\test: Das Verzeichnis ist nicht leer. (-> Folder not empty)
This command:
cf push -m 512M -b https://github.com/ind1go/bluemix-buildpack-meteor.git
Crashes like:
-----> Downloaded app package (3.4M)
-----> Downloaded app buildpack cache (456K)
Cloning into '/tmp/buildpacks/bluemix-buildpack-meteor'...
-----> Resolving engine versions
No version of Node.js specified in nodeversion, using '0.10.*'
Using Node.js version: 0.10.42
-----> Fetching Node.js binaries
- downloading and extracting node from http://nodejs.org/dist/v0.10.42/n
ode-v0.10.42-linux-x64.tar.gz
Installing meteor
Downloading Meteor distribution
Meteor 1.2.1 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.
This may prompt for your password.
sudo: no tty present and no askpass program specified
Couldn't write the launcher script. Please either:
(1) Run the following as root:
cp "/tmp/node-meteor-dSKG/.meteor/packages/meteor-tool/1.1.10/mt-os.linu
x.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
(2) Add "$HOME/.meteor" to your path, or
(3) Rerun this command to try again.
Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
Meteor installed
Ignoring build of mobile platforms
Building meteor bundle
rocketchat:file: updating npm dependencies -- mkdirp, gridfs-stream, gm..
.
rocketchat:assets: updating npm dependencies -- image-size, mime-types...
rocketchat:cas: updating npm dependencies -- cas...
rocketchat:ldap: updating npm dependencies -- ldapjs...
builLivechat: updating npm dependencies -- shelljs...
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 1: cd: can'
t cd to packages/rocketchat-livechat/app
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 2: /tmp/sta
ged/app/packages/rocketchat-livechat/plugin/build.sh: meteor: not found
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 3: /tmp/sta
: not foundkages/rocketchat-livechat/plugin/build.sh:
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 5: /tmp/sta
: not foundkages/rocketchat-livechat/plugin/build.sh:
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 9: /tmp/sta
: not foundkages/rocketchat-livechat/plugin/build.sh:
cp: cannot stat .meteor/build/bundle/programs/web.browser/*.css': No suc h file or directory cp: cannot stat
.meteor/build/bundle/programs/web.browser/*.js': No such
file or directory
cp: cannot stat `.meteor/build/bundle/programs/web.browser/head.html': No
such file or directory
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 13: /tmp/st
: not foundckages/rocketchat-livechat/plugin/build.sh:
/tmp/staged/app/packages/rocketchat-livechat/plugin/build.sh: 15: /tmp/st
: not foundckages/rocketchat-livechat/plugin/build.sh:
/tmp/node-meteor-dSKG/.meteor/packages/meteor-tool/.1.1.10.ki0ccv++os.lin
ux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules
/fibers/future.js:245
throw(ex);
^
Error: Builder can not write without either data or a file path or a syml
ink path: os/packages/rocketchat_livechat/public/head.html
at Builder.write (/tools/isobuild/builder.js:225:13)
at Builder.writeToGeneratedFilename (/tools/isobuild/builder.js:353:1
0)
at /tools/isobuild/isopack.js:1346:27
at Array.forEach (native)
at Function..each..forEach (/tmp/node-meteor-dSKG/.meteor/packages/
meteor-tool/.1.1.10.ki0ccv++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.
x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at .each..each.builder.generateFilename.directory (/tools/isobuild/
isopack.js:1320:11)
at Array.forEach (native)
at Function..each..forEach (/tmp/node-meteor-dSKG/.meteor/packages/
meteor-tool/.1.1.10.ki0ccv++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.
x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at /tools/isobuild/isopack.js:1233:9
at [object Object]..extend.saveToPath (/tools/isobuild/isopack.js:15
85:26)
at /tools/isobuild/isopack-cache.js:289:23
at /tools/utils/buildmessage.js:356:18
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:349:34
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:347:23
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at Object.enterJob (/tools/utils/buildmessage.js:321:26)
at [object Object]..extend.loadLocalPackage (/tools/isobuild/isopac
k-cache.js:227:18)
at /tools/isobuild/isopack-cache.js:166:14
at /tools/utils/buildmessage.js:356:18
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:349:34
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:347:23
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at Object.enterJob (/tools/utils/buildmessage.js:321:26)
at [object Object]..extend.ensurePackageLoaded (/tools/isobuild/iso
pack-cache.js:158:20)
at /tools/isobuild/isopack-cache.js:73:14
at /tools/packaging/package-map.js:57:7
at Function..each..forEach (/tmp/node-meteor-dSKG/.meteor/packages/
meteor-tool/.1.1.10.ki0ccv++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.
x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
at [object Object]..extend.eachPackage (/tools/packaging/package-map
.js:49:7)
at [object Object]..extend.buildLocalPackages (/tools/isobuild/isopa
ck-cache.js:72:24)
at /tools/project-context.js:735:25
at /tools/utils/buildmessage.js:356:18
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:349:34
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:347:23
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at Object.enterJob (/tools/utils/buildmessage.js:321:26)
at ProjectContext..extend.buildLocalPackages (/tools/project-contex
t.js:734:18)
at /tools/project-context.js:257:35
at /tools/utils/buildmessage.js:356:18
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:349:34
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:347:23
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at Object.enterJob (/tools/utils/buildmessage.js:321:26)
at ProjectContext..extend.completeStagesThrough (/tools/project-con
text.js:247:18)
at ProjectContext..extend.saveChangedMetadata (/tools/project-contex
t.js:235:10)
at ProjectContext..extend.prepareProjectForBuild (/tools/project-con
text.js:240:10)
at /tools/cli/commands.js:838:20
at /tools/utils/buildmessage.js:268:13
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:261:29
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:259:18
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at /tools/utils/buildmessage.js:250:23
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:
114:14)
at Object.capture (/tools/utils/buildmessage.js:249:19)
at Object.main.captureAndExit (/tools/cli/main.js:270:29)
at buildCommand (/tools/cli/commands.js:837:8)
at Command.main.registerCommand..extend.name [as func](/tools/cli/c
ommands.js:791:12)
at /tools/cli/main.js:1378:23
Installing meteor bundle
/tmp/buildpacks/bluemix-buildpack-meteor/bin/compile: line 127: cd: /tmp/staged/
app/.meteor/meteor_build/app/bundle/programs/server: No such file or directory
Staging failed: Buildpack compilation step failed
FAILED
BuildpackCompileFailed
I have a meteor app that works fine locally -- but when I deploy to bluemix everything appears proper yet the app just silently fails to launch (or so it appears from the logs -- or more precisely the lack of them). Here are the logs from the latest cf push attempt:
2015-02-24T09:12:33.75-0500 [API/0] OUT Updated app with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 ({"name"=>"RTSDash", "command"=>"PRIVATE DATA HIDDEN", "instances"=>1, "memory"=>256, "disk_quota"=>512, "buildpack"=>"https://github.com/ind1go/bluemix-buildpack-meteor.git", "environment_json"=>"PRIVATE DATA HIDDEN", "health_check_timeout"=>80})
2015-02-24T09:12:44.69-0500 [API/10] OUT Updated app with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 ({"state"=>"STOPPED"})
2015-02-24T09:12:46.71-0500 [DEA/102] OUT Got staging request for app with id 6710b001-87ee-469a-b7fd-7fb8730042b6
2015-02-24T09:13:03.28-0500 [STG/102] OUT -----> Downloaded app package (12K)
2015-02-24T09:13:03.45-0500 [STG/102] OUT -----> Downloaded app buildpack cache (4.0K)
2015-02-24T09:13:03.66-0500 [STG/0] ERR Cloning into '/tmp/buildpacks/bluemix-buildpack-meteor'...
2015-02-24T09:13:04.28-0500 [STG/0] OUT -----> Resolving engine versions
2015-02-24T09:13:04.29-0500 [STG/0] OUT No version of Node.js specified in nodeversion, using '0.10.33'
2015-02-24T09:13:04.60-0500 [STG/0] OUT Using Node.js version: 0.10.33
2015-02-24T09:13:16.99-0500 [STG/0] OUT Installing meteor
2015-02-24T09:13:17.34-0500 [STG/0] ERR % Total % Received % Xferd Average Speed Time Time Time Current
2015-02-24T09:13:17.34-0500 [STG/0] ERR Dload Upload Total Spent Left Speed
100 6121 0 6121 0 0 13377 0 --:--:-- --:--:-- --:--:-- 46371
2015-02-24T09:13:18.00-0500 [STG/0] ERR Downloading Meteor distribution
2015-02-24T09:13:21.53-0500 [STG/0] ERR Dropped log message: message too long (>64K without a newline)
2015-02-24T09:13:24.26-0500 [STG/0] ERR Dropped log message: message too long (>64K without a newline)
2015-02-24T09:13:26.35-0500 [STG/0] ERR Dropped log message: message too long (>64K without a newline)
2015-02-24T09:13:28.08-0500 [STG/0] ERR Dropped log message: message too long (>64K without a newline)
2015-02-24T09:13:31.80-0500 [STG/0] ERR Dropped log message: message too long (>64K without a newline)
2015-02-24T09:13:35.05-0500 [STG/0] ERR Meteor 1.0.3.1 has been installed in your home directory (~/.meteor).
2015-02-24T09:13:35.06-0500 [STG/0] ERR Writing a launcher script to /usr/local/bin/meteor for your convenience.
2015-02-24T09:13:35.06-0500 [STG/0] ERR This may prompt for your password.
2015-02-24T09:13:35.11-0500 [STG/0] ERR sudo: no tty present and no askpass program specified
2015-02-24T09:13:35.12-0500 [STG/0] ERR Couldn't write the launcher script. Please either:
2015-02-24T09:13:35.12-0500 [STG/0] ERR (1) Run the following as root:
2015-02-24T09:13:35.12-0500 [STG/0] ERR cp "/tmp/node-meteor-ahFZ/.meteor/packages/meteor-tool/1.0.40/meteor-tool-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
2015-02-24T09:13:35.12-0500 [STG/0] ERR (2) Add "$HOME/.meteor" to your path, or
2015-02-24T09:13:35.12-0500 [STG/0] ERR (3) Rerun this command to try again.
2015-02-24T09:13:35.12-0500 [STG/0] ERR Then to get started, take a look at 'meteor --help' or see the docs at
2015-02-24T09:13:35.12-0500 [STG/0] ERR docs.meteor.com.
2015-02-24T09:13:35.13-0500 [STG/0] OUT Meteor installed
2015-02-24T09:13:40.78-0500 [STG/0] OUT WARNING: The output directory is under your source tree.
2015-02-24T09:13:54.24-0500 [STG/0] OUT Installing meteor bundle
2015-02-24T09:13:54.90-0500 [STG/0] OUT npm WARN package.json [email protected] No description
2015-02-24T09:13:54.90-0500 [STG/0] OUT npm WARN package.json [email protected] No repository field.
2015-02-24T09:13:54.90-0500 [STG/0] OUT npm WARN package.json [email protected] No README data
2015-02-24T09:13:56.64-0500 [STG/0] OUT > [email protected] install /tmp/staged/app/.meteor/meteor_build/app/bundle/programs/server/node_modules/fibers
2015-02-24T09:13:56.64-0500 [STG/0] OUT > node ./build.js
2015-02-24T09:13:56.86-0500 [STG/0] OUT Binary is fine; exiting
2015-02-24T09:13:56.91-0500 [STG/0] OUT [email protected] node_modules/underscore
2015-02-24T09:13:56.91-0500 [STG/0] OUT [email protected] node_modules/semver
2015-02-24T09:13:56.91-0500 [STG/0] OUT [email protected] node_modules/eachline
2015-02-24T09:13:56.91-0500 [STG/0] OUT [email protected] node_modules/chalk
2015-02-24T09:13:56.91-0500 [STG/0] OUT ├── [email protected]
2015-02-24T09:13:56.91-0500 [STG/0] OUT ├── [email protected]
2015-02-24T09:13:56.91-0500 [STG/0] OUT ├── [email protected]
2015-02-24T09:13:56.91-0500 [STG/0] OUT ├── [email protected] ([email protected])
2015-02-24T09:13:56.91-0500 [STG/0] OUT └── [email protected] ([email protected])
2015-02-24T09:13:56.91-0500 [STG/0] OUT [email protected] node_modules/source-map-support
2015-02-24T09:13:56.91-0500 [STG/0] OUT └── [email protected] ([email protected])
2015-02-24T09:13:56.91-0500 [STG/0] OUT [email protected] node_modules/fibers
2015-02-24T09:13:56.97-0500 [STG/0] OUT Setting up MONGO_URL in .profile.d
2015-02-24T09:13:56.97-0500 [STG/0] OUT Looking for a service labelled "mongolab" in the following $VCAP_SERVICES...
2015-02-24T09:13:56.97-0500 [STG/0] OUT {"mongolab":[{"name":"mongo100","label":"mongolab","tags":["Data Stores","Development Tools","Infrastructure","Service","data_management","ibm_third_party"],"plan":"sandbox","credentials":{"uri":"mongodb://IbmCloud_t7vtsm40_icer83ci_84k4gkco:[email protected]:35760/IbmCloud_t7vtsm40_icer83ci"}}]}
2015-02-24T09:13:57.06-0500 [STG/0] OUT #!/bin/sh
2015-02-24T09:13:57.06-0500 [STG/0] OUT export ROOT_URL=${ROOT_URL:-http://gxs-rtsdash.mybluemix.net}
2015-02-24T09:13:57.06-0500 [STG/0] OUT export MONGO_URL=${MONGO_URL:-mongodb://IbmCloud_t7vtsm40_icer83ci_84k4gkco:[email protected]:35760/IbmCloud_t7vtsm40_icer83ci}
2015-02-24T09:13:57.06-0500 [STG/0] OUT export
2015-02-24T09:13:57.06-0500 [STG/0] OUT -----> Vendoring node into slug
2015-02-24T09:13:59.82-0500 [STG/102] OUT -----> Uploading droplet (7.7M)
2015-02-24T09:14:03.95-0500 [DEA/102] OUT Starting app instance (index 0) with guid 6710b001-87ee-469a-b7fd-7fb8730042b6
2015-02-24T09:14:21.84-0500 [API/4] OUT App instance exited with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 payload: {"cc_partition"=>"default", "droplet"=>"6710b001-87ee-469a-b7fd-7fb8730042b6", "version"=>"5b972dfb-f4ef-4ec0-bd72-52944f2e3a01", "instance"=>"ac0c4837bd944da3ba73ccbf5a909fa1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1424787261}
2015-02-24T09:14:21.85-0500 [API/2] OUT App instance exited with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 payload: {"cc_partition"=>"default", "droplet"=>"6710b001-87ee-469a-b7fd-7fb8730042b6", "version"=>"5b972dfb-f4ef-4ec0-bd72-52944f2e3a01", "instance"=>"ac0c4837bd944da3ba73ccbf5a909fa1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1424787261}
2015-02-24T09:15:00.64-0500 [DEA/93] OUT Starting app instance (index 0) with guid 6710b001-87ee-469a-b7fd-7fb8730042b6
2015-02-24T09:15:14.77-0500 [DEA/93] ERR Instance (index 0) failed to start accepting connections
2015-02-24T09:15:14.78-0500 [API/2] OUT App instance exited with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 payload: {"cc_partition"=>"default", "droplet"=>"6710b001-87ee-469a-b7fd-7fb8730042b6", "version"=>"5b972dfb-f4ef-4ec0-bd72-52944f2e3a01", "instance"=>"bc768ea8308245f1baf2675093fabbe2", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1424787314}
2015-02-24T09:15:14.79-0500 [API/2] OUT App instance exited with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 payload: {"cc_partition"=>"default", "droplet"=>"6710b001-87ee-469a-b7fd-7fb8730042b6", "version"=>"5b972dfb-f4ef-4ec0-bd72-52944f2e3a01", "instance"=>"bc768ea8308245f1baf2675093fabbe2", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1424787314}
2015-02-24T09:16:00.80-0500 [DEA/56] OUT Starting app instance (index 0) with guid 6710b001-87ee-469a-b7fd-7fb8730042b6
2015-02-24T09:16:18.28-0500 [API/2] OUT App instance exited with guid 6710b001-87ee-469a-b7fd-7fb8730042b6 payload: {"cc_partition"=>"default", "droplet"=>"6710b001-87ee-469a-b7fd-7fb8730042b6", "version"=>"5b972dfb-f4ef-4ec0-bd72-52944f2e3a01", "instance"=>"5aaea7a3b71845d691b8cfcfa56aa363", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"app instance exited", "crash_timestamp"=>1424787378}
cf env cfrocketchat
Getting env variables for app cfrocketchat in org [email protected] / space testchat as [email protected]...
OK
System-Provided:
{
"VCAP_SERVICES": {
"mongodb-2.4": [
{
"credentials": {
"db": "db",
"host": "50.23.230.136",
"hostname": "50.23.230.136",
"name": "6454ca24-aa2b-484d-b6a7-1cfad16284d0",
"password": "7d89f59d-1d15-472a-9802-8ce0e4e45948",
"port": 10129,
"url": "mongodb://4f070b0a-10e9-43c9-aeba-49c5e6b40374:[email protected]:10129/db",
"username": "4f070b0a-10e9-43c9-aeba-49c5e6b40374"
},
"label": "mongodb-2.4",
"name": "cfrocket-mongo",
"plan": "100",
"tags": [
"nosql",
"document",
"mongodb",
"data_management",
"ibm_experimental"
]
}
]
}
}
{
"VCAP_APPLICATION": {
"application_id": "dcae7231-5e89-4cd5-9aae-c3574ac10168",
"application_name": "cfrocketchat",
"application_uris": [
"cfrocketchat.mybluemix.net"
],
"application_version": "93a8d9f7-2fdd-4c1c-904d-189ab4ca07e7",
"limits": {
"disk": 1024,
"fds": 16384,
"mem": 512
},
"name": "cfrocketchat",
"space_id": "090bbc56-69fc-4842-aa62-6783f89bdb2d",
"space_name": "testchat",
"uris": [
"cfrocketchat.mybluemix.net"
],
"users": null,
"version": "93a8d9f7-2fdd-4c1c-904d-189ab4ca07e7"
}
}
User-Provided:
MONGO_URL: mongodb://4f070b0a-10e9-43c9-aeba-49c5e6b40374:[email protected]:10129/db
ROOT_URL: https://cfrocketchat.mybluemix.net/
Running Environment Variable Groups:
BLUEMIX_REGION: ibm:yp:us-south
Staging Environment Variable Groups:
BLUEMIX_REGION: ibm:yp:us-south
cf push cfrocketchat -m 512M -b https://github.com/ind1go/bluemix-buildpack-meteor.git
-----> Downloaded app package (5.4M)
-----> Downloaded app buildpack cache (456K)
Cloning into '/tmp/buildpacks/bluemix-buildpack-meteor'...
No version of Node.js specified in nodeversion, using '0.10.*'
-----> Resolving engine versions
Using Node.js version: 0.10.44
-----> Fetching Node.js binaries
- downloading and extracting node from http://nodejs.org/dist/v0.10.44/node-v0.10.44-linux-x64.tar.gz
Installing meteor
Downloading Meteor distribution
Meteor 1.3.2.4 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.
This may prompt for your password.
sudo: no tty present and no askpass program specified
Couldn't write the launcher script. Please either:
(1) Run the following as root:
cp "/tmp/node-meteor-dpXW/.meteor/packages/meteor-tool/1.3.2_4/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
(2) Add "$HOME/.meteor" to your path, or
(3) Rerun this command to try again.
Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
Meteor installed
Ignoring build of mobile platforms
Building meteor bundle
/tmp/node-meteor-dpXW/.meteor/packages/meteor-tool/.1.3.2_4.10vjklo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:116
throw error;
^
Error: ENOSPC, open '/tmp/node-meteor-dpXW/.meteor/packages/meteor-tool/.build125293..1.1.10.eiagoy++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/tests/organizations.js'
Installing meteor bundle
/tmp/buildpacks/bluemix-buildpack-meteor/bin/compile: line 127: cd: /tmp/staged/app/.meteor/meteor_build/app/bundle/programs/server: No such file or directory
Staging failed: Buildpack compilation step failed
FAILED
BuildpackCompileFailed
cf logs cfrocketchat --recent
Connected, dumping recent logs for app cfrocketchat in org [email protected] / space testchat as [email protected]...
2016-04-29T08:07:44.99+0900 [API/2] OUT Updated app with guid dcae7231-5e89-4cd5-9aae-c3574ac10168 ({"state"=>"STOPPED"})
2016-04-29T08:07:59.37+0900 [DEA/52] OUT Got staging request for app with id dcae7231-5e89-4cd5-9aae-c3574ac10168
2016-04-29T08:08:06.96+0900 [API/1] OUT Updated app with guid dcae7231-5e89-4cd5-9aae-c3574ac10168 ({"state"=>"STARTED"})
2016-04-29T08:08:07.59+0900 [STG/52] OUT -----> Downloaded app package (5.4M)
2016-04-29T08:08:07.82+0900 [STG/52] OUT -----> Downloaded app buildpack cache (456K)
2016-04-29T08:08:08.40+0900 [STG/0] ERR Cloning into '/tmp/buildpacks/bluemix-buildpack-meteor'...
2016-04-29T08:08:09.32+0900 [STG/0] OUT -----> Resolving engine versions
2016-04-29T08:08:09.33+0900 [STG/0] OUT No version of Node.js specified in nodeversion, using '0.10.*'
2016-04-29T08:08:09.79+0900 [STG/0] OUT Using Node.js version: 0.10.44
2016-04-29T08:08:09.81+0900 [STG/0] OUT -----> Fetching Node.js binaries
2016-04-29T08:08:09.82+0900 [STG/0] OUT - downloading and extracting node from http://nodejs.org/dist/v0.10.44/node-v0.10.44-linux-x64.tar.gz
2016-04-29T08:08:10.70+0900 [STG/0] OUT Installing meteor
2016-04-29T08:08:10.94+0900 [STG/0] ERR Downloading Meteor distribution
2016-04-29T08:08:54.05+0900 [STG/0] ERR Meteor 1.3.2.4 has been installed in your home directory (~/.meteor).
2016-04-29T08:08:54.05+0900 [STG/0] ERR Writing a launcher script to /usr/local/bin/meteor for your convenience.
2016-04-29T08:08:54.05+0900 [STG/0] ERR This may prompt for your password.
2016-04-29T08:08:54.07+0900 [STG/0] ERR sudo: no tty present and no askpass program specified
2016-04-29T08:08:54.07+0900 [STG/0] ERR Couldn't write the launcher script. Please either:
2016-04-29T08:08:54.07+0900 [STG/0] ERR (1) Run the following as root:
2016-04-29T08:08:54.07+0900 [STG/0] ERR cp "/tmp/node-meteor-dpXW/.meteor/packages/meteor-tool/1.3.2_4/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
2016-04-29T08:08:54.07+0900 [STG/0] ERR (2) Add "$HOME/.meteor" to your path, or
2016-04-29T08:08:54.07+0900 [STG/0] ERR (3) Rerun this command to try again.
2016-04-29T08:08:54.07+0900 [STG/0] ERR Then to get started, take a look at 'meteor --help' or see the docs at
2016-04-29T08:08:54.07+0900 [STG/0] ERR docs.meteor.com.
2016-04-29T08:08:54.08+0900 [STG/0] OUT Meteor installed
2016-04-29T08:08:54.08+0900 [STG/0] OUT Ignoring build of mobile platforms
2016-04-29T08:08:54.09+0900 [STG/0] OUT Building meteor bundle
2016-04-29T08:11:44.54+0900 [STG/0] OUT /tmp/node-meteor-dpXW/.meteor/packages/meteor-tool/.1.3.2_4.10vjklo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:116
2016-04-29T08:11:44.54+0900 [STG/0] OUT throw error;
2016-04-29T08:11:44.54+0900 [STG/0] OUT ^
2016-04-29T08:11:44.54+0900 [STG/0] OUT Error: ENOSPC, open '/tmp/node-meteor-dpXW/.meteor/packages/meteor-tool/.build125293..1.1.10.eiagoy++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/tests/organizations.js'
2016-04-29T08:11:44.63+0900 [STG/0] OUT Installing meteor bundle
2016-04-29T08:11:44.63+0900 [STG/0] ERR /tmp/buildpacks/bluemix-buildpack-meteor/bin/compile: line 127: cd: /tmp/staged/app/.meteor/meteor_build/app/bundle/programs/server: No such file or directory
2016-04-29T08:11:44.64+0900 [STG/0] OUT Staging failed: Buildpack compilation step failed
2016-04-29T08:11:44.90+0900 [API/1] ERR encountered error: App staging failed in the buildpack compile phase
Hi all, I have just made a new meteor app (meteor version 1.2.0.2) with meteor create. Then, I create a Mongolab service and bind that service to my Bluemix app. However, when I try to push my app with
cf push appname -b https://github.com/ind1go/bluemix-buildpack-meteor.git
I get this error:
`2015-10-16T02:48:51.47-0700 [API/2] OUT Updated app with guid 794df525-db19-4a9c-a294-1767231c2acf ({"name"=>"appname", "buildpack"=>"https://github.com/ind1go/bluemix-buildpack-meteor.git"})
2015-10-16T02:49:09.20-0700 [API/2] OUT Updated app with guid 794df525-db19-4a9c-a294-1767231c2acf ({"state"=>"STOPPED"})
2015-10-16T02:49:12.15-0700 [DEA/35] OUT Got staging request for app with id 794df525-db19-4a9c-a294-1767231c2acf
2015-10-16T02:49:19.30-0700 [API/8] OUT Updated app with guid 794df525-db19-4a9c-a294-1767231c2acf ({"state"=>"STARTED"})
2015-10-16T02:49:19.45-0700 [STG/35] OUT -----> Downloaded app package (4.0K)
2015-10-16T02:49:19.70-0700 [STG/35] OUT -----> Downloaded app buildpack cache (636K)
2015-10-16T02:49:19.84-0700 [STG/0] ERR Cloning into '/tmp/buildpacks/bluemix-buildpack-meteor'...
2015-10-16T02:49:20.82-0700 [STG/0] OUT -----> Resolving engine versions
2015-10-16T02:49:20.83-0700 [STG/0] OUT No version of Node.js specified in nodeversion, using '0.10.*'
2015-10-16T02:49:21.29-0700 [STG/0] OUT Using Node.js version: 0.10.40
2015-10-16T02:49:21.31-0700 [STG/0] OUT -----> Fetching Node.js binaries
2015-10-16T02:49:21.32-0700 [STG/0] OUT - downloading and extracting node from http://nodejs.org/dist/v0.10.40/node-v0.10.40-linux-x64.tar.gz
2015-10-16T02:49:22.02-0700 [STG/0] OUT Installing meteor
2015-10-16T02:49:22.42-0700 [STG/0] ERR Downloading Meteor distribution
2015-10-16T02:49:22.60-0700 [STG/0] ERR curl: (22) The requested URL returned error: 404 Not Found
2015-10-16T02:49:22.61-0700 [STG/0] ERR gzip: stdin: unexpected end of file
2015-10-16T02:49:22.61-0700 [STG/0] ERR tar: Child returned status 1
2015-10-16T02:49:22.61-0700 [STG/0] ERR tar: Error is not recoverable: exiting now
2015-10-16T02:49:22.61-0700 [STG/0] ERR Installation failed.
2015-10-16T02:49:22.62-0700 [STG/0] OUT Meteor installed
2015-10-16T02:49:22.62-0700 [STG/0] OUT Ignoring build of mobile platforms
2015-10-16T02:49:22.63-0700 [STG/0] OUT Building meteor bundle
2015-10-16T02:49:22.64-0700 [STG/0] OUT /tmp/buildpacks/bluemix-buildpack-meteor/bin/compile: line 124: /tmp/node-meteor-sCws/.meteor/meteor: No such file or directory
2015-10-16T02:49:22.65-0700 [STG/0] OUT Installing meteor bundle
2015-10-16T02:49:22.65-0700 [STG/0] ERR /tmp/buildpacks/bluemix-buildpack-meteor/bin/compile: line 127: cd: /tmp/staged/app/.meteor/meteor_build/app/bundle/programs/server: No such file or directory
2015-10-16T02:49:22.66-0700 [STG/0] OUT Staging failed: Buildpack compilation step failed
2015-10-16T02:49:22.84-0700 [API/8] ERR encountered error: App staging failed in the buildpack compile phase`
Any ideas why this is happening? Thanks!
The deployment seems to insist on using Meteor 1.2.1. Can we have it so that the deployed version will exactly match the version of the app being deployed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.