성공. 이제 다음 명령을 사용하여 데이터베이스 서버를 시작할 수 있습니다:
pg_ctlcluster 13 main start
invoke-rc.d: 현재 runlevel을 결정할 수 없습니다
invoke-rc.d: policy-rc.d가 start 실행을 거부했습니다.
postgresql-13-pgvector (0.8.0-1.pgdg120+1) 설정 중 ...
libc-bin (2.36-9+deb12u9) 트리거 처리 중 ...
postgresql-common (267.pgdg120+1) 트리거 처리 중 ...
설치된 myspell/hunspell 패키지로 PostgreSQL 사전 빌드 중...
오래된 사전 파일 제거 중:
PostgreSQL 13 데이터베이스 서버 중지: main.
PostgreSQL 15 데이터베이스 서버 중지: main.
일관성 검사 수행 중
-----------------------------
클러스터 버전 확인 ok
소스 클러스터가 깔끔하게 종료되지 않았습니다.
실패, 종료 중
-------------------------------------------------------------------------------------
POSTGRES 업그레이드 실패
지원이 필요하면 https://meta.discourse.org/t/postgresql-15-update/349515 을(를) 방문하세요.
그동안 ./launcher start app을 실행하여 앱을 다시 시작할 수 있습니다
-------------------------------------------------------------------------------------
실패(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
실패, 반환 코드 #<Process::Status: pid 17 exit 1>
실패 위치: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
파라미터 {"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가 종료 코드 1로 실패
** BOOTSTRAP 실패 ** 위로 스크롤하여 이전 오류 메시지를 확인하세요. 오류가 여러 개일 수 있습니다.
./discourse-doctor가 문제를 진단하는 데 도움이 될 수 있습니다.
cbebd339ee3bd1e246300784f7825042702c1b5032877bfe580cb7f635fb852b
디스크 정보:
========================================
Discourse 3.4.0.beta3
mydomian의 Discourse 버전: Discourse 3.4.0.beta3
localhost의 Discourse 버전: Discourse 3.4.0.beta3
==================== 메모리 정보 ====================
RAM (MB): 2055
total used free shared buff/cache available
Mem: 1960 1463 100 43 396 255
Swap: 2047 66 1981
==================== 디스크 공간 확인 ====================
---------- OS 디스크 공간 ----------
Filesystem Size Used Avail Use% Mounted on
/dev/root 59G 45G 14G 77% /
---------- 컨테이너 디스크 공간 ----------
Filesystem Size Used Avail Use% Mounted on
overlay 59G 45G 14G 77% /
/dev/root 59G 45G 14G 77% /shared
/dev/root 59G 45G 14G 77% /var/log
==================== 디스크 정보 ====================
Disk /dev/loop0: 110.24 MiB, 115593216 bytes, 225768 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: 73.91 MiB, 77479936 bytes, 151328 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: 103.102 MiB, 109043712 bytes, 212976 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/loop4: 73.89 MiB, 77459456 bytes, 151288 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/loop5: 55.68 MiB, 58363904 bytes, 113992 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/loop6: 63.71 MiB, 66789376 bytes, 130448 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/loop7: 63.10 MiB, 67080192 bytes, 131016 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/xvda: 60 GiB, 64424509440 bytes, 125829120 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
Disklabel type: dos
Disk identifier: 0x15e6b846
Device Boot Start End Sectors Size Id Type
/dev/xvda1 * 2048 125829086 125827039 60G 83 Linux
Disk /dev/loop8: 26.33 MiB, 27602944 bytes, 53912 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/loop9: 110.4 MiB, 115384320 bytes, 225360 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/loop10: 55.37 MiB, 58052608 bytes, 113384 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/loop11: 104.2 MiB, 109252608 bytes, 213384 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/loop13: 25.76 MiB, 26992640 bytes, 52720 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
==================== 디스크 정보 종료 ====================
재빌드 중 이 문제를 만나면 Docker를 먼저 업그레이드해야 한다는 뜻인가요?
현재 3.4.0.beta3-dev(93983286b5)를 사용 중입니다
업데이트: 다시 재빌드했는데, 이번에는 성공적으로 완료되었습니다.