2012-07-18 40 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分鐘左右就可以完成。