2013-04-07 51 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

回答