안녕하세요, 이건 당연히 알아야 할 내용인데도 불구하고 제가 너무 바보 같아서 부끄럽습니다. AWS t2.medium 인스턴스에서 Ubuntu 18.04 AMI를 실행 중인데, 초보자용 Docker 설치가 작동하지 않습니다.
./discourse-setup를 실행할 때마다 계속 발생하는 오류는 다음과 같습니다.
Status: Downloaded newer image for discourse/base:2.0.20200220-2221
app was not started !
./discourse-doctor may help diagnose the problem.
Found 4GB of memory and 2 physical CPU cores
setting db_shared_buffers = 1024MB
setting UNICORN_WORKERS = 4
containers/app.yml memory parameters updated.
Hostname for your Discourse? [discourse.example.com]: discuss.postera.ai
Checking your domain name . . .
WARNING:: This server does not appear to be accessible at discuss.postera.ai:443.
A connection to http://discuss.postera.ai (port 80) also fails.
This suggests that discuss.postera.ai resolves to the wrong IP address
or that traffic is not being routed to your server.
Google: "open ports YOUR CLOUD SERVICE" for information for resolving this problem.
문제가 app was not started 때문인지, 아니면 서버에 접근할 수 없기 때문인지 확실하지 않습니다.
포트 80과 443을 모든 트래픽에 대해 개방했으며, 공용 IPv4를 가리키는 A 레코드를 추가했습니다. 로컬 머신에서 dig와 host를 실행해 보니 이 DNS 매핑은 정상적으로 작동하는 것 같습니다.
인스턴스는 VPC의 공용 서브넷에 있습니다. 로드 밸런서 뒤에서 실행하지 않고 있습니다(더 이상 로드 밸런서를 사용하지 않습니다. 로드 밸런서를 설정하는 데 실패했고, nginx 문제인 것 같아서…).
도움 주셔서 감사합니다
