在尝试重建/引导时,我遇到了以下奇怪的错误:
I, [2024-07-01T01:51:27.741415 #1] INFO -- : cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34557/34557), done.
I, [2024-07-01T01:51:30.764498 #1] INFO -- : HEAD is now at cada17298 FIX: Do not capture OAuth user on 2FA page (#27617)
I, [2024-07-01T01:51:30.764638 #1] INFO -- : cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-07-01T01:51:30.915386 #1] INFO -- :
I, [2024-07-01T01:51:30.915510 #1] INFO -- : cd /var/www/discourse && sudo -H -E -u discourse bash -c '
set -o errexit
if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
git remote set-branches --add origin main
git remote set-branches origin tests-passed
git fetch --depth 1 origin tests-passed
else
git fetch --tags --prune-tags --prune --force origin
fi
'
fatal: unable to access 'https://github.com/discourse/discourse.git/': Could not resolve host: github.com
有 ARM64 上的其他人遇到过这个问题吗?
我尝试了 x86,工作正常。现在是凌晨 4 点,所以我想找人确认一下。