PostgreSQL 更新在中国失败

非常感谢。让我返回到docker版本和postgres.template.yml

./launcher rebuild data
检测到x86_64架构。
确保启动器是最新的
启动器已是最新
停止旧容器
+ /usr/bin/docker stop -t 600 data
data
2.0.20250129-0720: 正在从docker-hub-china/discourse-base拉取
Digest: sha256:d798a945ca4d31c29e5d263cdaf807bafab9b5f6737be0b1b852bea0063a3b91
状态:镜像已是最新,来自 registry.cn-wulanchabu.aliyuncs.com/docker-hub-china/discourse-base:2.0.20250129-0720
registry.cn-wulanchabu.aliyuncs.com/docker-hub-china/discourse-base:2.0.20250129-0720
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
我,[2025-02-06T07:02:42.768651 #1]  信息 -- : 正在从标准输入读取
我,[2025-02-06T07:02:42.769907 #1]  信息 -- : 跳过缺失的 before_code hook
我,[2025-02-06T07:02:42.769923 #1]  信息 -- : 跳过缺失的 before_db_migrate hook
我,[2025-02-06T07:02:42.769933 #1]  信息 -- : 跳过缺失的 after_code hook
我,[2025-02-06T07:02:42.772767 #1]  信息 -- : 文件 > /etc/service/postgres/run  chmod: +x  chown: 
我,[2025-02-06T07:02:42.775230 #1]  信息 -- : 文件 > /etc/service/postgres/log/run  chmod: +x  chown: 
我,[2025-02-06T07:02:42.777690 #1]  信息 -- : 文件 > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
我,[2025-02-06T07:02:42.779645 #1]  信息 -- : 文件 > /root/install_postgres  chmod: +x  chown: 
我,[2025-02-06T07:02:42.781825 #1]  信息 -- : 文件 > /root/upgrade_postgres  chmod: +x  chown: 
我,[2025-02-06T07:02:42.781974 #1]  信息 -- : 替换 data_directory = '/var/lib/postgresql/15/main' 为 data_directory = '/shared/postgres_data',在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782261 #1]  信息 -- : 替换 (?-mix:#?listen_addresses *=.*) 为 listen_addresses = '*' 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782427 #1]  信息 -- : 替换 (?-mix:#?synchronous_commit *=.*) 为 synchronous_commit = $db_synchronous_commit 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782551 #1]  信息 -- : 替换 (?-mix:#?shared_buffers *=.*) 为 shared_buffers = $db_shared_buffers 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782661 #1]  信息 -- : 替换 (?-mix:#?work_mem *=.*) 为 work_mem = $db_work_mem 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782762 #1]  信息 -- : 替换 (?-mix:#?default_text_search_config *=.*) 为 default_text_search_config = '$db_default_text_search_config' 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782877 #1]  信息 -- : 替换 (?-mix:#?checkpoint_segments *=.*) 为 checkpoint_segments = $db_checkpoint_segments 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.782974 #1]  信息 -- : 替换 (?-mix:#?logging_collector *=.*) 为 logging_collector = $db_logging_collector 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.783076 #1]  信息 -- : 替换 (?-mix:#?log_min_duration_statement *=.*) 为 log_min_duration_statement = $db_log_min_duration_statement 在 /etc/postgresql/15/main/postgresql.conf
我,[2025-02-06T07:02:42.783180 #1]  信息 -- : 替换 (?-mix:#?local +replication +postgres +peer$) 为 local replication postgres  peer 在 /etc/postgresql/15/main/pg_hba.conf
我,[2025-02-06T07:02:42.783258 #1]  信息 -- : 替换 (?-mix:#?host.*all.*all.*127.*$) 为 host all all 0.0.0.0/0 md5 在 /etc/postgresql/15/main/pg_hba.conf
我,[2025-02-06T07:02:42.783334 #1]  信息 -- : 替换 (?-mix:#?host.*all.*all.*::1\/128.*$) 为 host all all ::/0 md5 在 /etc/postgresql/15/main/pg_hba.conf
我,[2025-02-06T07:02:42.783416 #1]  信息 -- : > if [ -f /root/install_postgres ]; then
  /root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres已在运行,停止容器;退出 1
fi

initdb: 警告: 为本地连接启用了"trust"认证
initdb: 提示: 你可以通过编辑 pg_hba.conf 或使用 -A 选项,或者 --auth-local 和 --auth-host,来更改此设置,下次运行 initdb 时生效。