업그레이드 후 오류 발생

안녕하세요

업그레이드 후 다음과 같은 오류가 발생했습니다. 웹페이지에서 502 Bad Gateway가 표시됩니다.

FAILED
--------------------
Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 1592 exit 2>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
d722c24aad0b29710de6b6b321113328db3ed1c2c09c0ac74e00f1eac41279f3
** 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.
==================== END REBUILD LOG ====================
Failed to rebuild app.

업그레이드 후에도 502 오류가 발생했습니다. 재구성을 두 번째로 실행한 후에 해결되었습니다.

./launcher rebuild app

안녕하세요

여러 번 다시 빌드해 보았지만 작동하지 않았습니다.

./launcher restart app 명령을 사용하여 이전 버전으로 되돌아갈 수 있습니다(한 번은 restart가 작동하지 않았을 때 ./launcher destroy app을 실행한 뒤 ./launcher start app을 실행하니 작동했습니다).

하지만 도움을 드리기 위해 해당 줄 아래에 보이는 모든 내용을 확인해야 합니다. 그러면 문제에 대해 더 많은 정보를 얻을 수 있을 것입니다.

@Steven 감사합니다! 이 스레드에서 시도했던 Postgres 업데이트 중에 무엇이 잘못되었는지 정리할 때까지 이걸로 인스턴스를 재시작했습니다.