简体   繁体   English

多buildpack无法正常工作

[英]multi buildpack not working heroku

I already have a server setup and the build pack is working... I am trying to setup a new server the same exact way but the build pack isn't working correctly. 我已经有服务器设置,并且构建包正在运行...我正尝试以完全相同的方式设置新服务器,但构建包无法正常运行。

The build pack I am using is this https://github.com/ddollar/heroku-buildpack-multi.git 我正在使用的构建包是这个https://github.com/ddollar/heroku-buildpack-multi.git

When I push a commit to the old server is looks like this 当我将提交推送到旧服务器时,看起来像这样

remote: -----> Fetching custom git buildpack... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/cyberdelia/heroku-geo-buildpack.git
remote: =====> Detected Framework: geos/gdal/proj
remote:        Using geos version: 3.4.2
remote:        Using gdal version: 1.11.1
remote:        Using proj version: 4.8.0_1
remote: -----> Vendoring geo libraries done
remote: =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-python
remote: =====> Detected Framework: Python
remote: -----> Installing dependencies with pip

but when I push to the new server it looks like this and doesn't use the correct build packs ( https://github.com/cyberdelia/heroku-geo-buildpack.git and https://github.com/heroku/heroku-buildpack-python ) 但是当我推送到新服务器时,它看起来像这样,并且没有使用正确的构建包( https://github.com/cyberdelia/heroku-geo-buildpack.githttps://github.com/heroku/ heroku-buildpack-python

remote: -----> Fetching custom git buildpack... done
remote: -----> geos/gdal/proj app detected
remote:        Using geos version: 3.4.2
remote:        Using gdal version: 1.11.1
remote:        Using proj version: 4.8.0_1
remote: -----> Fetching and vendoring geos
remote: -----> Fetching and vendoring gdal
remote: -----> Fetching and vendoring proj
remote: -----> Vendoring geo libraries done
remote: -----> Discovering process types
remote:        Procfile declares types -> web

is this maybe because I am using different versions of the build pack on each server since I didn't specify the version on github? 这可能是因为我没有在github上指定版本,所以我在每个服务器上使用了不同版本的构建包? If this is the case how do I know which version I am using on the old server so I can correctly setup the new server?... The new server definitely isn't working and hasn't even installed pip. 如果是这种情况,我怎么知道我在旧服务器上使用的版本,以便我可以正确地设置新服务器?...新服务器肯定无法正常工作,甚至没有安装pip。

Heroku现在具有一流的multibuildpack支持-请参阅https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM