f.example.LTD の Discourse バージョン: 見つかりません

こんにちは

ディスコースを何度もインストールしました。時には一日に数回インストールすることもあります。

今回は、f.example.LTD にディスコースをインストールしました。

サーバーは Public Cloud: Cloud solutions and on-demand resources | OVHcloud Worldwide を使用しました。

DNSはCloudflare(DNSのみで、 ./discourse-setup は私の DISCOURSE_HOSTNAME を検出します)です。

エラー

f.example.LTD のディスコースのバージョン: 見つかりません
localhost のディスコースのバージョン: 見つかりません

これは、IPアドレスを維持したままUbuntuシステムを再インストールして、ディスコースをクリーンな状態から開始したときに発生しました。

./discourse-doctor

time ./discourse-doctor
DISCOURSE DOCTOR Tue Feb 6 06:08:06 UTC 2024
OS: Linux discourse–c3-4-de1 6.2.0-37-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 30 21:04:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=f.example.LTD
SMTP_ADDRESS=smtp.eu.mailgun.org
DEVELOPER_EMAILS=i@example.LTD
SMTP_PASSWORD=***
SMTP_PORT=587
SMTP_USER_NAME=i@mg.example.LTD
LETSENCRYPT_ACCOUNT_EMAIL=ssl@example.LTD

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 24.0.5, build 24.0.5-0ubuntu1~23.04.1

DOCKER PROCESSES (docker ps -a)

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8f64a8154b21 local_discourse/app “/sbin/boot” 15 minutes ago Up 15 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app

8f64a8154b21 local_discourse/app “/sbin/boot” 15 minutes ago Up 15 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app

Discourse container app is running

==================== PLUGINS ====================
- git clone GitHub - discourse/docker_manager: Plugin for use with discourse docker image

No non-official plugins detected.

See discourse/lib/plugin/metadata.rb at main · discourse/discourse · GitHub for the official list.

========================================
Discourse version at f.example.LTD: NOT FOUND

Discourse version at localhost: NOT FOUND

==================== MEMORY INFORMATION ====================
RAM (MB): 3996

          total        used        free      shared  buff/cache   available

Mem: 3811 1501 217 50 2453 2310
Swap: 0 0 0

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 49G 11G 38G 22% /

==================== DISK INFORMATION ====================
Disk /dev/loop0: 73.9 MiB, 77492224 bytes, 151352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 40.86 MiB, 42840064 bytes, 83672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 152.06 MiB, 159444992 bytes, 311416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 74.11 MiB, 77713408 bytes, 151784 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E232CD77-D3F6-45AA-9A19-E6C002533B04

Device Start End Sectors Size Type
/dev/sda1 227328 104857566 104630239 49.9G Linux filesystem
/dev/sda14 2048 10239 8192 4M BIOS boot
/dev/sda15 10240 227327 217088 106M EFI System

Partition table entries are not in disk order.

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? (‘n’ to skip) [i@example.LTD]: Sending mail to i@example.LTD. . .
Testing sending to i@example.LTD using smtp.eu.mailgun.org:587, username:i@mg.example.LTD with plain auth.
SMTP server connection successful.
Sending to i@example.LTD. . .
Mail accepted by SMTP server.
Message-ID: a8ae3b5c-98d8-4bf1-8264-40b730bf4ec1@f.example.LTD

If you do not receive the message, check your SPAM folder
or test again using a service like http://www.mail-tester.com/.

If the message is not delivered it is not a problem with Discourse.
Check the SMTP server logs for the above Message ID to see why it
failed to deliver the message.
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to

==================== DONE! ====================
Would you like to serve a publicly available version of this file? (Y/n) n
Publicly available log not generated.

You can examine the output of this script with
LESS=-Ri less /tmp/discourse-debug.txt

BUT FIRST, make sure that you know the first three commands below!!!

Commands to know when viewing the file with the above command (called ‘less’):
q – quit
/error – search for the word ‘error’
n – search for the next occurrence
g – go to the beginning of the file
f – go forward a page
b – go back a page
G – go to the end of the file

real 3m3.391s
user 0m0.251s
sys 0m0.179s

テストとして、同じサーバーとIPにディスコースをインストールし、別のサブドメインに向けたところ、うまくいきました。

その後、ドメイン名を変更しましたが、エラーに戻ってしまいました。

f.example.LTD のディスコースのバージョン: 見つかりません

現在、私のサイト f.example.LTD はダウンしており、デバッグ方法がわかりません。

事前に多くの感謝を申し上げます。

Ali

f.example.LTD は現在のサーバーに解決され、再構築しましたか?

Let’s Encrypt のレート制限に達するほど、多くの再構築を行いましたか?