'bundle exec rails c' 실행 시 Postgres 연결 오류

다음 명령을 사용하여 서버에서 Rails 콘솔에 접근합니다:

cd /var/discourse
./launcher enter app
rails c

이 주제에서 사이트 설정을 변경하는 예시를 볼 수 있습니다: Enable setting to allow admins to permanently delete data (이 설정은 숨겨진 설정이지만, 방법은 동일합니다)