アップグレードに失敗しました

2023-01-04 20:48:05.355 UTC [41] LOG:  PostgreSQL 13.9 (Debian 13.9-1.pgdg110+1) を x86_64-pc-linux-gnu 上で起動しています。gcc (Debian 10.2.1-6) 10.2.1 20210110 でコンパイル済み、64-bit です。
2023-01-04 20:48:05.377 UTC [41] LOG:  IPv4 アドレス "0.0.0.0"、ポート 5432 でリッスンしています。
2023-01-04 20:48:05.377 UTC [41] LOG:  IPv6 アドレス "::"、ポート 5432 でリッスンしています。
2023-01-04 20:48:05.566 UTC [41] LOG:  Unix ソケット "/var/run/postgresql/.s.PGSQL.5432" でリッスンしています。
2023-01-04 20:48:05.734 UTC [44] LOG:  データベースシステムは 2023-01-04 20:46:17 UTC にシャットダウンされました。
2023-01-04 20:48:05.878 UTC [41] LOG:  データベースシステムは接続を受け入れられる状態になりました。
I, [2023-01-04T20:48:09.779985 #1]  INFO -- :
I, [2023-01-04T20:48:09.780390 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2023-01-04 20:48:10.014 UTC [54] postgres@postgres ERROR:  データベース "discourse" は既に存在します。
2023-01-04 20:48:10.014 UTC [54] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2023-01-04T20:48:10.017003 #1]  INFO -- :
I, [2023-01-04T20:48:10.017425 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-01-04 20:48:10.188 UTC [58] postgres@discourse ERROR:  ロール "discourse" は既に存在します。
2023-01-04 20:48:10.188 UTC [58] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
129:M 04 Jan 2023 20:48:21.224 # ポート 6379 (TCP) でのリッスンに失敗しました。中止します。

他にエラーは見当たりません。

:man_shrugging: