2012-07-01 92 views
2

每次我试图heroku db:push,我得到以下错误:Heroku的DB:推错误

Saving session to push_201207011424.dat.. 
!!! Caught Server Exception 
HTTP CODE: 503 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html> 
    <head> 
     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 
     <style type="text/css"> 
     html, body, iframe { margin: 0; padding: 0; height: 100%; } 
     iframe { display: block; width: 100%; border: none; } 
     </style> 
    <title>Application Error</title></head> 
    </head> 
    <body> 
     <iframe src="//s3.amazonaws.com/heroku_pages/error.html"> 
     <p>Application Error</p> 
     </iframe> 
    </body> 
    </html> 

我绝对不知道为什么会这样。有什么想法吗?

+0

我有完全相同的错误。 Heroku地位说一切都很好。不知道发生了什么事! – banditKing

+0

只是试图再次推动,将会如何更新。 – rctneil

+0

是的,它刚刚工作。 – rctneil

回答

0

尝试如下:

heroku restart 

heroku db:push --confirm <app-name> 
0

您可以在控制台执行以下命令:

heroku logs | tail

那么你的输出类似于:

2016-04-20T10:56:17.509354+00:00 heroku[router]: 
at=error code=H12 desc="Request timeout" method=POST [...] 

指示的错误代码给你更多的见解,你可以在这里查看它:https://devcenter.heroku.com/articles/error-codes