포럼 재구축 시 LetsEncrypt 오류 발생

이 오류를 확인해 주세요:

I, [2025-04-14T12:47:09.997719 #1]  INFO -- : > if [ -z "$LETSENCRYPT_ACCOUNT_EMAIL" ]; then echo "LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set."; exit 1; fi
I, [2025-04-14T12:47:10.004236 #1]  INFO -- : LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set.

I, [2025-04-14T12:47:10.232706 #1]  INFO -- : Terminating async processes
I, [2025-04-14T12:47:10.237265 #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/15/bin/postmaster -D /etc/postgresql/15/main pid: 43
2025-04-14 12:47:10.238 UTC [43] LOG:  received fast shutdown request
I, [2025-04-14T12:47:10.239346 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 110
110:signal-handler (1744634830) Received SIGTERM scheduling shutdown...
2025-04-14 12:47:10.246 UTC [43] LOG:  aborting any active transactions
110:M 14 Apr 2025 12:47:10.469 # User requested shutdown...
110:M 14 Apr 2025 12:47:10.470 * Saving the final RDB snapshot before exiting.
2025-04-14 12:47:10.477 UTC [43] LOG:  background worker "logical replication launcher" (PID 57) exited with exit code 1
2025-04-14 12:47:10.491 UTC [52] LOG:  shutting down
2025-04-14 12:47:10.495 UTC [52] LOG:  checkpoint starting: shutdown immediate
2025-04-14 12:47:11.995 UTC [52] LOG:  checkpoint complete: wrote 220 buffers (1.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.475 s, sync=0.006 s, total=1.502 s; sync files=11, longest=0.004 s, average=0.001 s; distance=1706 kB, estimate=1706 kB
2025-04-14 12:47:12.475 UTC [43] LOG:  database system is shut down
110:M 14 Apr 2025 12:47:12.492 * DB saved on disk
110:M 14 Apr 2025 12:47:12.493 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: if [ -z "$LETSENCRYPT_ACCOUNT_EMAIL" ]; then echo "LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set."; exit 1; fi failed with return #<Process::Status: pid 2923 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cmd"=>["if [ -z \"$LETSENCRYPT_ACCOUNT_EMAIL\" ]; then echo \"LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set.\"; exit 1; fi", "/bin/bash -c \"if [[ ! \\\"$LETSENCRYPT_ACCOUNT_EMAIL\\\" =~ ([^@]+)@([^\\.]+) ]]; then echo \\\"LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address\\\"; exit 1; fi\""]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
9a7cc1d7e6fbf0611632c1a8ffd0355718fd76510460435570375f22f1566651

불행히도 터미널에서 스크롤이 되지 않는 것 같아서(예전에는 가능했는데) 이 위쪽에 아무것도 게시할 수 없습니다.

제 app.yml:

보시다시피, 저는 LetsEncrypt 계정 이메일을 주석 처리했습니다. 사용하지 않기 때문이죠(제 생각에는 도메인 제공업체가 도메인에 https와 함께 도메인 보호를 이미 적용해 주는 것 같습니다). 그런데 왜 이런 문제가 발생하는 걸까요?

이것은 새로운 설정인가요, 아니면 기존 설정에서 문제가 발생하고 있나요?

SSL이 필요하지 않다면, app.yml 템플릿(대부분 상단에 위치합니다)에서 자동 SSL 프로비저닝을 비활성화해야 합니다. 아래처럼 해당 줄을 주석 처리할 수 있습니다.

#  - "templates/web.ssl.template.yml"
#  - "templates/web.letsencrypt.ssl.template.yml"

기존 설정입니다.

한번 시도해 보고 결과를 알려드리겠습니다.

감사합니다!

안녕하세요 @nat, 지금 이 오류가 발생합니다:

이미지로 대신 죄송합니다. 터미널에서 스크롤을 할 수 없어서 스크린샷이 최선의 방법이었어요.

echo "set -g mouse on" >> ~/.tmux.conf를 시도해 볼 수 있습니다. 하지만 스크롤 및 복사/붙여넣기 방법은 여러 가지가 있으므로 구글 검색이 가장 좋은 방법입니다. man tmux를 실행하면 힌트를 얻을 수도 있지만, 솔직히 한 번도 시도해 본 적이 없습니다.

에러를 찾을 수 없습니다.倒数第二行은 컨테이너의 ID처럼 보이는데, 이는 컨테이너가 성공적으로 시작되었을 때 일반적으로 반환되는 값입니다.

음… 이상하네. 그런데 웹사이트조차 로드가 안 돼.