안녕하세요!
보통은 조용히 지켜보며 답변을 찾는 편인데, 이번에는 정말 막혀서 처음으로 공식적인 글을 올립니다. 최근 SSH를 통해 Discourse를 업데이트한 후, 포럼이 인터넷에 연결되고 호스트를 해결하지 못하는 문제가 생겼습니다. PostgreSQL 관련해서도 정확히 이해하지 못하는 문제가 있는데, PostgreSQL 12 update 게시물의 FAQ에 나와 있는 “not shut down cleanly”(깨끗하게 종료되지 않음) 메시지를 받고 있습니다.
또한 앱 시작과 권장 사항을 따르는 실행을 방해하는 Docker(일부러?) 관련 문제도 있습니다.
PostgreSQL에서 발생하는 오류는 다음과 같습니다.
The source cluster was not shut down cleanly.
Failure, exiting
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES FAILED
Please visit https://meta.discourse.org/t/postgresql-13-update/172563 for support.
You can run ./launcher start app to restart your app in the meanwhile
FAILED
--------------------
Pups::ExecError: /root/upgrade_postgres failed with return #<Process::Status: pid 47 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "/root/upgrade_postgres"
49554f9dc370e42c8989a7e23a8cb30fb06c5857aac7b8a95acb1a0cc21cefff
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
권장 사항대로 앱을 시작하려고 하면 다음과 같은 오류가 발생합니다.
Unable to find image 'local_discourse/app:latest' locally
docker: Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
이 문제를 해결하는 방법이 있을까요? 실행 중인 앱이 없으면 PostgreSQL을 고칠 수 없고, Docker/데몬/방화벽 문제를 어떻게 해결해야 할지 막막합니다.