「連接到處理錯誤」我已經部署了軌3.1應用的Heroku雪松堆棧,並正嘗試進行:Heroku的運行控制檯回報
heroku run rake db:migrate
返回:
Running console attached to terminal...
Error connecting to process
我也嘗試啓動控制檯:
heroku run console
任何運行命令都會返回相同的錯誤。
Running console attached to terminal...
Error connecting to process
望着日誌我得到的錯誤代碼:
2011-09-25T16:04:52+00:00 app[run.2]: Error R13 (Attach error) -> Failed to attach to process
當我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 for 46s bundle exec thin start -p $PORT -e..
但同樣他們每個人都在提出例外:
2011-09-25T16:31:47+00:00 app[run.3]: Error R13 (Attach error) -> Failed to attach to process
2011-09-25T16:31:47+00:00 heroku[run.3]: Process exited
2011-09-25T16:31:48+00:00 heroku[run.3]: State changed from up to complete
2011-09-25T16:32:11+00:00 app[run.4]: Error R13 (Attach error) -> Failed to attach to process
2011-09-25T16:32:11+00:00 heroku[run.4]: Process exited
2011-09-25T16:32:12+00:00 heroku[run.4]: State changed from up to complete
服務器管理員不是我的一杯茶,因此決定使用Heroku。
Heroku的文檔和谷歌搜索都沒有讓我走上一條讓我繼續前進的道路。
任何想法?這並不是我在竹堆上的經驗。
我的其他錯誤顯然與DB遷移未執行有關。直到我可以運行rake任務時,我都卡在前進。
有趣..我也有這個問題。 – dmonopoly