我和这个用户有同样的问题: Cloud Foundry Playframework : Error 310: Staging failed:
我在我的应用程序中添加了一个 mysql 服务。我使用以下命令更新了应用程序:
vmc update app-name --path=dist/my-dist.zip
它回应说更新是好的。当我转到我的应用程序视图时,它说应用程序已停止。当我尝试执行
vmc start app-name
它崩溃并出现相同的错误:
vmc start app-name
Staging Application 'app-name': ...Error 310: Staging failed: 'Staging task failed:
Staging plugin failed: /var/vcap/data/packages/ruby/6.1/lib/ruby/1.9.1/fileutils.rb:1231:in `chmod': No such file or directory - /var/vcap/data/stager/tmp/d20120924-9953-1jfgi5c/staged/app/start (Errno::ENOENT)
from /var/vcap/data/packages/ruby/6.1/lib/ruby/1.9.1/fileutils.rb:1231:in `chmod'
from /var/vcap/data/packages/ruby/6.1/lib/ruby/1.9.1/fileutils.rb:879:in `block in chmod'
from /var/vcap/data/packages/ruby/6.1/lib/ruby/1.9.1/fileutils.rb:878:in `each'
from /var/vcap/data/packages/ruby/6.1/lib/ruby/1.9.1/fileutils.rb:878:in `chmod'
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.63/lib/vcap/staging/plugin/play/plugin.rb:10:in `block in stage_application'
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.63/lib/vcap/staging/plugin/play/plugin.rb:7:in `chdir'
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.63/lib/vcap/staging/plugin/play/plugin.rb:7:in `stage_application'
from /var/vcap/packages/stager/bin/run_plugin:19:in `<main>'