我試圖使用靜態文件將更新部署到簡單的HTML應用程序。使用static buildpack,我以前部署了沒有問題的應用程序。由於堆棧不受支持而導致靜態buildpack部署失敗
推應用程序更新,則命令失敗,消息如下:
----> Downloaded app package (4.0K) Cloning into '/tmp/buildpacks/staticfile-buildpack'... Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions' FAILED Server error, status code: 400, error code: 170004, message: App staging failed in the buildpack compile phase
在日誌中尋找的應用,所述平臺由於失敗分期與堆的不兼容。
ERR Cloning into '/tmp/buildpacks/staticfile-buildpack'... OUT Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions' ERR Cloning into 'compile-extensions'... OUT Submodule path 'compile-extensions': checked out '1f260464c156bddfb654adb14298344797d030a1' ERR It looks like you're deploying on a stack that's not supported by this buildpack. ERR That could be because you're using a recent buildpack release on a deprecated stack. ERR If you're using the buildpack installed by your CF admin, please let your admin know you saw this error message. ERR If you at one point specified a buildpack that's at git URL, please make sure you're pointed at a version that supports this stack. OUT Staging failed: Buildpack compilation step failed ERR encountered error: App staging failed in the buildpack compile phase
我該如何解決這個問題?
爲我工作,部署Python/Django應用程序。 – Gocht