2012-07-18 46 views
6

当我试图推动一个更新的Heroku在我的PHP应用程序之一,我得到以下问题:Heroku的推:gzip的标准输入不是gzip格式

Counting objects: 25, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 1.20 KiB, done.
Total 13 (delta 10), reused 0 (delta 0)

-----> Heroku receiving push
-----> Fetching custom buildpack... done
-----> PHP app detected
-----> Run Sitebase buildpack
-----> Bundling Apache version 2.2.22

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
! Heroku push rejected, failed to compile Php app

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

从未有过这个问题之前,所以我完全不要”不知道问题是什么。 这可能是Heroku方面的一个bug吗?

如果我看在Heroku的日志,我也看到了下面一行:

Slug compilation failed: failed to compile Php app

所有帮助是值得欢迎的。

回答

3

我的例子,我有这个问题,它似乎是一个Heroku问题。对我来说,只需等待10分钟左右就可以完成。