Skip to content

Loading…

Newly created Vulcan Build Server crashes and stays crashed. Vulcan build error not helpful. #46

Closed
zettacal opened this Issue · 1 comment

2 participants

@zettacal
  1. vulcan create <app> proceeds with warnings
  2. heroku ps <app> delivers the bad news it's crashed!
  3. Ominous stuff in the logs (see below)

What to do? Switch to heroku-anvil?

$ vulcan create zettacal-vulcan
Creating zettacal-vulcan... done, stack is cedar
http://zettacal-vulcan.herokuapp.com/ | git@heroku.com:zettacal-vulcan.git
Initialized empty Git repository in /private/var/folders/jg/_01lx50x3tngs9br0dkmq_mh0000gn/T/d20130116-16474-m9929k/.git/
Counting objects: 884, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (804/804), done.
Writing objects: 100% (884/884), 1013.10 KiB | 49 KiB/s, done.
Total 884 (delta 83), reused 0 (delta 0)
-----> Node.js app detected
-----> Resolving engine versions
       Using Node.js version: 0.6.20
       Using npm version: 1.1.4
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
       npm WARN coffee-script@1.3.3 package.json: bugs['name'] should probably be bugs['url']
       npm WARN coffee-script@1.3.3 package.json: bugs['name'] should probably be bugs['url']
       npm WARN prefer global nodemon@0.6.18 should be installed with -g
       coffee-script@1.3.3 /tmp/build_2kijj1jv61nrm/node_modules/coffee-script
       connect-form@0.2.0 /tmp/build_2kijj1jv61nrm/node_modules/connect-form
       formidable@1.0.9 /tmp/build_2kijj1jv61nrm/node_modules/connect-form/node_modules/formidable
       cradle@0.6.3 /tmp/build_2kijj1jv61nrm/node_modules/cradle
       follow@0.7.2 /tmp/build_2kijj1jv61nrm/node_modules/cradle/node_modules/follow
       request@2.2.9 /tmp/build_2kijj1jv61nrm/node_modules/cradle/node_modules/follow/node_modules/request
       request@2.9.202 /tmp/build_2kijj1jv61nrm/node_modules/cradle/node_modules/request
       vargs@0.1.0 /tmp/build_2kijj1jv61nrm/node_modules/cradle/node_modules/vargs
       express@2.5.9 /tmp/build_2kijj1jv61nrm/node_modules/express
       connect@1.8.7 /tmp/build_2kijj1jv61nrm/node_modules/express/node_modules/connect
       qs@0.4.2 /tmp/build_2kijj1jv61nrm/node_modules/express/node_modules/qs
       mime@1.2.4 /tmp/build_2kijj1jv61nrm/node_modules/express/node_modules/mime
       formidable@1.0.9 /tmp/build_2kijj1jv61nrm/node_modules/express/node_modules/connect/node_modules/formidable
       mkdirp@0.3.0 /tmp/build_2kijj1jv61nrm/node_modules/express/node_modules/mkdirp
       knox@0.0.9 /tmp/build_2kijj1jv61nrm/node_modules/knox
       node-uuid@1.3.3 /tmp/build_2kijj1jv61nrm/node_modules/node-uuid
       nodemon@0.6.18 /tmp/build_2kijj1jv61nrm/node_modules/nodemon
       restler@2.0.1 /tmp/build_2kijj1jv61nrm/node_modules/restler
       Dependencies installed
-----> Building runtime environment
-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size: 4.1MB
-----> Launching... done, v4
       http://zettacal-vulcan.herokuapp.com deployed to Heroku

To git@heroku.com:zettacal-vulcan.git
 * [new branch]      master -> master

$ heroku ps --app zettacal-vulcan
=== web: `bin/web`
web.1: crashed 2013/01/16 20:34:14 (~ 48s ago)


From the logs:
2013-01-17T04:34:05+00:00 heroku[web.1]: Starting process with command `bin/web`
2013-01-17T04:34:06+00:00 app[web.1]:     at Object.urlParse [as parse] (url.js:92:11)
2013-01-17T04:34:06+00:00 app[web.1]:     at /app/node_modules/coffee-script/lib/coffee-script/command.js:175:29
2013-01-17T04:34:06+00:00 app[web.1]:     at Object.<anonymous> (/app/web.coffee:22:28)
2013-01-17T04:34:06+00:00 app[web.1]:     at /app/node_modules/coffee-script/lib/coffee-script/command.js:150:18
2013-01-17T04:34:06+00:00 app[web.1]:     at Object.run (/app/node_modules/coffee-script/lib/coffee-script/coffee-script.js:79:25)
2013-01-17T04:34:06+00:00 app[web.1]:     at Object.connect (/app/lib/cloudant.coffee:10:22)
2013-01-17T04:34:06+00:00 app[web.1]: TypeError: Parameter 'url' must be a string, not undefined
2013-01-17T04:34:06+00:00 app[web.1]:     at Object.<anonymous> (/app/web.coffee:121:4)
2013-01-17T04:34:06+00:00 app[web.1]:     at Module._compile (module.js:446:26)
2013-01-17T04:34:06+00:00 app[web.1]:     at [object Object].emit (events.js:64:17)
2013-01-17T04:34:06+00:00 app[web.1]:     at [object Object].<anonymous> (fs.js:123:5)
2013-01-17T04:34:07+00:00 heroku[web.1]: State changed from starting to crashed

My gem versions:

  • vulcan 0.8.1
  • heroku 2.32.8

By the way, when I run vulcan build ... the error isn't very helpful. It says Unknown error, no build output given (lib/vulcan/cli.rb:88)

@ddollar

Do heroku addons:add cloudant for the vulcan app. The process is supposed to add it for you but if your account is not verified you might have to take an extra step.

@ddollar ddollar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.