kandanapp / kandan

Kandan is an Open Source Alternative to HipChat
GNU Affero General Public License v3.0
2.71k stars 405 forks source link

Trying to deploy kandan over cloud foundry #426

Open narendrachoudhary opened 9 years ago

narendrachoudhary commented 9 years ago

Hi ,

I am trying to deploy chat application on cloud foundry version 170 and there i am getting the below error :...

Using manifest file /home/rahul/kandan/manifest.yml

Updating app chat in org demo / space demo as demo... OK

Uploading chat... Uploading app files from: /home/rahul/kandan Uploading 17.6M, 7917 files Done uploading
OK

Stopping app chat in org demo / space demo as demo... OK

Starting app chat in org demo / space demo as demo... -----> Downloaded app package (19M) Cloning into '/tmp/buildpacks/heroku-buildpack-ruby'... -----> Compiling Ruby/Rails

FAILED Server error, status code: 400, error code: 170001, message: Staging error: cannot get instances since staging failed

TIP: use 'cf logs chat --recent' for more information root@bosh-clir2:/home/rahul/kandan# cf logs chat --recent Connected, dumping recent logs for app chat in org demo / space demo as demo...

2015-01-28T06:51:46.18+0000 [API] ERR Encountered error: Staging error: failed to stage application: 2015-01-28T06:51:46.18+0000 [API] ERR Script exited with status 1 2015-01-28T06:51:51.37+0000 [STG] ERR /var/vcap/packages/dea_next/buildpacks/lib/installer.rb:19:in compile': Buildpack compilation step failed: (RuntimeError) 2015-01-28T06:51:51.37+0000 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:74:inblock in compile_with_timeout' 2015-01-28T06:51:51.37+0000 [STG] ERR from /usr/lib/ruby/1.9.1/timeout.rb:68:in timeout' 2015-01-28T06:51:51.37+0000 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:73:incompile_with_timeout' 2015-01-28T06:51:51.37+0000 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:54:in block in stage_application' 2015-01-28T06:51:51.37+0000 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:50:inchdir' 2015-01-28T06:51:51.37+0000 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:50:in stage_application' 2015-01-28T06:51:51.37+0000 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/bin/run:10:in

'

narendrachoudhary commented 9 years ago

Could anyone suggest me what should i check to resolve the same.