업데이트 실패

안녕하세요,

앱 재빌드 중 실패가 발생하고 있습니다.

Get:15 https://apt.postgresql.org/pub/repos/apt bookworm-pgdg/main amd64 Packages [361 kB]
Fetched 10.2 MB in 3s (3,813 kB/s)
Reading package lists...Reading package lists...Stopping PostgreSQL 15 database server: main.

check for "/usr/lib/postgresql/13/bin" failed: No such file or directory

Failure, exiting
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES FAILED

Please visit https://meta.discourse.org/t/postgresql-15-update/349515 for support.

You can run ./launcher start app to restart your app in the meanwhile
-------------------------------------------------------------------------------------



FAILED
--------------------
Pups::ExecError: 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 already running stop container ; exit 1
fi
 failed with return #<Process::Status: pid 18 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"tag"=>"db", "cmd"=>"if [ -f /root/install_postgres ]; then\n  /root/install_postgres && rm -f /root/install_postgres\nelif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then\n  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1\nfi\n"}
bootstrap failed with exit code 1

제공된 링크 https://meta.discourse.org/t/postgresql-15-update/349515에 따라 수동 업데이트 절차를 실행해도 실패합니다. 앱에 진입하여 apt-get update만 실행해도 실패하며, 이는 이 이슈(Debian install fails on Bookworm in FIPS mode · Issue #1096 · docker/docker-ce-packaging · GitHub)와 동일한 오류 메시지를 유발합니다.

실제로 제 시스템은 FIPS 모드로 설정되어 있으며, libgcrypt만 업데이트를 시도해도 위의 GitHub 이슈와 동일한 오류 메시지가 발생합니다.

어떻게 진행해야 할지 아이디어가 있으신 분 계신가요?

감사합니다!

-Steve

운영 체제가 수명 종료(EOL)되었나요?

어떤 버전의 Docker를 사용 중인가요?

./launcher start app 또는 docker start app 명령으로 기존 컨테이너를 시작할 수 있나요? 가능하다면, 백업을 만든 후 새 VM을 설정하고 Discourse를 설치한 뒤 해당 백업을 복원하는 것을 권장합니다.

완전한 로그 출력을 제공해 주시겠습니까?

이 오류의 원인이 된, 우리가 놓쳤을 수 있는 이전의 실패가 더 있을 수 있습니다.

설정 환경에 대한 추가 정보도 도움이 될 것입니다:

  • 호스트에 설치된 운영체제는 무엇인가요?
  • 어떤 구성을 사용하고 계신가요 (예: 스탠드얼론)?

이 부분에 이의가 없습니다. 1단계는 항상 "백업 만들기"여야 합니다.

예:

  • Discourse 백업 생성
  • 컨테이너 종료
  • postgres 데이터를 다른 곳으로 이동
  • 재빌드 수행
  • 백업 복원

하지만 먼저 무엇을 다루고 있는지 알아야 합니다.