2013-04-07 74 views
5

我已經陷入與heroku混亂。我正在部署一個Wordpress PHP應用程序,並且在主題目錄中基本上有一大堆git repos,加上我從github項目克隆的父主題。我成功地部署了Wordpress,但git忽略了已在其單獨的回購站中跟蹤的主題,因此我回過頭來將主題複製到不同的目錄,以便它們不會被跟蹤,並刪除.git文件夾。git預接收鉤與heroku下降

我的問題是,這樣做後,Heroku的不會讓我做了git push heroku master,但踢回此錯誤消息:

Writing objects: 100% (972/972), 2.73 MiB | 76 KiB/s, done. 
Total 972 (delta 46), reused 0 (delta 0) 


!  Heroku push rejected due to an unrecognized error. 
!  We've been notified, see http://support.heroku.com if the problem persists. 


To [email protected]:....git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:....git' 

我已經試過git pull heroku master,這給了我「已經上到-日期。」我也嘗試添加-f標誌,但這也不起作用。有時會在Heroku內拒絕應用程序。

任何想法?

編輯:

我也試過的建議在這裏:failed to push some refs to [email protected]:myapp.git

包括創建從Heroku的/主一個新的分支,然後立即將其推到Heroku的。它失敗。

+1

我最終刪除了整個heroku應用程序,創建一個新的應用程序,在git中連接遠程並上傳它。似乎工作。不過,我必須重新配置一堆東西,而且數據庫必須重新構建,因此找到一種不這樣做的方法會很好。 – acsmith 2013-04-09 01:56:14

+2

在這個狀態事件中按時間排隊嗎? https://status.heroku.com/incidents/513 – catsby 2013-04-10 19:48:16

+0

是的,雖然是在(4月7日)的前一天下午。非常酷的網站,但是,謝謝你的提示。 – acsmith 2013-04-11 02:35:20

回答