여기서 해결책을 찾지 못했습니다. 호스트에서 IPv6를 비활성화했는데도 Discourse Docker가 계속 재시작됩니다.
앱을 다시 빌드했습니다.
— snip —
cd /var/discourse
./launcher rebuild app
— snip —
Docker 로그에 표시되는 내용은 다음과 같습니다. 프로토콜이 지원하지 않는 주소 패밀리(Address family not supported by protocol)인 것 같습니다.
---- snip —
인용문
[Sun 02 Apr 2023 06:46:23 PM UTC] Reload error for :
nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
run-parts: /etc/runit/1.d/letsencrypt exited with return code 1
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/letsencrypt
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
[Sun 02 Apr 2023 06:47:24 PM UTC] Domains not changed.
[Sun 02 Apr 2023 06:47:24 PM UTC] Skip, Next renewal time is: Tue 02 May 2023 11:52:23 PM UTC
[Sun 02 Apr 2023 06:47:24 PM UTC] Add ‘–force’ to force to renew.
[Sun 02 Apr 2023 06:47:24 PM UTC] Installing key to:/shared/ssl/<domain_removed>.key
[Sun 02 Apr 2023 06:47:24 PM UTC] Installing full chain to:/shared/ssl/<domain_removed>.cer
[Sun 02 Apr 2023 06:47:24 PM UTC] Run reload cmd: sv reload nginx
fail: nginx: runsv not running
[Sun 02 Apr 2023 06:47:24 PM UTC] Reload error for :
[Sun 02 Apr 2023 06:47:25 PM UTC] Domains not changed.
[Sun 02 Apr 2023 06:47:25 PM UTC] Skip, Next renewal time is: Tue 02 May 2023 11:52:26 PM UTC
[Sun 02 Apr 2023 06:47:25 PM UTC] Add ‘–force’ to force to renew.
[Sun 02 Apr 2023 06:47:25 PM UTC] Installing key to:/shared/ssl/<domain_removed>_ecc.key
[Sun 02 Apr 2023 06:47:25 PM UTC] Installing full chain to:/shared/ssl/<domain_removed>_ecc.cer
[Sun 02 Apr 2023 06:47:25 PM UTC] Run reload cmd: sv reload nginx
fail: nginx: runsv not running
[Sun 02 Apr 2023 06:47:25 PM UTC] Reload error for :
nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
run-parts: /etc/runit/1.d/letsencrypt exited with return code 1