도움! 업그레이드가 계속 실패합니다
최근 Google Cloud Console에서 서버를 업그레이드했습니다. 이것이 관련이 있는지 확실하지는 않지만, 그 이후로 502 오류가 많이 발생하고 있습니다. 공식 테마 컴포넌트나 테마와 같은 업데이트가 가끔만 성공하는 것 같고, 때로는 약 30초 후에 502 오류가 반환됩니다.
안전 모드(safe mode)를 사용하면 대부분의 경우 작동하지만, 항상 그런 것은 아닙니다.
Docker를 업데이트한 후, SSH를 통해 다시 빌드해야 한다는 메시지를 받았습니다.
그 후로 계속 실패하며 이미지 백업으로 되돌려야 하는 상황이 반복되고 있습니다 →
…..
oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
129:C 22 Mar 2023 13:00:10.162 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=129, just started
129:C 22 Mar 2023 13:00:10.162 # Configuration loaded
129:M 22 Mar 2023 13:00:10.162 * monotonic clock: POSIX clock_gettime
129:M 22 Mar 2023 13:00:10.163 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
129:M 22 Mar 2023 13:00:10.163 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (32972/32972), done.
I, [2023-03-22T13:00:11.909015 #1] INFO -- : HEAD is now at 59e548540 Build(deps): Bump sass from 1.58.3 to 1.59.2 in /app/assets/javascripts (#20656)
I, [2023-03-22T13:00:11.909217 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-03-22T13:00:12.001100 #1] INFO -- :
I, [2023-03-22T13:00:12.001244 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
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 --prune --prune-tags origin tests-passed
fi
[[[[[…. 여기서 타임아웃 발생 -> 오류와 함께 종료 ]]]]]
fatal: unable to access 'https://github.com/discourse/discourse.git/': gnutls_handshake() failed: Error in the pull function.
I, [2023-03-20T10:54:29.239940 #1] INFO -- :
I, [2023-03-20T10:54:29.240283 #1] INFO -- : Terminating async processes
I, [2023-03-20T10:54:29.240310 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 41
I, [2023-03-20T10:54:29.240342 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 102
2023-03-20 10:54:29.240 UTC [41] LOG: received fast shutdown request
2023-03-20 10:54:29.242 UTC [41] LOG: aborting any active transactions
2023-03-20 10:54:29.244 UTC [41] LOG: background worker "logical replication launcher" (PID 50) exited with exit code 1
2023-03-20 10:54:29.245 UTC [45] LOG: shutting down
2023-03-20 10:54:29.268 UTC [41] LOG: database system is shut down