0

我已经准备好应用程序,但是当我部署时,我在 heroku 和 cloud Foundry 中遇到错误部署

使用的宝石是:event_calender authlogic

错误:云铸造

wafuser@wafuser-VirtualBox:~/Documents/backups/backupnew/ecommerce$ vmc push
Would you like to deploy from the current directory? [Yn]: y
Application Name: shiva108
Detected a Rails Application, is this correct? [Yn]: y
Application Deployed URL [shiva108.cloudfoundry.com]: 
Memory reservation (128M, 256M, 512M, 1G, 2G) [256M]: 
How many instances? [1]: 1
Create services to bind to 'shiva108'? [yN]: y
1: mongodb
2: mysql
3: postgresql
4: rabbitmq
5: redis
What kind of service?: 2
Specify the name of the service [mysql-ceaf3]: 
Create another? [yN]: n
Would you like to save this configuration? [yN]: n
Creating Application: OK
Creating Service [mysql-ceaf3]: OK
Binding Service [mysql-ceaf3]: OK
Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (192K): OK   
Push Status: OK
Staging Application 'shiva108': OK                                              
Starting Application 'shiva108': .
Error: Application [shiva108] failed to start, logs information below.

====> /logs/migration.log <====

谁能为我的问题提出解决方案

4

2 回答 2

2

尝试使用以下命令:

vmc logs <app-name>

这将为您提供所需的日志。

于 2013-01-14T22:13:31.483 回答
0

尝试使用此命令:

赫罗库:

$ heroku logs

云铸造:

$ vmc files shiva108 logs/stderr.log
于 2012-09-08T00:32:51.100 回答