Open AragonSnow opened 4 years ago
请问build3工具链那里一直提示失败启动不了提示这个怎么解决呀
` Installing HTTPD HTTPD 2.4.43 Downloaded [https://buildpacks.cloudfoundry.org/dependencies/httpd/httpd_2.4.43_linux_x64_cflinuxfs3_59c67ff8.tgz] to [/tmp] Warning: PHP_EXTENSIONS in options.json is deprecated. See: http://docs.cloudfoundry.org/buildpacks/php/gsg-php-config.html Traceback (most recent call last): File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/scripts/compile.py", line 59, in
.from_build_pack('lib/additional_commands') File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/build_pack_utils/builder.py", line 212, in extensions Installing PHP process_extension(path, ctx, 'compile', process, args=[self]) File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/build_pack_utils/utils.py", line 69, in process_extension success(getattr(extn, to_call)(*args)) File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/extension_helpers.py", line 48, in extension_helper_wrapper return getattr(inst, 'compile')(install) File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/extension_helpers.py", line 154, in compile self._compile(install) File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/php/extension.py", line 133, in _compile validate_php_version(ctx) File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/compile_helpers.py", line 91, in validate_php_version if ctx['PHP_VERSION'] in ctx['ALL_PHP_VERSIONS']: File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/build_pack_utils/utils.py", line 151, in getitem return self.format(dict.getitem(self, key)) File "/tmp/buildpacks/637bcde398da6332a77b7eab0e3f378b/lib/build_pack_utils/utils.py", line 142, in format val = val.format(**self) KeyError: u'PHP_71_LATEST' Failed to compile droplet: Failed to run finalize script: exit status 1 Exit status 223 Cell 906154b9-4a90-45b3-aff1-1c92641d9b07 stopping instance 6df0709c-859a-4aa8-8741-af862dcf6fb6 Cell 906154b9-4a90-45b3-aff1-1c92641d9b07 destroying container for instance 6df0709c-859a-4aa8-8741-af862dcf6fb6 Error staging application: App staging failed in the buildpack compile phase FAILED
Finished: FAILED`
@villainousx 应该是cloudfoundry的manifest.yml参数改了。不过现在oneindex作者都删库了,也没维护的必要了。有兴趣可以参考一下onelist-go-cf的配置吧https://hexo.aragon.wang/2020/01/11/IBMCloud%E9%83%A8%E7%BD%B2OneList-Go/
https://hexo.aragon.wang/2019/12/14/IBMCLoud-Cloud-Foundry-%E9%83%A8%E7%BD%B2Oneindex%E6%95%99%E7%A8%8B/
原因IBMCloud 使用邮箱注册即可使用 CloudFoundry 挂载 Oneindex,每月375GB流量,简单实用,白嫖方便。 准备IBMCloud 注册账号,邮箱注册即可,地址:https://cloud.ibm.com/loginOneDrive 账号,获取教程:https://saodaye.com/sharel/1951.html 部署教程1. 创建项目登陆账号成功后选择左边栏的的