我已经将一个rails 3.1应用程序部署到了Heroku Cedar堆栈,我正在尝试执行:
heroku run rake db:migrate
Run Code Online (Sandbox Code Playgroud)
它返回:
Running console attached to terminal...
Error connecting to process
Run Code Online (Sandbox Code Playgroud)
我也尝试简单地启动控制台:
heroku run console
Run Code Online (Sandbox Code Playgroud)
任何运行命令都会返回相同的错误.
Running console attached to terminal...
Error connecting to process
Run Code Online (Sandbox Code Playgroud)
查看日志我得到错误代码:
2011-09-25T16:04:52+00:00 app[run.2]: Error R13 (Attach error) -> Failed to attach to process
Run Code Online (Sandbox Code Playgroud)
当我heroku ps看到当前进程时,我可以看到我的尝试正在运行:
Process State Command
------------ ------------------ ------------------------------
run.2 complete for 26m bundle exec rails console
run.3 up for 27s bundle exec rails console
run.4 up for 3s bundle exec rake db:create
web.1 up …Run Code Online (Sandbox Code Playgroud) 最近无法使用Heroku连接控制台:
lsoave@ubuntu:~/rails/github/gitwatcher$ heroku run console
Running console attached to terminal...
Timeout awaiting process
lsoave@ubuntu:~/rails/github/gitwatcher$
Run Code Online (Sandbox Code Playgroud)
它会发生在其他人身上吗?