こんにちは。これは当然のことなのに、自分がとても愚かだと感じています。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 の問題だと思っていたためやめました)。
ご助力をお願いいたします。
