Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
deploy using git(hub) hook fails
{
"_id": "7bc5f2eeb3d961c6a98bb6f9301d1941",
"_rev": "2-bee03f3e6c0d52a8adbad9fc08f5e2e1",
"status": "fail",
"payload": {
"ref": "refs/heads/master",
"after": "37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"before": "23cc1a47a64eafef9564a85e097aec82ca506ac4",
"created": false,
"deleted": false,
"forced": false,
"compare": "https://github.com/gr2m/hoodie-minutes/compare/23cc1a47a64e...37314b9f3c9a",
"commits": [
{
"id": "a7ba50a8c4ef1bf8686204dd6142257e04ad74f1",
"distinct": true,
"message": "hoodie-plugin-email dependency version dump",
"timestamp": "2013-11-04T02:12:34-08:00",
"url": "https://github.com/gr2m/hoodie-minutes/commit/a7ba50a8c4ef1bf8686204dd6142257e04ad74f1",
"author": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"committer": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"added": [],
"removed": [],
"modified": [
"package.json"
]
},
{
"id": "adb7ea1dd48401c624c7dc5c9a7a2887eb3526a9",
"distinct": true,
"message": "fixes #51",
"timestamp": "2013-11-04T02:25:26-08:00",
"url": "https://github.com/gr2m/hoodie-minutes/commit/adb7ea1dd48401c624c7dc5c9a7a2887eb3526a9",
"author": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"committer": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"added": [],
"removed": [],
"modified": [
"app/scripts/controllers/mailer/meeting.coffee",
"app/scripts/controllers/offline_bar.coffee",
"app/scripts/models/mail.coffee",
"app/scripts/models/meeting.coffee"
]
},
{
"id": "37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"distinct": true,
"message": "recover unauthenticated account that gets backed up from 1st localStorage migration",
"timestamp": "2013-11-04T03:01:02-08:00",
"url": "https://github.com/gr2m/hoodie-minutes/commit/37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"author": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"committer": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"added": [
"app/scripts/lib/migrations/2013-11-04_recover_unauthenticated_account.coffee"
],
"removed": [
"test/spec/migrations/fixtures/target/gregors_account.coffee copy"
],
"modified": [
"app/index.html",
"app/scripts/lib/migrator.coffee",
"www/manifest.appcache",
"www/scripts/app.js",
"www/scripts/vendor.js",
"www/scripts/views.js"
]
}
],
"head_commit": {
"id": "37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"distinct": true,
"message": "recover unauthenticated account that gets backed up from 1st localStorage migration",
"timestamp": "2013-11-04T03:01:02-08:00",
"url": "https://github.com/gr2m/hoodie-minutes/commit/37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"author": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"committer": {
"name": "Gregor Martynus",
"email": "gregor@martynus.net",
"username": "gr2m"
},
"added": [
"app/scripts/lib/migrations/2013-11-04_recover_unauthenticated_account.coffee"
],
"removed": [
"test/spec/migrations/fixtures/target/gregors_account.coffee copy"
],
"modified": [
"app/index.html",
"app/scripts/lib/migrator.coffee",
"www/manifest.appcache",
"www/scripts/app.js",
"www/scripts/vendor.js",
"www/scripts/views.js"
]
},
"repository": {
"id": 6815757,
"name": "hoodie-minutes",
"url": "https://github.com/gr2m/hoodie-minutes",
"description": "",
"watchers": 0,
"stargazers": 0,
"forks": 1,
"fork": false,
"size": 23660,
"owner": {
"name": "gr2m",
"email": "gregor@martynus.net"
},
"private": true,
"open_issues": 10,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"language": "CoffeeScript",
"created_at": 1353600677,
"pushed_at": 1383562871,
"master_branch": "master"
},
"pusher": {
"name": "gr2m",
"email": "gregor@martynus.net"
},
"ref_name": "master"
},
"uuid": "577snd1383562871961",
"non_fatal_errors": {
"travis": {
"message": "Unspecified error",
"stack": "Error: Failed to fetch `.travis.yml`. Is this a private repo?\n at Request._callback (/opt/run/snapshot/package/lib/github.js:160:23)\n at Request.self.callback (/opt/run/snapshot/package/node_modules/request/request.js:129:22)\n at Request.EventEmitter.emit (events.js:98:17)\n at Request.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:873:14)\n at Request.EventEmitter.emit (events.js:117:20)\n at IncomingMessage.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:824:12)\n at IncomingMessage.EventEmitter.emit (events.js:117:20)\n at _stream_readable.js:920:16\n at process._tickCallback (node.js:415:13)",
"name": "Error",
"error": "deploy:travis:parse_payload",
"description": "Failed to fetch `.travis.yml`. Is this a private repo?",
"stacktrace": [
"Error: Failed to fetch `.travis.yml`. Is this a private repo?",
" at Request._callback (/opt/run/snapshot/package/lib/github.js:160:23)",
" at Request.self.callback (/opt/run/snapshot/package/node_modules/request/request.js:129:22)",
" at Request.EventEmitter.emit (events.js:98:17)",
" at Request.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:873:14)",
" at Request.EventEmitter.emit (events.js:117:20)",
" at IncomingMessage.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:824:12)",
" at IncomingMessage.EventEmitter.emit (events.js:117:20)",
" at _stream_readable.js:920:16",
" at process._tickCallback (node.js:415:13)"
]
},
"nodejitsu": {
"message": "Unspecified error",
"stack": "Error: Request failed\n at Request._callback (/opt/run/snapshot/package/lib/nodejitsu.js:72:31)\n at Request.self.callback (/opt/run/snapshot/package/node_modules/request/request.js:129:22)\n at Request.EventEmitter.emit (events.js:98:17)\n at Request.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:873:14)\n at Request.EventEmitter.emit (events.js:117:20)\n at IncomingMessage.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:824:12)\n at IncomingMessage.EventEmitter.emit (events.js:117:20)\n at _stream_readable.js:920:16\n at process._tickCallback (node.js:415:13)",
"name": "Error",
"reason": "Error Creating Nodejitsu App!",
"error": "deploy:nodejitsu:cant_create_app",
"nodejitsu": {
"err": {
"message": "Application already exists"
},
"status_code": 409
},
"description": "Request failed",
"stacktrace": [
"Error: Request failed",
" at Request._callback (/opt/run/snapshot/package/lib/nodejitsu.js:72:31)",
" at Request.self.callback (/opt/run/snapshot/package/node_modules/request/request.js:129:22)",
" at Request.EventEmitter.emit (events.js:98:17)",
" at Request.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:873:14)",
" at Request.EventEmitter.emit (events.js:117:20)",
" at IncomingMessage.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:824:12)",
" at IncomingMessage.EventEmitter.emit (events.js:117:20)",
" at _stream_readable.js:920:16",
" at process._tickCallback (node.js:415:13)"
]
}
},
"created_at": "Mon Nov 04 2013 11:01:11 GMT+0000 (UTC)",
"epoch": {
"created_at": 1383562871996,
"rendered_at": 1383563053908
},
"github": {
"branch": "master",
"owner": "gr2m",
"repo": "hoodie-minutes",
"slug": "gr2m/hoodie-minutes",
"commit": "37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"provider": "github",
"token": "25038b9cadb5cb2d89fe6b57142911639ef7e7d8"
},
"parsedPayload": {
"branch": "master",
"owner": "gr2m",
"repo": "hoodie-minutes",
"slug": "gr2m/hoodie-minutes",
"commit": "37314b9f3c9a9b89e77bdb00eb868268aeaac8f5",
"provider": "github",
"token": "25038b9cadb5cb2d89fe6b57142911639ef7e7d8"
},
"couch": {
"ok": true,
"id": "7bc5f2eeb3d961c6a98bb6f9301d1941",
"rev": "1-abf85b911ee7a182ca600f5f076e84a4"
},
"package.json": {
"name": "hoodie-minutes",
"version": "1.0.0-16",
"type": "app",
"hoodie": {
"plugins": [
"hoodie-plugin-appconfig",
"hoodie-plugin-email",
"hoodie-plugin-users"
],
"hoodiejs": "node_modules/hoodie/dist/hoodie.js"
},
"dependencies": {
"hoodie": "git://github.com/gr2m/hoodie.js.git",
"hoodie-server": "~0.8.12",
"hoodie-plugin-appconfig": "~0.1.0",
"hoodie-plugin-email": "~0.1.2",
"hoodie-plugin-users": "0.0.9"
},
"devDependencies": {
"grunt": "~0.4.0",
"grunt-contrib-copy": "~0.4.0",
"grunt-contrib-concat": "~0.1.2",
"grunt-contrib-coffee": "~0.4.0",
"grunt-contrib-uglify": "~0.1.1",
"grunt-contrib-compass": "~0.1.2",
"grunt-contrib-cssmin": "~0.4.1",
"grunt-contrib-connect": "0.1.2",
"grunt-contrib-clean": "0.4.0",
"grunt-contrib-htmlmin": "0.1.1",
"grunt-contrib-imagemin": "0.1.2",
"grunt-contrib-livereload": "0.1.1",
"grunt-usemin": "~0.1.9",
"grunt-regarde": "~0.1.1",
"grunt-mocha": "~0.2.2",
"grunt-open": "~0.2.0",
"matchdep": "~0.1.1",
"grunt-casperjs": "",
"grunt-contrib-jasmine": "~0.3.3",
"grunt-eco": "git://github.com/gr2m/grunt-eco.git#hacks",
"grunt-manifest": "~0.4",
"grunt-coffeelint": "0.0.7",
"grunt-hoodie": "git://github.com/gr2m/grunt-hoodie.git",
"grunt-connect-proxy": "~0.1.5",
"request": "~2.27",
"grunt-text-replace": "~0.3.7"
},
"scripts": {
"start": "node node_modules/hoodie-server/bin/start"
},
"subdomain": "hoodie-minutes",
"domains": [
"minutes.io",
"admin.hoodie.minutes.io",
"*.minutes.io"
],
"engines": {
"node": "0.10.x"
},
"repository": "git@github.com:gr2m/hoodie-minutes.git"
},
"app_name": "hoodie-minutes",
"rendered_at": "Mon Nov 04 2013 11:04:13 GMT+0000 (UTC)",
"status_code": 201,
"err": {
"message": "Unspecified error",
"stack": "Error: Request failed\n at Request._callback (/opt/run/snapshot/package/lib/nodejitsu.js:72:31)\n at Request.self.callback (/opt/run/snapshot/package/node_modules/request/request.js:129:22)\n at Request.EventEmitter.emit (events.js:98:17)\n at Request.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:873:14)\n at Request.EventEmitter.emit (events.js:117:20)\n at IncomingMessage.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:824:12)\n at IncomingMessage.EventEmitter.emit (events.js:117:20)\n at _stream_readable.js:920:16\n at process._tickCallback (node.js:415:13)",
"name": "Error",
"versions": {
"env": "production",
"node": {
"http_parser": "1.0",
"node": "0.10.21",
"v8": "3.14.5.9",
"ares": "1.9.0-DEV",
"uv": "0.10.18",
"zlib": "1.2.3",
"modules": "11",
"openssl": "1.0.1e"
},
"api": "1.8.2"
},
"uuid": "577snd1383562871961",
"reason": "Error starting app in nodejitsu",
"error": "deploy:nodejitsu:start_app",
"status_code": 201,
"nodejitsu": {
"err": {
"message": "Errors occured while starting the application",
"stack": "Error: Errors occured while starting the application\n at onStarted (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:803:16)\n at respond (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:516:14)\n at retry (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:526:14)\n at AppController._startDrone.server (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:572:7)\n at _asyncMap (/root/nodejitsu/node_modules/async/lib/async.js:226:13)\n at async.eachSeries.iterate (/root/nodejitsu/node_modules/async/lib/async.js:136:25)\n at _asyncMap (/root/nodejitsu/node_modules/async/lib/async.js:223:17)\n at async.series.results (/root/nodejitsu/node_modules/async/lib/async.js:550:34)\n at Servers.free (/root/nodejitsu/node_modules/conservatory-api/lib/client/servers.js:89:5)\n at Request.onComplete [as _callback] (/root/nodejitsu/node_modules/conservatory-api/lib/client/client.js:161:7)",
"errors": [
{
"message": "solenoid exited with code 1",
"stack": "Error: solenoid exited with code 1\n at ChannelStream.exports.start (/root/nodejitsu/node_modules/nodejitsu-drone/lib/nodejitsu-drone/drone.js:82:31)\n at ChannelStream.EventEmitter.emit [as _emit] (events.js:96:17)\n at ChannelStream.emit (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Channel.js:547:12)\n at Parser.<anonymous> (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Channel.js:134:22)\n at Parser.EventEmitter.emit (events.js:96:17)\n at Parser.parseChRequest (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:360:10)\n at Parser.parsePacket (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:597:12)\n at Parser.execute (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:221:14)\n at Socket.Connection.connect._sock.once.err.level (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Connection.js:1332:18)",
"name": "Error",
"solenoid": "info: Running start for app.\ninfo: Cleaning /opt/run\ninfo: Fetching application snapshot...\ninfo: Application snapshot fetched.\ninfo: Unpacking snapshot...\ninfo: Reading `package.json`...\ninfo: Starting application...\ninfo: Spawn: start --min-uptime 2000 -o /opt/run/forza.log -- forza -h multiplex.nodejitsu.com -p 8556 --start-log /opt/run/start.log --app-user gr2m --app-name hoodie-minutes -- node node_modules/hoodie-server/bin/start\ninfo: `aeternum` pid: 26251\ninfo: Writing pidfile: /root/app.pid\ninfo: Tailing forza log: /opt/run/start.log\ninfo: Tail closing..\ninfo: Retry # 1 with 1000ms interval\ninfo: Tailing forza log: /opt/run/start.log\n\ntimers.js:103\n if (!process.listeners('uncaughtException').length) throw e;\n ^\nError: spawn ENOMEM\n at errnoException (child_process.js:855:11)\n at ChildProcess.spawn (child_process.js:802:11)\n at exports.spawn (child_process.js:626:9)\n at tailLog (/opt/local/lib/node_modules/solenoid/lib/solenoid.js:473:18)\n at /opt/local/lib/node_modules/solenoid/lib/solenoid.js:468:15\n at delay (/opt/local/lib/node_modules/solenoid/node_modules/back/index.js:39:5)\n at Timer.list.ontimeout (timers.js:101:19)\n",
"blame": "solenoid"
}
]
},
"status_code": 500
},
"description": "Unspecified error",
"stacktrace": [
"Error: Request failed",
" at Request._callback (/opt/run/snapshot/package/lib/nodejitsu.js:72:31)",
" at Request.self.callback (/opt/run/snapshot/package/node_modules/request/request.js:129:22)",
" at Request.EventEmitter.emit (events.js:98:17)",
" at Request.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:873:14)",
" at Request.EventEmitter.emit (events.js:117:20)",
" at IncomingMessage.<anonymous> (/opt/run/snapshot/package/node_modules/request/request.js:824:12)",
" at IncomingMessage.EventEmitter.emit (events.js:117:20)",
" at _stream_readable.js:920:16",
" at process._tickCallback (node.js:415:13)"
]
},
"etc": {
"user": "gr2m",
"http_headers": {
"host": "webhooks.nodejitsu.com",
"accept": "*/*",
"user-agent": "GitHub Hookshot 8abde1a",
"content-type": "application/x-www-form-urlencoded",
"content-length": "4922",
"x-forwarded-for": "192.30.252.48",
"x-forwarded-port": "44760",
"x-forwarded-proto": "https",
"connection": "keep-alive"
},
"uuid": "577snd1383562871961",
"email": "g@minutes.io"
},
"email": {
"success": true,
"errors": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.