لا توجد معلومات مطلوبة عند التثبيت

لقد بحثت عن هذه المشكلة ولكن لم أستطع العثور عليها. عند التثبيت، لا يطرح أي أسئلة على الإطلاق، بل يحاول فقط التثبيت باستخدام جميع المعلومات الافتراضية.

عندما أكتب الأمر sudo ./discourse-setup

أحصل على ما يلي:

Saving old file as app.yml.2021-08-02-184826.bak
Stopping existing container in 5 seconds or Control-C to cancel.
+ /usr/bin/docker stop -t 30 app
app

Found 3GB of memory and 2 physical CPU cores
setting db_shared_buffers = 768MB
setting UNICORN_WORKERS = 4
containers/app.yml memory parameters updated.


Checking your domain name . . .
WARNING: Port 443 of computer does not appear to be accessible using hostname:  discourse.example.com.
WARNING: Connection to http://discourse.example.com (port 80) also fails.

This suggests that discourse.example.com resolves to some IP address that does not reach this 
machine where you are installing discourse.

The first thing to do is confirm that discourse.example.com resolves to the IP address of this server.
You usually do this at the same place you purchased the domain.

If you are sure that the IP address resolves correctly, it could be a firewall issue.
A web search for "open ports YOUR CLOUD SERVICE" might help.

This tool is designed only for the most standard installations. If you cannot resolve
the issue above, you will need to edit containers/app.yml yourself and then type

./launcher rebuild app

لم يطلب مني أبدًا إدخال اسم النطاق الخاص بي أو أي معلومات أخرى.

جرب هذا:

sudo su
rm containers/app.yml
./discourse-setup

نفس النتيجة. يجب أن يكون المنشور 20 حرفًا.

لا أستطيع أن أتخيل كيف يمكن أن يحدث ذلك، خاصة إذا قمت بحذف ملف app.yml الموجود. ربما تضغط على مفتاح الإدخال قبل أن يطلب منك اسم المضيف؟

هل هناك أي شيء آخر في containers/؟ ربما ملف web_only.yml؟

هناك ملف يسمى .gitkeep، ولكن عند فتحه، يكون فارغًا.

لا أستطيع فهم كيف يمكن أن يحدث هذا، خاصة إذا كنت الشخص الوحيد الذي يواجه هذه المشكلة.

أنت تتبع التثبيت القياسي الرسمي لـ Discourse، أليس كذلك؟

وهناك لا توجد ملفات yml في /var/discourse/containers ومع ذلك لا تزال تحصل على

سأحاول إجراء تثبيت نظيف اليوم، لكنني مشغول جدًا.

لا، لكنه فعل الشيء نفسه - فقط واصل محاولة التثبيت دون أن يطرح عليّ أي أسئلة على الإطلاق.

لقد قمت بتشغيله للتو على سطح المكتب الخاص بي. لا أستطيع تكرار المشكلة. إليك ما أراه:

root@shinytim:/var/discourse# ./discourse-setup 
Ports 80 and 443 are free for use
'samples/standalone.yml' -> 'containers/app.yml'
Found 33GB of memory and 8 physical CPU cores
setting db_shared_buffers = 4096MB
setting UNICORN_WORKERS = 8
containers/app.yml memory parameters updated.

Hostname for your Discourse? [discourse.example.com]: 

ما نظام التشغيل الذي تستخدمه؟