将 MeteorJS 应用程序推送到 Heroku 时出现多个 CERT_HAS_EXPIRED 错误

问题描述 投票:0回答:0
问题类型

建造失败

总结

对于遗留的 Meteor 项目,我们过去常常将 git push 到一个 bit bucket 存储库,并使用 CodeShip 的自动化工作流将构建推送到 heroku 应用程序。

最近,我们决定放弃 BitBucket + Codeship 工作流程,直接从我们的本地存储库推送到 Heroku 应用程序。因此,我们将存储库的“远程”路径从 bitbucket 更改为 Heroku。但是当我们推送时,我们面临着多个我们以前从未见过的“CERT_HAS_EXPIRED”错误。有专家在这里分享一些提示可能是错的吗?

.meteor/release
的内容
[email protected]
Buildpack 版本
https://github.com/AdmitHub/meteor-buildpack-horse
日志
remote: Resolving deltas: 100% (178/178), done.
remote: Updated 470 paths from 7b9dba8
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpack: https://github.com/AdmitHub/meteor-buildpack-horse
remote: -----> Node.js app detected
remote: +++ dirname -- /tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/bin/compile
remote: ++ cd -P -- /tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/bin
remote: ++ cd ..
remote: ++ pwd -P
remote: + BUILDPACK_DIR=/tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec
remote: + APP_CHECKOUT_DIR=/tmp/build_24f89da5
remote: + CACHE_DIR=/tmp/codon/tmp/cache
remote: + '[' -n 1 ']'
remote: + echo '-----> Clearing cache dir.'
remote: -----> Clearing cache dir.
remote: + rm -rf '/tmp/codon/tmp/cache/*'
remote: + APP_SOURCE_DIR=/tmp/build_24f89da5
remote: + '[' -n '' ']'
remote: + '[' '!' -d /tmp/build_24f89da5/.meteor ']'
remote: + '[' '!' -d /tmp/build_24f89da5/.meteor ']'
remote: + METEOR_DIR=/tmp/codon/tmp/cache/meteor
remote: + COMPILE_DIR_SUFFIX=.meteor/heroku_build
remote: + COMPILE_DIR=/tmp/build_24f89da5/.meteor/heroku_build
remote: + '[' -z 1 ']'
remote: + mkdir -p /tmp/build_24f89da5 /tmp/codon/tmp/cache/meteor
remote: + mkdir -p /tmp/build_24f89da5/.meteor/heroku_build /tmp/build_24f89da5/.meteor/heroku_build/bin /tmp/build_24f89da5/.meteor/heroku_build/lib
remote: + '[' -z https://staging.[redacted].com ']'
remote: + '[' -z https://staging.[redacted].com ']'
remote: + '[' -e /tmp/codon/tmp/cache/meteor/.meteor/meteor ']'
remote: + echo '-----> Installing meteor'
remote: -----> Installing meteor
remote: + HOME=/tmp/codon/tmp/cache/meteor
remote: + /bin/sh
remote: + curl -sS https://install.meteor.com/
remote: Downloading Meteor distribution
remote: 
remote: Meteor 2.11.0 has been installed in your home directory (~/.meteor).
remote: 
remote: Now you need to do one of the following:
remote: 
remote:   (1) Add "$HOME/.meteor" to your path, or
remote:   (2) Run this command as root:
remote:         cp "/tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/2.11.0/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
remote: 
remote: Then to get started, take a look at 'meteor --help' or see the docs at
remote: docs.meteor.com.
remote: + cd /tmp/build_24f89da5
remote: ++ METEOR --version
remote: ++ ARGS=--version
remote: ++ HOME=/tmp/codon/tmp/cache/meteor
remote: ++ /tmp/codon/tmp/cache/meteor/.meteor/meteor --version
remote: + echo '-----> Target Meteor version: Meteor 1.2.1'
remote: -----> Target Meteor version: Meteor 1.2.1
remote: + echo '-----> Checking if this meteor version supports --server-only'
remote: -----> Checking if this meteor version supports --server-only
remote: + set +e
remote: ++ METEOR help build
remote: ++ grep -e --server-only
remote: ++ ARGS='help build'
remote: ++ HOME=/tmp/codon/tmp/cache/meteor
remote: ++ /tmp/codon/tmp/cache/meteor/.meteor/meteor help build
remote: + HAS_SERVER_ONLY=
remote: + set -e
remote: + '[' -n '' ']'
remote: + SERVER_ONLY_FLAG=
remote: + '[' -z '' ']'
remote: + echo '-----> Attempting to remove android platform.'
remote: -----> Attempting to remove android platform.
remote: + METEOR remove-platform android
remote: + ARGS='remove-platform android'
remote: + HOME=/tmp/codon/tmp/cache/meteor
remote: + /tmp/codon/tmp/cache/meteor/.meteor/meteor remove-platform android
remote: 
remote: 
remote: While removing platforms:
remote: error: android: platform is not in this project
remote: 
remote: + true
remote: + echo '-----> Moving on.'
remote: -----> Moving on.
remote: ++ METEOR node -e 'process.stdout.write(process.execPath)'
remote: ++ ARGS='node -e process.stdout.write(process.execPath)'
remote: ++ HOME=/tmp/codon/tmp/cache/meteor
remote: ++ /tmp/codon/tmp/cache/meteor/.meteor/meteor node -e 'process.stdout.write(process.execPath)'
remote: + METEOR_NODE=/tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
remote: ++ dirname /tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
remote: + METEOR_NPM=/tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
remote: + '[' -z /tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm ']'
remote: + '[' -z /tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node ']'
remote: + NODE=/tmp/build_24f89da5/.meteor/heroku_build/bin/node
remote: + cp /tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node /tmp/build_24f89da5/.meteor/heroku_build/bin/node
remote: + chmod a+x /tmp/build_24f89da5/.meteor/heroku_build/bin/node
remote: ++ dirname /tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
remote: + PATH=/tmp/codon/tmp/cache/meteor/.meteor:/tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin:/tmp/build_24f89da5/.meteor/heroku_build/bin:/usr/local/bin:/usr/bin:/bin
remote: ++ /tmp/build_24f89da5/.meteor/heroku_build/bin/node --version
remote: + echo '-----> Using node: v0.10.40'
remote: -----> Using node: v0.10.40
remote: ++ /tmp/codon/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.1.10.1dqp0mn.bwo9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm --version
remote: + echo '----->    and npm: 1.4.28'
remote: ----->    and npm: 1.4.28
remote: + '[' -e /tmp/build_24f89da5/package.json ']'
remote: + '[' -n '' ']'
remote: + echo '-----> Building Meteor app with ROOT_URL: https://staging.[redacted].com'
remote: -----> Building Meteor app with ROOT_URL: https://staging.[redacted].com
remote: ++ mktemp -d /tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/build-XXXX
remote: + BUNDLE_DEST=/tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/build-PxVR
remote: + METEOR build --server https://staging.[redacted].com --directory /tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/build-PxVR
remote: + ARGS='build --server https://staging.[redacted].com --directory /tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/build-PxVR'
remote: + HOME=/tmp/codon/tmp/cache/meteor
remote: + /tmp/codon/tmp/cache/meteor/.meteor/meteor build --server https://staging.[redacted].com --directory /tmp/codon/tmp/buildpacks/6ec9c0780a117563073653c76abfcce030bc86ec/build-PxVR
remote: => Errors while initializing project:
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading alanning:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading aldeed:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading aldeed:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading aldeed:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading aldeed:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading aldeed:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]_1...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading cfs:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading fortawesome:[email protected]_1...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading iron:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading jparker:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading jparker:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading kenken:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading kenken:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading kenken:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading kenken:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading kenken:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading mdg:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]_2...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]_1...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading percolate:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading raix:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading raix:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading sergeyt:[email protected]_7...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading tmeasday:[email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote: While downloading [email protected]...:
remote: error: CERT_HAS_EXPIRED
remote: 
remote:  !     Push rejected, failed to compile Node.js app.
remote: 
remote:  !     Push failed
remote:  !
remote:  ! ## Warning - The same version of this code has already been built: cfb1747d388f7355ca13a4cdecc664a4c2e5b11e
remote:  !
remote:  ! We have detected that you have triggered a build from source code with version cfb1747d388f7355ca13a4cdecc664a4c2e5b11e
remote:  ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote:  !
remote:  ! If you are developing on a branch and deploying via git you must run:
remote:  !
remote:  !     git push heroku <branchname>:main
remote:  !
remote:  ! This article goes into details on the behavior:
remote:  !   https://devcenter.heroku.com/articles/duplicate-build-version
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to [redacted].
remote: 
部署目标

Heroku

heroku meteor
© www.soinside.com 2019 - 2024. All rights reserved.