Createdb: エラー: データベースの作成に失敗しました: エラー: データベース "discourse" は既に存在します

返信ありがとうございます、ジェイ
ログ全体でエラー行を検索しましたが、おそらく原因は次のとおりです。

2023-06-08 01:19:04.972 UTC [55] postgres@template1 ERROR:  database "discourse" already exists
2023-06-08 01:19:04.972 UTC [55] postgres@template1 STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2023-06-08T01:19:04.977485 #1]  INFO -- : 
I, [2023-06-08T01:19:04.978414 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-06-08 01:19:05.654 UTC [59] postgres@discourse ERROR:  role "discourse" already exists
2023-06-08 01:19:05.654 UTC [59] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists

これはサーバーへの最初のインストールですが、whitewaterdeu による My server can access github, but docker can’t - #2 のような他のエラーで何度もアプリを再構築しました。

いつデータベースを作成したのか、そしてそれをどのように修正すればよいのかわかりません。